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

Uploaded Python 3

File details

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

File metadata

  • Download URL: psycodanticpg-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 25158cbb9bd53957f1db097ad0a2a674d9b6d87141e4883473507c520425a2d8
MD5 620934d75b0aa764544550b431399e3d
BLAKE2b-256 e651a6de439e497d1170f910fdde9d83663dd86bfc19ce7df1f5a4cdef60b2fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psycodanticpg-0.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 45dd58cf747deaed1b4eee23c4d22e16db73126a2c90aee7f79afc00070f133d
MD5 a488116333b0cac99d94000471dc2c04
BLAKE2b-256 03045766a021da5cbf8a487ddc7177123fd794bbc1b77811113659c23fbdfc2a

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