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.9.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

mdb_codegen-0.1.9-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mdb_codegen-0.1.9.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.6-060406-generic

File hashes

Hashes for mdb_codegen-0.1.9.tar.gz
Algorithm Hash digest
SHA256 eacf4ef32a2d2dbfde717f06a2e385d3a6af90851f47b5341ab2d9515bf0d3d0
MD5 8d61e4a1d25865a43820adb8ae4e24cb
BLAKE2b-256 5083a01c4e9ff8dcdb7ffc5a71a869e100d80820d63eedbdb40376fe3cee752d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mdb_codegen-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.6-060406-generic

File hashes

Hashes for mdb_codegen-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 68831b8a5747689a540c0d07f4dfb7ea35bc57d5491b4bedd16d72bca7a2149c
MD5 35c893ab9ffbc098e9339a8658a562a0
BLAKE2b-256 af4ced410beb5e4c59ecfdaf1a253de7f21beca4492c3eb10bd245d33b72148b

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