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

Uploaded Source

Built Distribution

mdb_codegen-0.1.11-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mdb_codegen-0.1.11.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.12.0a7 Linux/6.4.6-060406-generic

File hashes

Hashes for mdb_codegen-0.1.11.tar.gz
Algorithm Hash digest
SHA256 633c683d2e92b37726e2b436f77b7158b18661c59f54f91294f9df28a5da76f2
MD5 77c1a75152a47c963a4298aba4410834
BLAKE2b-256 2715bc11dd24c4ff0695fb9f0bb6405a96fcef3d99b7c86220ca19acca75a090

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mdb_codegen-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.12.0a7 Linux/6.4.6-060406-generic

File hashes

Hashes for mdb_codegen-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 5e59406763b1a33908ae1c6ead6d6395cb9fb645e2457891686f05091fa756bd
MD5 530c3d23f79554e9acea48502bb58312
BLAKE2b-256 5a065243b02079830c6950735abe6da472f5f9b686221e5c03b089ffa02553f3

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