Skip to main content

herakles jira tool

Tools for working with the Jira API.

Usage

Initialize

from herakles import JiraAuthBasic, JiraWrapper
auth = JiraAuthBasic("username", "password")
jira = JiraWrapper.connect("https://server.jira.com", auth)

# optional add map of custom fields.
jira.add_custom_fields_from_file("custom_fields.yml")

Use jql builder to programmatically build jql queries

See how many tickets a user resolved in the past number days:

query = {
            "and": [
                {"assignee": {"=": team_member}},
                {"resolved": {">": f"-{days}d"}},
                {"project": {"not in": ["'Unrelated Project'"]}},
            ]
        }

Contributors Guide

Testing

Testing is done via pytest.

$ pip install -r requirements.txt
$ pytest

To get code coverage information, you can run pytest directly.

$ pip install -r requirements.txt
$ pytest --cov=src --cov-report=html

This will generate an html coverage report in htmlcov/ directory.

Metadata

Release files for herakles 0.1.7

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

Source distribution (sdist)

Source distribution for herakles 0.1.7
File Size Uploaded Provenance Actions
herakles-0.1.7.tar.gz 10.9 kB Without provenance Details for herakles-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for herakles 0.1.7
File Interpreter ABI Platform Actions
herakles-0.1.7-py3-none-any.whl Python 3 none any Details for herakles-0.1.7-py3-none-any.whl

Total release size: 23.6 kB

Release files / herakles-0.1.7.tar.gz

Download URL herakles-0.1.7.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4f1660a05f533a129b14fe65ce2781dfe781085d6cb0bb1985635c0eafd244a6
BLAKE2b-256 checksum
How to use checksums
644aadf43e4b72d3ab3d58fde65d4a586baa6b1bf0c29c87e72741e08b6a8117
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.2 CPython/3.7.5 Linux/5.0.0-1027-azure

Release files / herakles-0.1.7-py3-none-any.whl

Download URL herakles-0.1.7-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08ee2dd5cd93e82c3b23d220220bb5ec4ad772b4e44d47c923af404da83cce06
BLAKE2b-256 checksum
How to use checksums
c83040fce083e75390f15896f3b4cfdf637a95c5fce71aacf69fb31e0e598207
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.2 CPython/3.7.5 Linux/5.0.0-1027-azure

Security for herakles 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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