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

Uploaded Python 3

File details

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

File metadata

  • Download URL: psycodanticpg-0.0.7.tar.gz
  • Upload date:
  • Size: 5.9 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.7.tar.gz
Algorithm Hash digest
SHA256 605258bb707f3b826a36e4deb96becc5366517af3d0cdbfe9d9e6f9acce7c631
MD5 869f551232ac817139358a066166cf6e
BLAKE2b-256 43532da5a81f527d04353ee6d5bcdd1059c5fb9018a430e2f31e31bfcda17d83

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psycodanticpg-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5f17e4866319174037bc28eab29abd80494b3f9572ccc635bd0829b5a7d94329
MD5 0e726dee42887163386c588c3968800c
BLAKE2b-256 ae208899445f47736a4b1e6b8c280f83f6bdc12d08d0d3ff557f29a7d9d99257

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