Skip to main content
logo

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.1

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

Source distribution (sdist)

Source distribution for modelbaker 3.4.1
File Size Uploaded Provenance Actions
modelbaker-3.4.1.tar.gz 508.3 kB Without provenance Details for modelbaker-3.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for modelbaker 3.4.1
File Interpreter ABI Platform Actions
modelbaker-3.4.1-py3-none-any.whl Python 3 none any Details for modelbaker-3.4.1-py3-none-any.whl

Total release size: 1.2 MB

Release files / modelbaker-3.4.1.tar.gz

Download URL modelbaker-3.4.1.tar.gz
Size 508.3 kB
Tags Source
SHA-256 checksum
How to use checksums
89193e5b6da80df181c3b418728b9d17c09ecd261f01300a622b8064c8f2b8e5
BLAKE2b-256 checksum
How to use checksums
b5bd07962e479433a1656a0452ea0057cf9895b22e87c5b6e8803336e73e4d20
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.1-py3-none-any.whl

Download URL modelbaker-3.4.1-py3-none-any.whl
Size 738.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
995ef17b3848b2497df7a76a180873e6ca9109d2f8fd3ca89e4fdfeffcf299cf
BLAKE2b-256 checksum
How to use checksums
c6905cdc18ab73f78ebfbd86b9fc6652f64d0a5092309a5be96f439516d49db4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for modelbaker 3.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.4.1 This release

2 release files No provenance

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