Skip to main content
# Topogram Python API Client

![Read The Docs Build](https://readthedocs.org/projects/topogram/badge/?version=latest)

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


Metadata

Release files for topogram-api-client 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for topogram-api-client 1.0.1
File Size Uploaded
topogram-api-client-1.0.1.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for topogram-api-client 1.0.1
File Interpreter ABI Platform
topogram_api_client-1.0.1-py2-none-any.whl Python 2 none any Details

Total release size: 14.9 kB

Release files / topogram-api-client-1.0.1.tar.gz

Download URL topogram-api-client-1.0.1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
89e5fb25ff20274a3f0515f80ac6f4200d8f762c994260436ebccbaff411646a
BLAKE2b-256 checksum
How to use checksums
36f75d45de5ca77e020b64deae743a377121cfdc5d9b9c8fcfb9de53efda347d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / topogram_api_client-1.0.1-py2-none-any.whl

Download URL topogram_api_client-1.0.1-py2-none-any.whl
Size 8.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
96e5eeda1caa911be7596c77393a424e8dec7bdd8362f91b56fb82d92d4f79f4
BLAKE2b-256 checksum
How to use checksums
f39acc3d29d9d7f369a0d9096036c791124cbf2638e0ea0a92f85c72f6ff8c99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page