Tool to create maps with markers using cartes.io API
Project description
Simple Maps
This program allows the creation of maps with markers directly from the command line.
Installation
$ pip install simple-maps
Features
Simple Maps interacts with the cartes.io API to provide the following functionality:
- Create a map with parameters:
map create - Get information about a map:
map get - Delete a map:
map delete - Create a marker on a map:
marker create - List all markers on a map:
marker list - Edit marker description:
marker edit - Delete a marker:
marker delete
Usage:
$ simple_maps [OPTIONS] COMMAND [ARGS]...
Options:
--install-completion: Install completion for the current shell.--show-completion: Show completion for the current shell, to copy it or customize the installation.--help: Show this message and exit.
Commands:
mapmarker
simple_maps map
Usage:
$ simple_maps map [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
create: Create a map.delete: Delete a single map.get: Get a single map.
simple_maps map create
Create a map.
Usage:
$ simple_maps map create [OPTIONS]
Options:
--title TEXT: The title of the map--slug TEXT: The map slug. Currently un-used--description TEXT: The description of the map and its purpose--privacy [public|unlisted|private]: The privacy level of the map: public, unlisted, private--users-can-create-markers [yes|no|only_logged_in]: The setting that defines who can create markers--help: Show this message and exit.
simple_maps map delete
Delete a single map.
Usage:
$ simple_maps map delete [OPTIONS]
Options:
--token TEXT: Token [required]--map-id TEXT: Map id [required]--help: Show this message and exit.
simple_maps map get
Get a single map.
Usage:
$ simple_maps map get [OPTIONS]
Options:
--map-id TEXT: Id of the map [required]--help: Show this message and exit.
simple_maps marker
Usage:
$ simple_maps marker [OPTIONS] COMMAND [ARGS]...
Options:
--help: Show this message and exit.
Commands:
create: Create a marker on a map.delete: Delete a marker on a map.edit: Edit a marker on a map.list: Get all markers on a map.
simple_maps marker create
Create a marker on a map.
Usage:
$ simple_maps marker create [OPTIONS]
Options:
--map-token TEXT: Map token [required]--map-id TEXT: Map id [required]--lat FLOAT RANGE: The lat position of the marker [required]--lng FLOAT RANGE: The lng position of the marker [required]--category INTEGER: Category ID. Use category_name if you don't know the ID--category-name TEXT: Category name--description TEXT: Marker description--help: Show this message and exit.
simple_maps marker delete
Delete a marker on a map.
Usage:
$ simple_maps marker delete [OPTIONS]
Options:
--token TEXT: Token [required]--map-id TEXT: Map id [required]--marker-id TEXT: Marker id [required]--help: Show this message and exit.
simple_maps marker edit
Edit a marker on a map.
Usage:
$ simple_maps marker edit [OPTIONS]
Options:
--token TEXT: Marker token [required]--map-id TEXT: Map id [required]--marker-id TEXT: Marker id [required]--description TEXT: Marker description--help: Show this message and exit.
simple_maps marker list
Get all markers on a map.
Usage:
$ simple_maps marker list [OPTIONS]
Options:
--map-id TEXT: Map id [required]--show-expired / --no-show-expired: Show markers that have already expired--help: Show this message and exit.
Project details
Release history Release notifications | RSS feed
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 simple-maps-0.1.0.tar.gz.
File metadata
- Download URL: simple-maps-0.1.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.10 CPython/3.9.7 Linux/5.14.8-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6b04d36df180f717238289e59e3118b53a73e965a2dd1636ab1a95d973c2e4b
|
|
| MD5 |
d8556b2f3e5dca2f977ad6109368b7b5
|
|
| BLAKE2b-256 |
a8718fd8e85a3ba16de5fd710fd2ac5245c67d57aed48547e9ec6697f8790207
|
File details
Details for the file simple_maps-0.1.0-py3-none-any.whl.
File metadata
- Download URL: simple_maps-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.10 CPython/3.9.7 Linux/5.14.8-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f43ba771c20d3b9d3569d1e507d0aa74139b2787a317c680f963d8aa892b4aa4
|
|
| MD5 |
e80cfd0e737ba113365d966e174be00c
|
|
| BLAKE2b-256 |
6f6691a8d06b98350e3bc47437009e88bd6bda05b8a260e2c519634d2e089f4c
|