modelbaker - the library
The modelbaker library is a package containing two main areas:
- Wrapper for ili2db
iliwrapper - Modules to generate a QGIS project from it's database source and interacting with this source
This Library is the backend of the QGIS Plugin QGIS Model Baker.
Installation
pip install modelbaker
Structure
.
├── __init__.py
├── iliwrapper
│ ├── __init__.py
│ ├── globals.py
│ ├── ili2dbargs.py
│ ├── ili2dbconfig.py
│ ├── ili2dbtools.py
│ ├── ili2dbutils.py
│ ├── ilicache.py
│ ├── iliexecutable.py
│ ├── iliexporter.py
│ ├── iliimporter.py
│ ├── iliupdater.py
│ └── ilivalidator.py
├── dataobjects
│ ├── __init__.py
│ ├── fields.py
│ ├── form.py
│ ├── layers.py
│ ├── legend.py
│ ├── project.py
│ └── relations.py
├── dbconnector
│ ├── __init__.py
│ ├── config.py
│ ├── db_connector.py
│ ├── gpkg_connector.py
│ ├── mssql_connector.py
│ └── pg_connector.py
├── db_factory
│ ├── __init__.py
│ ├── db_command_config_manager.py
│ ├── db_factory.py
│ ├── db_simple_factory.py
│ ├── gpkg_command_config_manager.py
│ ├── gpkg_factory.py
│ ├── gpkg_layer_uri.py
│ ├── layer_uri.py
│ ├── mssql_command_config_manager.py
│ ├── mssql_factory.py
│ ├── mssql_layer_uri.py
│ ├── pg_command_config_manager.py
│ ├── pg_factory.py
│ └── pg_layer_uri.py
├── generator
│ ├── __init__.py
│ ├── config.py
│ ├── domain_relations_generator.py
│ └── generator.py
├── ilitoppingmaker
│ ├── __init__.py
│ ├── ili2dbsettings.py
│ ├── ilidata.py
│ ├── iliprojecttopping.py
│ ├── ilitarget.py
│ ├── metaconfig.py
└── utils
├── __init__.py
├── db_utils.py
├── globals.py
├── qgis_utils.py
└── qt_utils.py
ili2db
In the current release we use ili2db version 4.10
Infos for Devs
Code style
Is enforced with pre-commit. To use, make:
pip install pre-commit
pre-commit install
And to run it over all the files (with infile changes):
pre-commit run --color=always --all-file
Needed packages from PyPI
Needed packages from PyPI are downloaded and packaged on deployment to the plugin's libs folder.
Run the script to download and unpack them or install them to your system.
Script:
./scripts/package_pip_packages.sh
Metadata
Release files for modelbaker 3.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| modelbaker-3.4.0.tar.gz | 508.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| modelbaker-3.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.2 MB
Release files / modelbaker-3.4.0.tar.gz
| Download URL | modelbaker-3.4.0.tar.gz |
|---|---|
| Size | 508.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a2b820b68e27ac9e8ebdc310316c5c73b4b3572d3b5e96875c0e5ce46e058c9
|
|
BLAKE2b-256 checksum How to use checksums |
a38cc4f11f5b33bab3b251c160468e4efdb6644b6cc88ab694a9971481d4c8eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / modelbaker-3.4.0-py3-none-any.whl
| Download URL | modelbaker-3.4.0-py3-none-any.whl |
|---|---|
| Size | 738.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b714a3ad7a1dfd547e07a7ed386f320a6cd65717d01076d525f28b93bc4c26bf
|
|
BLAKE2b-256 checksum How to use checksums |
c4d8cf389e2aadc8ab7533c1a3ac542855a15381768b51223abf7d2e3e70c308
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|