Skip to main content

hexpy

Build Status Coverage PyPI version

A Python Client for the Crimson Hexagon API

hexpy is a simple python package for working with the Crimson Hexagon API


Project Homepage

Documentation: hexpy

Source Code: Github


Why use this client?

  • Easily and securely manage account authentication.
  • Automatically abide by Crimson Hexagon's rate limits.
  • Automatically convert python data to/from JSON strings.
  • Automatically check requests success.
  • Make it easy to do common tasks like exporting and uploading content.
  • Easily create shell scripts to work with API data.

Requirements

hexpy is compatible with Python 3.6 and higher

Installation

To install the most recent stable release run pip install hexpy.

To install the latest version:

$ git clone https://github.com/sullivancolin/hexpy.git
$ pip install hexpy/

Quick Start

>>> from hexpy import HexpySession, MonitorAPI
>>> session = HexpySession.login(username="user@email.com", password="crimson_login")
>>> monitor_results_client = MonitorAPI(session)
>>> monitor_results_client.details(monitor_id)
{'categories': [{'hidden': False,
   'id': 6054759055,
   'name': 'Basic Positive',
   'sortOrder': 100,
   'status': 'red',
   'trainingDocs': 0},
  {'hidden': False,
   'id': 6054759059,
   'name': 'Basic Neutral',
   'sortOrder': 101,
   'status': 'red',
   'trainingDocs': 0},
  {'hidden': False,
   'id': 6054759051,
   'name': 'Basic Negative',
   'sortOrder': 102,
   ...
}

Release files for hexpy 0.7.3

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

Source distribution (sdist)

Source distribution for hexpy 0.7.3
File Size Uploaded
hexpy-0.7.3.tar.gz 378.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hexpy 0.7.3
File Interpreter ABI Platform
hexpy-0.7.3-py36-none-any.whl Python 3.6 none any Details

Total release size: 413.3 kB

Release files / hexpy-0.7.3.tar.gz

Download URL hexpy-0.7.3.tar.gz
Size 378.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fd6e9ea62008573d24a9f0d93822f405464f3f776742112f19e43566d8845668
BLAKE2b-256 checksum
How to use checksums
42a437f0d96da70351067756a8cf66a6217e86ed9c798319be83f0d8c55355f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.6

Release files / hexpy-0.7.3-py36-none-any.whl

Download URL hexpy-0.7.3-py36-none-any.whl
Size 34.8 kB
Tags Python 3.6
SHA-256 checksum
How to use checksums
3d34e6440cebe9d9a2dd9a52a63fce46db1dff901bc086dd49a113a52c977063
BLAKE2b-256 checksum
How to use checksums
0ddc14345a5e2a141c26fdf8db2a05eadf801a7ed90da83b999eb6afcf2d11c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.7.3 This release

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.1

2 release files

0.3.0

2 release files

0.2.0

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