A little ORM for sqlite and postgresql
Existing ORMs seem to be clunky overkill. Status: experimental.
Features
- Proper typing of table operations.
- Advanced and strongly-typed query patterning system.
- Just subclass
Tableon your dataclasses and it will work. You don't need special column settings. - Works with plain Python types, no need to have special column types on everything.
- Works with pydantic BaseModel (WIP)
- Works with sqlite and postgresql (WIP)
- Async and sync execution calls (WIP)
Other libraries
You should use one of these instead:
Also injection attacks are only defended against user data. We assume that the definitions of dataclasses and query constructions are trusted. That is, if you give a field in your schema dataclass a name like "; DROP TABLE" it will execute the injection.
Developing
pip install hatch
# build
hatch build
# tests
hatch run test:no-cov
Metadata
Release files for dxd 0.0.5
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 |
|---|---|---|---|---|
| dxd-0.0.5.tar.gz | 13.5 kB | Without provenance | Details for dxd-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dxd-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for dxd-0.0.5-py3-none-any.whl |
Total release size: 28.9 kB
Release files / dxd-0.0.5.tar.gz
| Download URL | dxd-0.0.5.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c82deb6d433f33da7e01bdcbf342d50d93e60bbb0022d8a12de83d28895a5c4
|
|
BLAKE2b-256 checksum How to use checksums |
4040f0783c116280b5be4f7cd0dcd8e134ec4e7eccfd32be145dcb7a1575a8e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.0
|
Release files / dxd-0.0.5-py3-none-any.whl
| Download URL | dxd-0.0.5-py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
235f5696f1080d5378639712670a153283e918bbde352917ebd938153cb0da59
|
|
BLAKE2b-256 checksum How to use checksums |
a0a348f06c4643b6d9c3225ff4555a3f3371ad3b2901cf1f68bd49f2c64e4cf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.0
|
Security for dxd 0.0.5
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.