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.4.tar.gz (5.8 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.4-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psycodanticpg-0.0.4.tar.gz
  • Upload date:
  • Size: 5.8 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.4.tar.gz
Algorithm Hash digest
SHA256 03e9f51880f83fb9c04f99e708c5fffc0d8817c0b85918370b448590b8f0b6cb
MD5 f389c4b22e8494090954ef4889a83fde
BLAKE2b-256 02c4248feca9ff4fb313bcc2ea74b8412a0eb70f2a5af676a9d794feb60c9ae0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psycodanticpg-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 7.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 98b69693b694355327d522f9e632466f795864369b20562d93c68922e5783e25
MD5 ca349f36a6a3077e151e7af920c5fb84
BLAKE2b-256 4f57b7ff5b757e973bb158cfa81b3ac57426c0f1d223ac349d80af8fa3e43765

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