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)
| File | Size | Uploaded | |
|---|---|---|---|
| mdb_codegen-0.1.11.tar.gz | 12.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|