Skip to main content

PyZenHub

Python bindings to the Zenhub API.

Project status

License PyPI Python Version Tests Typing codecov

Usage

from zenhub import Zenhub

zh = Zenhub('<zenhub_token>')
zh.get_epics('<repo_id>')  # Dictionary

Return models instead of dictionaries

from zenhub import Zenhub

zh = Zenhub('<zenhub_token>', return_models=True)
zh.get_epics('<repo_id>')  # Pydantic model!

Methods will always return dates as datetime.datetime objects, not strings.

For enterprise installs

from zenhub import Zenhub

zh = Zenhub('<zenhub_token>', base_url='<enterprise-api-endpoint>')
zh.get_epics('<repo_id>')

To select the enterprise version use the enterprise parameter.

from zenhub import Zenhub

zh2 = Zenhub('<zenhub_token>', base_url='<enterprise-api-endpoint>', enterprise=2)
zh.get_epics('<repo_id>')

zh3 = Zenhub('<zenhub_token>', base_url='<enterprise-api-endpoint>', enterprise=3)
zh.get_epics('<repo_id>')

Documentation

See ZenHub official API documentation.

Release files for pyzenhub 0.3.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 pyzenhub 0.3.2
File Size Uploaded
pyzenhub-0.3.2.tar.gz 16.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyzenhub 0.3.2
File Interpreter ABI Platform
pyzenhub-0.3.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 35.0 kB

Release files / pyzenhub-0.3.2.tar.gz

Download URL pyzenhub-0.3.2.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
26ecafccbd00edd652fbc8204fa218c25eaa89fc827db70e3fa9a4ea7384c910
BLAKE2b-256 checksum
How to use checksums
a26c852a4dc8e8a627f16bf0e1cdf08b0628c4b41abe54e0b8914820862c1cd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / pyzenhub-0.3.2-py2.py3-none-any.whl

Download URL pyzenhub-0.3.2-py2.py3-none-any.whl
Size 19.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
37493ef893168feb54e8413eed79f7c6c260226c0f8b4ca7260e02a2557e4abe
BLAKE2b-256 checksum
How to use checksums
698e440566faaf5e03a3c34986717df07a1631439906161fe32a0d1747a6bed7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.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