The full model baker core
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file modelbaker-2.4.3.tar.gz.
File metadata
- Download URL: modelbaker-2.4.3.tar.gz
- Upload date:
- Size: 267.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d70995e5a409af6f9add330f10ba5ed3a860237f0ae44300e5e04e4676f14687
|
|
| MD5 |
2079318e96f987ccbb8c725f32314fef
|
|
| BLAKE2b-256 |
c3203b75f5b4d6311f555316d53d87f84f2862372c1483258d28fc9150222fe1
|
File details
Details for the file modelbaker-2.4.3-py3-none-any.whl.
File metadata
- Download URL: modelbaker-2.4.3-py3-none-any.whl
- Upload date:
- Size: 244.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5815213de7dcb5690ef80cd52431dcb75ed8eb788bfd4113042f95acf5b53f6a
|
|
| MD5 |
5a924a34c6c6657ac29dbe8addd230fa
|
|
| BLAKE2b-256 |
95beb49f6c4335d75f533392547d9ac672d1c9bf12c063538a3baef041756323
|