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

Uploaded Source

Built Distribution

mdb_codegen-0.1.4-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mdb_codegen-0.1.4.tar.gz
  • Upload date:
  • Size: 12.1 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.4.tar.gz
Algorithm Hash digest
SHA256 198fd9b38b5405a82bf67e06b7738daa6d73af4c2d8b4a625ff7a45095be1de5
MD5 7e2704c96de9660485f69ec0fdf21f89
BLAKE2b-256 49e1ef1c3d71b2f954b46b6681cf6957186c7c5dcb765f6a7a467f08e7aefd8b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mdb_codegen-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 13.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 22804adbf3d97f8e55ef9c81630aefe7811adb64c2a40257a8a7122899429bb6
MD5 4e1ba25e85ee50462a997361c030612b
BLAKE2b-256 1474dccbbeaac71d24d932aaf939fbf276b0bcfba3d4f7323fe642a808e61f7f

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