Skip to main content

A client wrapper for the MapHub API

Project description

maphub-client

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.3.tar.gz (4.4 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.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: maphub-0.1.3.tar.gz
  • Upload date:
  • Size: 4.4 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.3.tar.gz
Algorithm Hash digest
SHA256 3bc1c12c86f742d073812406c0676657c6d66304eaa60f51f36c3f8001763f0e
MD5 51a52aaf94527b6192d34e74262f2134
BLAKE2b-256 d9e0d693b8a4aa49fd0c828fdf2e1ced360acacac5c464e6b4fe3929ea91d4db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maphub-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 276f013d3d63e6a22ab8140c819f29bfe945e0e797940976e31979aad23f5a0a
MD5 17d0c84e98b5c8ba661f724cf95e437e
BLAKE2b-256 43a4fc982dfe13a6bc0d9d76cd69d2b800873a601856c8b6bd36d8b63a8690a6

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