Skip to main content

G3W-ADMIN-QPROCESSING

PyPI version Ask DeepWiki

A dedicated QGIS Processing module for G3W-SUITE framework:

QProcessing schema

  1. upload a .model3 file into G3W-ADMIN.
  2. get QGIS Processing tools available within G3W-CLIENT.

QGIS desktop

G3W-SUITE

Supported features

QGIS Processing Inputs:

QGIS Processing Outputs:

Installation

Install qprocessing module into g3w-admin applications folder:

# Install module from github (v1.0.0)
pip3 install git+https://github.com/g3w-suite/g3w-admin-processing.git@v1.0.0

# Install module from github (dev branch)
# pip3 install git+https://github.com/g3w-suite/g3w-admin-processing.git@dev

# Install module from local folder (git development)
# pip3 install -e /g3w-admin/plugins/qprocessing

# Install module from PyPI
# pip3 install g3w-admin-processing

Enable 'qprocessing' module adding it to G3W_LOCAL_MORE_APPS list:

# local_settings.py

G3WADMIN_LOCAL_MORE_APPS = [
    ...
    'qprocessing'
    ...
]

Refer to g3w-suite-docker repository for more info about running this on a docker instance.

Tests

The Gherkin scenarios use Behave and are run in CI. Install the test dependencies with pip install -r requirements-test.txt. Use a configured G3W-ADMIN/QGIS environment with PostGIS and Node.js. Add behave_django to Django's INSTALLED_APPS (as a third-party app, not G3WADMIN_LOCAL_MORE_APPS) and enable G3W-ADMIN's base.settings.tests_settings for the test run (including its in-memory Huey configuration), and run from the G3W-ADMIN directory:

python manage.py behave --simple qprocessing/tests

NB On Ubuntu Jammy you could get an UNKNOWN package install instead of g3w-admin-processing, you can retry installing it as follows to fix it:

# Fix: https://github.com/pypa/setuptools/issues/3269#issuecomment-1254507377
export DEB_PYTHON_INSTALL_LAYOUT=deb_system

# And then install again the module
pip3 install ...

Configuration

By default Qprocessing works sin synchronous mode

To make QProcessing works in asynchronous mode (in batch mode) you need set setting QPROCESSING_ASYNC_RUN TO True and Huey and have a message broker such as Redis, here it is an example:

QPROCESSING_ASYNC_RUN = True 

HUEY = {                                   # Huey implementation to use.
    'huey_class': 'huey.RedisExpireHuey',
    'name': 'g3w-suite',
    'url': 'redis://localhost:6379/?db=0',
    'immediate': False,                    # If True, run synchronously.
    'consumer': {
        'workers': 1,
        'worker_type': 'process',
    },
}

Then start huey:

python3 manage.py tun_huey -k process

Other settings:

QPROCESSING_ASYNC_RUN

Activate/deactivate the asynchronous mode running models.

QPROCESSING_OUTPUT_PATH

Directory to save the processing outputs. Default '/tmp/'.

QPROCESSING_INPUT_UPLOAD_PATH

Directory to upload the processing inputs. Default same value of QPROCESSING_OUTPUT_PATH.

QPROCESSING_OUTPUT_VECTOR_FORMAT_DEFAULT

Default processing output vector format. Default 'geojson'

QPROCESSING_OUTPUT_RASTER_FORMAT_DEFAULT

Default processing output raster format. Default 'tiff'

QPROCESSING_OUTPUT_FILE_FORMAT_DEFAULT

Default processing output file format. Default 'pdf'

QPROCESSING_OUTPUT_HTML_FORMAT_DEFAULT

Default processing output html format. Default 'html'

QPROCESSING_INPUT_SHP_EXTS

List of input shapefile extensions. Default ['shp', 'shx', 'prj', 'dbf', 'shx']

QPROCESSING_INPUT_UPLOAD_VECTOR_FORMATS

List of input vector formats to upload. Default:

[
    {
        'value': 'zip',
        'key': 'Shapefile'
    },
    {
        'value': 'geojson',
        'key': 'GeoJSON'
    },
    {
        'value': 'kml',
        'key': 'KML'
    },
    {
        'value': 'gpkg',
        'key': 'GeoPackage'
    },
    {
        'value': 'sqlite',
        'key': 'Sqlite/Spatialite'
    }

]
QPROCESSING_OUTPUT_VECTOR_FORMATS

List of output vector formats. Default:

[
    {
        'value': 'zip',
        'key': 'Shapefile'
    },
    {
        'value': 'geojson',
        'key': 'GeoJSON'
    },
    {
        'value': 'kml',
        'key': 'KML'
    },
    {
        'value': 'gpkg',
        'key': 'GeoPackage'
    }, 
]
QPROCESSING_OUTPUT_FILE_FORMATS

List of output file formats. Default:

[
    {
        'value': 'pdf',
        'key': 'PDF'
    },
]
QPROCESSING_OUTPUT_HTML_FORMATS

List of output html formats. Default:

[
    {
        'value': 'html',
        'key': 'HTML'
    },
]
QPROCESSING_OUTPUT_RASTER_FORMATS

List of output raster formats. Default:

[
    {
        'value': 'vrt',
        'key': 'VRT'
    },
    {
        'value': 'tiff',
        'key': 'TIFF'
    },
    {
        'value': 'png',
        'key': 'PNG'
    },
    {
        'value': 'jpeg',
        'key': 'JPEG'
    },
    {
        'value': 'jpg',
        'key': 'JPG'
    },
]
QPROCESSING_CRYPTO_KEY

Encryption key for download links.

Compatibile with: g3w-admin version g3w-suite-docker version


License: MPL-2

Metadata

Release files for g3w-admin-processing 2.0.2

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

Source distribution (sdist)

Source distribution for g3w-admin-processing 2.0.2
File Size Uploaded Provenance Actions
g3w_admin_processing-2.0.2.tar.gz 3.9 MB With provenance Details for g3w_admin_processing-2.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for g3w-admin-processing 2.0.2
File Interpreter ABI Platform Actions
g3w_admin_processing-2.0.2-py3-none-any.whl Python 3 none any Details for g3w_admin_processing-2.0.2-py3-none-any.whl

Total release size: 4.1 MB

Release files / g3w_admin_processing-2.0.2.tar.gz

Download URL g3w_admin_processing-2.0.2.tar.gz
Size 3.9 MB
Tags Source
SHA-256 checksum
How to use checksums
2d14ba630eefcab2974e621ef30fc364ed5eeb15524f4dd756fdc55f90d91492
BLAKE2b-256 checksum
How to use checksums
9854922376025ad6c9592f35c7db3a03250d2a8192dcbdbc68e68a52f97ad0b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / g3w_admin_processing-2.0.2-py3-none-any.whl

Download URL g3w_admin_processing-2.0.2-py3-none-any.whl
Size 202.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0c5e270cb6474a40ab28acdb670d2c8d924ca667a8670e359bbd6404271bb62
BLAKE2b-256 checksum
How to use checksums
c055182b0125fb1fca4850c8e19b75aa29a6faecd3c8f61d3490af5bad0078e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for g3w-admin-processing 2.0.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for g3w_admin_processing-2.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

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.

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