# chennaione/sugar

Insanely easy way to work with Android Database.

Repository: https://github.com/chennaione/sugar
Canonical: https://ross.abutalabs.com/products/chennaione-sugar
Homepage: http://satyan.github.com/sugar/
Language: Java
License: MIT
License Family: permissive
Last push: 2021-09-02T12:51:46+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5500, "days_push": 1826, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2608, forks 569 (observed 2026-08-28T04:07:04.203680+00:00)

## What it is
Sugar ORM is a Java library that provides a simple, minimal-configuration ORM for SQLite databases on Android. It maps Java model classes to database tables automatically via reflection and supports schema migrations.

## Use cases
- persist android app data to sqlite without writing sql
- save and query java objects in an android database
- simple orm for android app models
- migrate android database schema between app versions
- replace raw sqliteopenhelper boilerplate in android apps

## When to choose
- you want a tiny, zero-configuration ORM for a small Android app
- you prefer active-record style models with save(), delete(), and find()
- you need automatic table naming and simple schema migrations

## When to avoid
- you need an actively maintained library with recent updates and support
- you need advanced ORM features like complex joins, reactive queries, or multi-platform support
- you are starting a new project - the README itself suggests alternatives like requery or Realm

## Facets
- artifact type: library
- maturity: maintenance
- function: orm, database
- domain: mobile-development, databases, android-tools
- platform: jvm
- tags: sqlite, android-orm, active-record, schema-migrations, android, mobile

## Member repositories
- chennaione/sugar (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:04.203680+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:20:55.278988+00:00, confidence not recorded.
  - readme: https://github.com/chennaione/sugar (fetched 2026-08-28T04:07:04.203680+00:00, sha 228070aa6622)
- Data as of 2026-08-30T08:39:29.467469+00:00.
