psycopg2 database utilizing pydantic models
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
psycodanticpg-0.0.6.tar.gz
(6.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file psycodanticpg-0.0.6.tar.gz.
File metadata
- Download URL: psycodanticpg-0.0.6.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.9.13 Darwin/22.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
381fb2bc93209a40cea176d9674f4ffe5e623ecd622e29839306b454df62d3ea
|
|
| MD5 |
66574d11b7c91f830835948aabe1e716
|
|
| BLAKE2b-256 |
eda96aad7da7a51200706529de3db48e9a2de0dba238dd9bee121526ea208e44
|
File details
Details for the file psycodanticpg-0.0.6-py3-none-any.whl.
File metadata
- Download URL: psycodanticpg-0.0.6-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.9.13 Darwin/22.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a76b2cfc0867804a16a2c0c8a9da65e0f183430da1a2314b366eb2295c152ec
|
|
| MD5 |
44546e1a76bfdf8eb312c61809395a55
|
|
| BLAKE2b-256 |
534654b9db280b3fbdd65e66f1d6453ddd4b7f37fc55012cd4ab74ebae903daa
|