AcuGIS Python SDK
Python SDK for the AcuGIS Cloud geospatial platform. Manage maps, datasets, reports, and search programmatically.
from acugis_sdk import Client
client = Client(
host="https://cloud.acugis.com",
token="agp_xxxxxxxx",
)
projects = client.maps.list()
client.maps.publish("roads.qgz", title="Road Network")
datasets = client.datasets.list()
client.datasets.download("roads", output="roads.gpkg")
reports = client.reports.list()
results = client.search("roads")
Installation
pip install acugis-sdk
Development install
cd acugis-sdk
python -m venv .venv
# Linux / macOS
source .venv/bin/activate
# Windows
.venv\Scripts\activate
pip install -e ".[dev]"
Authentication
Personal access token (recommended)
from acugis_sdk import Client
client = Client(
host="https://cloud.acugis.com",
token="agp_xxxxxxxx",
)
Environment variables
export ACUGIS_URL=https://cloud.acugis.com
export ACUGIS_TOKEN=agp_xxxxxxxx
client = Client() # uses env / saved config
Saved configuration
If neither host nor token are passed, the SDK reuses the same configuration as other AcuGIS tools under ~/.config/acugis/ (config.json and optional session cookies).
| Environment variable | Purpose |
|---|---|
ACUGIS_TOKEN |
Personal access token |
ACUGIS_URL / ACUGIS_BASE_URL |
Platform base URL |
Quick start
from acugis_sdk import Client
client = Client(token="agp_xxxxxxxx", host="https://cloud.acugis.com")
for m in client.maps.list():
print(m["title"])
client.maps.publish("roads.qgz", title="Road Network")
client.datasets.download("roads", output="roads.gpkg")
results = client.search("roads")
Service objects
| Attribute | Description |
|---|---|
client.maps |
QGIS Publish maps |
client.datasets |
GeoVault datasets |
client.reports |
Jasper reports |
client.search |
Platform-wide search |
client.geosync |
GeoSync projects |
client.jasper |
Alias for client.reports |
Documentation
See docs/SDK.md for full API documentation and examples/ for runnable samples.
Exceptions
SDK methods raise acugis_sdk.AcugisError for domain and API failures. They do not print to the console.
License
MIT — see LICENSE.
Metadata
Release files for acugis-sdk 1.0.1
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 |
|---|---|---|---|---|
| acugis_sdk-1.0.1.tar.gz | 45.1 kB | Without provenance | Details for acugis_sdk-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| acugis_sdk-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for acugis_sdk-1.0.1-py3-none-any.whl |
Total release size: 95.0 kB
Release files / acugis_sdk-1.0.1.tar.gz
| Download URL | acugis_sdk-1.0.1.tar.gz |
|---|---|
| Size | 45.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
237ccc44b50962a89706c0b67bb93dbf111691b5ef73fa28582510eb75877d23
|
|
BLAKE2b-256 checksum How to use checksums |
7b20d0aae14e5ff151615eb94fb81b245a3ddd288c3022e9fe10f8c4111fc75b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / acugis_sdk-1.0.1-py3-none-any.whl
| Download URL | acugis_sdk-1.0.1-py3-none-any.whl |
|---|---|
| Size | 49.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ec6b05b7f144fa32444cca21f4506cd7da1013fee2e8d2f83070c8facf78e40
|
|
BLAKE2b-256 checksum How to use checksums |
a715beaee2885fbf0d489e6c5ce7a6f8f4cd11a42ea7493ad77eca095a3985e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for acugis-sdk 1.0.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.