API Client for Topogram - Geo-network mapping.
Project description
# Topogram Python API Client

A python lib to communicate with Topogram
## How it works
```python
from topogram-python-client import TopogramAPIClient
topogram = TopogramAPIClient("http://localhost:3000")
# create a new network
topogram.create_topogram("test")
```
See a complete example in [examples](./examples) folder
## Documentation
Read the docs at [http://topogram.readthedocs.io/](http://topogram.readthedocs.io/)
## Install
pip install topogram-api-client
or using github
git clone https://github.com/topogram/topogram-api-client
cd topogram-api-client
python setup.py install
## command-line
topogram-client
## tests
You will need to run a test instance of [Topogram](http://github.com/topogram/topogram) with a different DB on the 3030 port.
export MONGO_URL=mongodb://localhost:27017/test_topogram; meteor --port 3030
Install the dev dependencies
pip install -r dev_requirements.txt
Then you can run the tests
nosetests --rednose tests

A python lib to communicate with Topogram
## How it works
```python
from topogram-python-client import TopogramAPIClient
topogram = TopogramAPIClient("http://localhost:3000")
# create a new network
topogram.create_topogram("test")
```
See a complete example in [examples](./examples) folder
## Documentation
Read the docs at [http://topogram.readthedocs.io/](http://topogram.readthedocs.io/)
## Install
pip install topogram-api-client
or using github
git clone https://github.com/topogram/topogram-api-client
cd topogram-api-client
python setup.py install
## command-line
topogram-client
## tests
You will need to run a test instance of [Topogram](http://github.com/topogram/topogram) with a different DB on the 3030 port.
export MONGO_URL=mongodb://localhost:27017/test_topogram; meteor --port 3030
Install the dev dependencies
pip install -r dev_requirements.txt
Then you can run the tests
nosetests --rednose tests
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 topogram-api-client-1.0.1.tar.gz.
File metadata
- Download URL: topogram-api-client-1.0.1.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89e5fb25ff20274a3f0515f80ac6f4200d8f762c994260436ebccbaff411646a
|
|
| MD5 |
4621b175f2610384eb9c9f726fd16947
|
|
| BLAKE2b-256 |
36f75d45de5ca77e020b64deae743a377121cfdc5d9b9c8fcfb9de53efda347d
|
File details
Details for the file topogram_api_client-1.0.1-py2-none-any.whl.
File metadata
- Download URL: topogram_api_client-1.0.1-py2-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96e5eeda1caa911be7596c77393a424e8dec7bdd8362f91b56fb82d92d4f79f4
|
|
| MD5 |
63797828047ccebe271104e82c341a9d
|
|
| BLAKE2b-256 |
f39acc3d29d9d7f369a0d9096036c791124cbf2638e0ea0a92f85c72f6ff8c99
|