psycodanticpg
psycopg2 database utilizing pydantic models
scripts:
psycodanticpg may be invoked as an executable file. see 'scripts' directory for all possible scripts to run using the cli.
examples:
to generate the pydantic schemas from an existing database, invoke the 'generate_schemas' script like this:
python3 -m psycodanticpg generate_schemas --dsn=postgres://postgres:password@localhost:5432/mydatabase --output_path=test_generate_schema_source.py
Metadata
Release files for psycodanticpg 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| psycodanticpg-0.0.8.tar.gz | 8.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| psycodanticpg-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.1 kB
Release files / psycodanticpg-0.0.8.tar.gz
| Download URL | psycodanticpg-0.0.8.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77c0ace71480628d9eb22bb441840db490936dd57dad104b2e03ca1434b35189
|
|
BLAKE2b-256 checksum How to use checksums |
8af1df6f677fe42c18e7c1c3f5e01bcaa27d940c175a6ec60c64558284faedf0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.1 CPython/3.9.13 Darwin/22.2.0
|
Release files / psycodanticpg-0.0.8-py3-none-any.whl
| Download URL | psycodanticpg-0.0.8-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d95cb26c32675bdd69184616c277a79cc89ed1ba9a7c16d7f2384c5cbb2a9da9
|
|
BLAKE2b-256 checksum How to use checksums |
e13cb3491378314455213f7c12473c266409a2141d8adfaec7fa9bae026a077d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.1 CPython/3.9.13 Darwin/22.2.0
|