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

  • Run poetry install

  • Then run cd mdb_codegen

  • Then run ./mdb-codegen.py /home/josh/PNDS_Interim_MIS-Data.accdb

  • 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 it for example with ./mdb-codegen.py /home/josh/PNDS_Interim_MIS-Data.accdb

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

Uploaded Source

Built Distribution

mdb_codegen-0.1.3-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mdb_codegen-0.1.3.tar.gz
  • Upload date:
  • Size: 37.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.8.10 Linux/6.0.0-9.1-liquorix-amd64

File hashes

Hashes for mdb_codegen-0.1.3.tar.gz
Algorithm Hash digest
SHA256 48aa31b56d2a28bd18806bfd4c355f1d647852ca6a00f2d4c3b444fc0662308f
MD5 b6017c449352c6e2862c0a0b025b1548
BLAKE2b-256 f706a8543d4f9c64e517a0c2fe23f7e4a5894cfd24dcc387e58c962d22978866

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mdb_codegen-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1c2b58a86d4bcfb4aa94d7832a7ebabd34589e2eee68c336198d6ebe3910d49c
MD5 bb88d5d400070ab419371621413ececc
BLAKE2b-256 d5a59eb70e7863673a632f48c49f48242d39eeba66efdb09f78737a654bb00f5

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