Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
â—‹CITATION.cff file
-
â—‹codemeta.json file
-
â—‹.zenodo.json file
-
â—‹DOI references
-
â—‹Academic publication links
-
✓Committers with academic emails
1 of 17 committers (5.9%) from academic institutions -
â—‹Institutional organization owner
-
â—‹JOSS paper metadata
-
â—‹Scientific vocabulary similarity
Low similarity (12.0%) to scientific vocabulary
Keywords from Contributors
Repository
An async ORM. 🗃
Basic Info
- Host: GitHub
- Owner: encode
- License: bsd-3-clause
- Language: Python
- Default Branch: master
- Homepage: https://www.encode.io/orm
- Size: 496 KB
Statistics
- Stars: 1,793
- Watchers: 41
- Forks: 99
- Open Issues: 21
- Releases: 0
Metadata Files
README.md
ORM
The orm package is an async ORM for Python, with support for Postgres,
MySQL, and SQLite. ORM is built with:
- SQLAlchemy core for query building.
databasesfor cross-database async support.typesystemfor data validation.
Because ORM is built on SQLAlchemy core, you can use Alembic to provide database migrations.
Documentation: https://www.encode.io/orm
Installation
shell
$ pip install orm
You can install the required database drivers with:
shell
$ pip install orm[postgresql]
$ pip install orm[mysql]
$ pip install orm[sqlite]
Driver support is provided using one of asyncpg, aiomysql, or aiosqlite.
Quickstart
Note: Use ipython to try this from the console, since it supports await.
```python import databases import orm
database = databases.Database("sqlite:///db.sqlite") models = orm.ModelRegistry(database=database)
class Note(orm.Model): tablename = "notes" registry = models fields = { "id": orm.Integer(primarykey=True), "text": orm.String(maxlength=100), "completed": orm.Boolean(default=False), }
Create the tables
await models.create_all()
await Note.objects.create(text="Buy the groceries.", completed=False)
note = await Note.objects.get(id=1) print(note)
Note(id=1)
```
— 🗃 —
ORM is BSD licensed code. Designed & built in Brighton, England.
Owner
- Name: Encode
- Login: encode
- Kind: organization
- Website: http://www.encode.io/
- Repositories: 20
- Profile: https://github.com/encode
Collaboratively funded software development.
GitHub Events
Total
- Watch event: 34
- Fork event: 3
Last Year
- Watch event: 34
- Fork event: 3
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Tom Christie | t****m@t****m | 40 |
| Amin Alaee | m****e@g****m | 34 |
| florimondmanca | f****a@g****m | 7 |
| Kirt Gittens | k****s@y****m | 6 |
| Emad Mokhtar | e****r@v****l | 2 |
| Konstantin Chernyshkov | x****e@g****m | 2 |
| Mng | 5****i | 2 |
| Ray Zane | r****e@g****m | 2 |
| thiagovarela | t****a@g****m | 2 |
| Darrel O'Pry | d****y | 1 |
| AndTheDaysGoBy | a****3@w****u | 1 |
| EmilioCarrion | 5****n | 1 |
| FoxMaSk | f****k | 1 |
| GDWR | 5****R | 1 |
| Jeff Astor | s****s@g****m | 1 |
| Tim Gates | t****s@i****m | 1 |
| lynskylate | l****e@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 43
- Total pull requests: 59
- Average time to close issues: about 1 year
- Average time to close pull requests: 7 months
- Total issue authors: 31
- Total pull request authors: 22
- Average comments per issue: 3.07
- Average comments per pull request: 0.98
- Merged pull requests: 41
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- aminalaee (5)
- tomchristie (4)
- malikoth (3)
- foxmask (3)
- dlo (2)
- rossigee (1)
- liudonghua123 (1)
- FrostiiWeeb (1)
- yi250 (1)
- florimondmanca (1)
- coderanger (1)
- SepehrBazyar (1)
- iasukas (1)
- zezic (1)
- patrys (1)
Pull Request Authors
- aminalaee (33)
- Mng-dev-ai (3)
- kcrebound (2)
- rzane (2)
- AndTheDaysGoBy (2)
- asnelling (1)
- EmilioCarrion (1)
- kiddten (1)
- blue-hope (1)
- florimondmanca (1)
- tomchristie (1)
- Jastor11 (1)
- SepehrBazyar (1)
- pykulytsky (1)
- dongweiming (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- pypi 5,108 last-month
- Total docker downloads: 34
-
Total dependent packages: 3
(may contain duplicates) -
Total dependent repositories: 79
(may contain duplicates) - Total versions: 18
- Total maintainers: 1
pypi.org: orm
An async ORM.
- Homepage: https://github.com/encode/orm
- Documentation: https://orm.readthedocs.io/
- License: BSD
-
Latest release: 0.3.1
published over 4 years ago
Rankings
Maintainers (1)
pypi.org: savannah
Migrations.
- Homepage: https://github.com/encode/orm
- Documentation: https://savannah.readthedocs.io/
- License: BSD
-
Latest release: 0.0.1
published over 6 years ago
Rankings
Maintainers (1)
Dependencies
- anyio >=3.0.0,<4
- autoflake *
- black *
- codecov *
- databases *
- flake8 *
- isort *
- mkautodoc *
- mkdocs *
- mkdocs-material *
- mypy *
- pytest *
- pytest-cov *
- twine *
- typesystem *
- wheel *
- databases *