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.3.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.3-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psycodanticpg-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 d4978d18a427b6598cecca69c1c461cda4b9b014753940443a9a8a3fae755e8e
MD5 34c56e378d1dcf00306d47ead1d95d20
BLAKE2b-256 cc139b9d55efb21c8afed8696099a9221e28b45ad17dc122cc29f8da431db378

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psycodanticpg-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 800063dcc8edb5cf87a4a4e63bc8549357bb488ef813491d59880584834bb893
MD5 48ae9b4f5a8f0ede7c0933b59597e606
BLAKE2b-256 f7375e6ad030c703fa2bff0bc4f7f298624e410e062d6cbe99ec1c89d9d44545

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