Skip to main content

This module is a Python API for Heimdallr.

Installation

pip install py-heimdallr-client

Contributing

Please use a linter to help follow PEP8 style guidelines. We use Vincent Driessen’s git-flow so please make pull requests to the develop branch. For any new features you might add please add the corresponding documentation and tests. To setup the project for development you need virtualenv. Once you have virtualenv installed and setup can run:

mkvirtualenv py-heimdallr-client
workon py-heimdallr-client
git clone git@github.com:Layer3DLab/py-heimdallr-client.git
cd py-heimdallr-client
git checkout develop
npm install
pip install -r dev_requirements.txt

NOTE: if you’re on OSX and cryptography fails to install you may need to follow these directions.

Adding Documentation

We use Sphinx with the autodoc and napoleon extensions to generate the documentation for this module. So to add documentation simply add Python docstrings to whatever classes, methods, etc. that you add. We use Google style docstrings (examples here). To build the docs run the following from the project directory:

cd docs
make html

Adding Tests

We use unittest for our testing suite. To run the tests you can just call python setup.py test from the project directory. To run them directly you can just call python tests/__init__.py To run coverage tests and generate an HTML report run:

coverage  run --source="./heimdallr_client" --branch -m unittest tests
coverage html

Release files for py-heimdallr-client 0.0.2

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

Source distribution (sdist)

Source distribution for py-heimdallr-client 0.0.2
File Size Uploaded
py-heimdallr-client-0.0.2.tar.gz 9.9 kB Details

Release files / py-heimdallr-client-0.0.2.tar.gz

Download URL py-heimdallr-client-0.0.2.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1fea7f6892fcbb7fb34c5376c7f3f156d726c2046feef196d3cc731fe44891c2
BLAKE2b-256 checksum
How to use checksums
495666264e51fe161eddbe6bc201255ecc3621e5b6e30d580ac46da79573b78f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

0.0.0

1 release file

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