This release is a pre-release and may not be stable for production use.
Frankfurt is an Object-Relational Mapping (ORM) library, built on top of asyncpg. It takes ideas from Django, SQLAlchemy, GiNO, and tortoise-orm.
Source and issue tracker are available at https://gitlab.com/jorgeecardona/frankfurt/issues
Support Python >= 3.7.
Introduction
Frankfurt is an ORM built on top of asyncpg, henceo, it supports only PostgreSQL.
I am taking ideas from Django, SQLAlchemy and tortoise-orm to built this.
Installation
The recommended way to install frankfurt is via pip
pip install frankfurt
Quickstart
As expected, a model can be defined as follows:
>>> from frankfurt.models import Model >>> from frankfurt import fields >>> >>> class FirstModel(Model): ... text = fields.CharField(max_length=200) >>> >>> m = FirstModel(text='example') >>> m['text'] 'example'
Metadata
Release files for frankfurt 0.1b40
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| frankfurt-0.1b40.tar.gz | 15.0 kB | Without provenance | Details for frankfurt-0.1b40.tar.gz |
Release files / frankfurt-0.1b40.tar.gz
| Download URL | frankfurt-0.1b40.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39c1f85e4df5b55d3b12cec119185ae9dce7a8d20637f669de3011dfdef2b22a
|
|
BLAKE2b-256 checksum How to use checksums |
1abd3d4288e0e4548368cce42c4693f2a42489cd9431c52f26a0f89b9a800fea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Security for frankfurt 0.1b40
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.