Skip to main content

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

Metadata

Release files for mdb-codegen 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mdb-codegen 0.1.11
File Size Uploaded
mdb_codegen-0.1.11.tar.gz 12.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mdb-codegen 0.1.11
File Interpreter ABI Platform
mdb_codegen-0.1.11-py3-none-any.whl Python 3 none any Details

Total release size: 25.9 kB

Release files / mdb_codegen-0.1.11.tar.gz

Download URL mdb_codegen-0.1.11.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
633c683d2e92b37726e2b436f77b7158b18661c59f54f91294f9df28a5da76f2
BLAKE2b-256 checksum
How to use checksums
2715bc11dd24c4ff0695fb9f0bb6405a96fcef3d99b7c86220ca19acca75a090
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.12.0a7 Linux/6.4.6-060406-generic

Release files / mdb_codegen-0.1.11-py3-none-any.whl

Download URL mdb_codegen-0.1.11-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e59406763b1a33908ae1c6ead6d6395cb9fb645e2457891686f05091fa756bd
BLAKE2b-256 checksum
How to use checksums
5a065243b02079830c6950735abe6da472f5f9b686221e5c03b089ffa02553f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.12.0a7 Linux/6.4.6-060406-generic

Release history Release notifications | RSS feed

This release

0.1.11 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page