Skip to main content

A client wrapper for the MapHub API

Project description

maphub

Usage

Python package

This example demonstrates how to upload a Map from the local path to a MapHub project with the name France.

from maphub import MapHubClient

client = MapHubClient(api_key="your-api-key")
france_project = client.create_project("France")

client.upload_map(
    map_name="France Population",
    project_id=france_project['id'],
    public=False,
    path="path/to/GIS/data.gpkg"
)

CLI

Coming soon...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maphub-0.1.4.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maphub-0.1.4-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file maphub-0.1.4.tar.gz.

File metadata

  • Download URL: maphub-0.1.4.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for maphub-0.1.4.tar.gz
Algorithm Hash digest
SHA256 82fa3ab6dba1c92241e8e6159f7c97c6946aa3b6413b93f9929ba708bec5e9d5
MD5 9d2b109fd757c529c7c379b1cc27a32c
BLAKE2b-256 870edd34b91537fe8afe06f7dd45b900c8252cbdd2fa928e5936c74aac07ed45

See more details on using hashes here.

File details

Details for the file maphub-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: maphub-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for maphub-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 efa1f69102d048e4b7bf5b6eaad2c172c93a30c2cd39b42269e6750b943a66c1
MD5 9141b9ef25d9700c37aa657672265f5a
BLAKE2b-256 bbcd824db845f9f2e8d0fbb68ec5a4dec82dc4bf01c11d49f85ae337fb244418

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page