Skip to main content

No project description provided

Project description

mdb-codegen

A static file generator to create Django model definitions and Pydantic BaseModels from an MS Access database.

This reads data from an Access file using mdbtools, see the installation instructions on how to install for your os.

Howto

This parser is based on different classes to determine the Django model name, Pydantic "BaseModel" name, and the fields for Django and/or Pydantic.

There is a command line tool to generate files, mdb-codegen.py

  • Run poetry install
  • Then run cd mdb_codegen
  • Then run ./mdb-codegen.py path_to_your_db

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

mdb_codegen-0.1.5.tar.gz (37.6 kB view details)

Uploaded Source

Built Distribution

mdb_codegen-0.1.5-py3-none-any.whl (39.8 kB view details)

Uploaded Python 3

File details

Details for the file mdb_codegen-0.1.5.tar.gz.

File metadata

  • Download URL: mdb_codegen-0.1.5.tar.gz
  • Upload date:
  • Size: 37.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Linux/6.0.0-11.2-liquorix-amd64

File hashes

Hashes for mdb_codegen-0.1.5.tar.gz
Algorithm Hash digest
SHA256 0ee52aa57c700fac7f984c40f9ebb08e94e589df062ef421fb8d0f9751716f02
MD5 845f36dd7a31cad10b05d9ae19ba976d
BLAKE2b-256 faf2074557bddabb1eba1bd9c0993f58f3719b19234fdcaf5e65502186c21bcf

See more details on using hashes here.

File details

Details for the file mdb_codegen-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: mdb_codegen-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 39.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Linux/6.0.0-11.2-liquorix-amd64

File hashes

Hashes for mdb_codegen-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c8116b61c908f911bc8ca1ae9de246ba10e38ca648227124f01be1fba7edf693
MD5 758613774542e331dc5b260ec4e3de6d
BLAKE2b-256 24f551ddc1cca40579cd8d9826d251016f699f6bb5c98f329a3dadd6039494a8

See more details on using hashes here.

Supported by

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