Skip to main content

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.8.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

psycodanticpg-0.0.8-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file psycodanticpg-0.0.8.tar.gz.

File metadata

  • Download URL: psycodanticpg-0.0.8.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.9.13 Darwin/22.2.0

File hashes

Hashes for psycodanticpg-0.0.8.tar.gz
Algorithm Hash digest
SHA256 77c0ace71480628d9eb22bb441840db490936dd57dad104b2e03ca1434b35189
MD5 bb0b12857c1d65090b8f9299cde0ee1c
BLAKE2b-256 8af1df6f677fe42c18e7c1c3f5e01bcaa27d940c175a6ec60c64558284faedf0

See more details on using hashes here.

File details

Details for the file psycodanticpg-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: psycodanticpg-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 14.0 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

Hashes for psycodanticpg-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d95cb26c32675bdd69184616c277a79cc89ed1ba9a7c16d7f2384c5cbb2a9da9
MD5 d23d0fd36a2d9d48f831a717b9f300cd
BLAKE2b-256 e13cb3491378314455213f7c12473c266409a2141d8adfaec7fa9bae026a077d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page