Skip to main content

Client Adapter to Hippo2D

Project description

# Hippo2client

## Installation

Simple install this module via pip (pip for Python 2 is also supported)

```
pip3 install --user hippo2client
```


## Usage

```
import hippo2client

e = hippo2client.MajorEntity('v1.2.4')

meta = hippo2client.MetaTest(hippo2client.MetaTest.PASSED)
e.minor_add_meta('0001', meta)

e.add_markdown('001', '[test-001](0001/)')
e.add_reference('0001', '002.md', 'link to 0001')
e.minor_add_markdown('0001', '01.md', 'test **passed**')
path_to_image = os.path.join(os.path.dirname(os.path.abspath(__file__)), "graph.png")
e.minor_add_file('0001', "graph.png", path_to_image)
e.minor_add_markdown('0001', '02.md', '![graph](graph.png)')

URL = "http://localhost:8080/"
TIMEOUT = 10
a = hippo2client.Agent(url=URL, timeout=TIMEOUT)
a.add(e)
a.upload()
```



Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
hippo2client-1.3-py2.py3-none-any.whl (5.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Oct 9, 2018
hippo2client-1.3.tar.gz (3.9 kB) Copy SHA256 hash SHA256 Source None Oct 9, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page