Geocortex Reporting Client for Python
This Python library makes it easy to run Geocortex Reporting or Geocortex Printing jobs.
Requirements
- Python 3.6 or later
Installing the package
This package is published to PyPi, and can be installed using pip:
pip install geocortex-reporting-client
Generating a report
The client exports a run async function that will return a url to the report upon completion.
from geocortex.reporting.client import run
url = await run("itemid", [... other arguments])
Arguments
item_id is required. All other arguments are optional.
| Argument | Type | Description |
|---|---|---|
| item_id | str | The portal item ID of the Reporting or Printing item. |
| portal_url | str | The URL of the ArcGIS Portal instance to use. Defaults to ArcGIS Online: "https://www.arcgis.com" |
| token | str | The Portal access token to be used to access secured resources. If not provided requests to secured resources will fail. |
| culture | str | The culture to use for localization. For example "en-US". |
| result_file_name | str | The name assigned to the output file. It is used as the suggested name when downloading the result. |
| dpi | int | The DPI to use when rendering a map print. Defaults to 96. |
| use_polling | bool | When True, the job service will be polled periodically for results. When False, connect to the job service using WebSockets to listen for results. It's recommended to use WebSockets where possible. Defaults to False. |
| **kwargs** | any | Other parameters to pass to the job. These are commonly used to parameterize your template. For example run("itemid", FeatureIds=[1, 2, 3]) |
Documentation
Find further documentation on the SDK on the Geocortex Developer Center
Metadata
Release files for geocortex-reporting-client 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| geocortex-reporting-client-1.1.0.tar.gz | 5.6 kB | Without provenance | Details for geocortex-reporting-client-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geocortex_reporting_client-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for geocortex_reporting_client-1.1.0-py3-none-any.whl |
Total release size: 12.2 kB
Release files / geocortex-reporting-client-1.1.0.tar.gz
| Download URL | geocortex-reporting-client-1.1.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
582c930c6ea35ed093c3b7f54a13da3f9326cebac94116e79d441feb63f45630
|
|
BLAKE2b-256 checksum How to use checksums |
18797d5cf5b35bfff4314eae98e962eb2843a4b3a21f2265ab18d053d3c85c06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
|
Release files / geocortex_reporting_client-1.1.0-py3-none-any.whl
| Download URL | geocortex_reporting_client-1.1.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ae2daca1b7c721dda5de3f412f9c15adfa77c0b3573a4aa98350ae661308c90
|
|
BLAKE2b-256 checksum How to use checksums |
3bfb1936a7d0ea0e2e93f2c030ecc09098ed82cdc388acf19b3323807b0abc8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
|
Security for geocortex-reporting-client 1.1.0
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.