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.5.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.5.1
File Size Uploaded Provenance Actions
modelbaker-3.5.1.tar.gz 515.4 kB Without provenance Details for modelbaker-3.5.1.tar.gz

Built distribution (wheel)

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

Total release size: 1.3 MB

Release files / modelbaker-3.5.1.tar.gz

Download URL modelbaker-3.5.1.tar.gz
Size 515.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ef0f780a699ee83b75ec657c953448e1e59a26cfc6740c9d5bda33d2b9b9a79f
BLAKE2b-256 checksum
How to use checksums
ff1b0f99c6dc7f3b7b073709ef3f641b095319c1de601b36b0c1fc9d150f2f29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / modelbaker-3.5.1-py3-none-any.whl

Download URL modelbaker-3.5.1-py3-none-any.whl
Size 744.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
066383f37c727d6dc9c634ef807c8e0371feb2c95a06e630b095c5f7416a2393
BLAKE2b-256 checksum
How to use checksums
0488b717e1d7cb714c9f989206ad75be1fe6b16971950d8a8249044f4f587280
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for modelbaker 3.5.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.5.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