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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file acugis_sdk-1.0.1.tar.gz.
File metadata
- Download URL: acugis_sdk-1.0.1.tar.gz
- Upload date:
- Size: 45.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
237ccc44b50962a89706c0b67bb93dbf111691b5ef73fa28582510eb75877d23
|
|
| MD5 |
e274e4595526f15ed9a91235cba294e4
|
|
| BLAKE2b-256 |
7b20d0aae14e5ff151615eb94fb81b245a3ddd288c3022e9fe10f8c4111fc75b
|
File details
Details for the file acugis_sdk-1.0.1-py3-none-any.whl.
File metadata
- Download URL: acugis_sdk-1.0.1-py3-none-any.whl
- Upload date:
- Size: 49.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ec6b05b7f144fa32444cca21f4506cd7da1013fee2e8d2f83070c8facf78e40
|
|
| MD5 |
83652866c321a6801dd60772130c2a02
|
|
| BLAKE2b-256 |
a715beaee2885fbf0d489e6c5ce7a6f8f4cd11a42ea7493ad77eca095a3985e5
|