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
modelbaker-1.9.1.tar.gz
(226.6 kB
view details)
Built Distribution
modelbaker-1.9.1-py3-none-any.whl
(202.2 kB
view details)
File details
Details for the file modelbaker-1.9.1.tar.gz
.
File metadata
- Download URL: modelbaker-1.9.1.tar.gz
- Upload date:
- Size: 226.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d751a8ae4714f71e9f83e7018c21ffc4c777b10b275b89491b6a2803ecc9c5d |
|
MD5 | 1837a2c3262b8197fc5eb884e0cf62e0 |
|
BLAKE2b-256 | 1f89525901fb055db129559ae14f17f77984e5bfc754567f1dc473ed9ab6a6e9 |
File details
Details for the file modelbaker-1.9.1-py3-none-any.whl
.
File metadata
- Download URL: modelbaker-1.9.1-py3-none-any.whl
- Upload date:
- Size: 202.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d59851d39f7843b5b58c0b15f5605a408c67b669c3e1a5a6a4674845ae49fe6b |
|
MD5 | 1da8d3b092df428767267f2318989e23 |
|
BLAKE2b-256 | 71e7bc5b16f5ebac4a035f08adc170b26a3ef82de06fe4d996e9826980171f4f |