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

Uploaded Source

Built Distribution

mdb_codegen-0.1.6-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mdb_codegen-0.1.6.tar.gz
  • Upload date:
  • Size: 24.3 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.6.tar.gz
Algorithm Hash digest
SHA256 0b65c32ad4aa5c6d43a5e7be1f3a38b2ab12e23367d79f1be01442354f49f20c
MD5 5c384950760faef58cb67fc507900532
BLAKE2b-256 ceaa46134ff52620d1dafd1e27ba93b16334487cfc8497d9c15600c5b9a81df4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mdb_codegen-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 26.4 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f323db80637f2092245164c18f88f4fb4b489ccc7a99aaf0442d52b53994f4a5
MD5 f723f3f81b4df9eb3b424b083ef7e9fc
BLAKE2b-256 663242ac0499e6b9f42a1fdbc11a681aafc39cb3f1f06c7eb652356d9c464726

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