Skip to main content

pyhatching

An async HTTP client to interact with the Hatching Triage Sandbox API (tria.ge).

Supports the whole Triage API (public, private, and self-hosted instances):

  • Sample submission (files, URLs, fetched URLs, and imports) and interactive profile selection
  • Sample searching, listing (owned/org/public), retrieval, and deletion - with pagination
  • Sample events (streamed status changes)
  • Overview, static, task (triage), summary, UrlScan, and kernel monitor reports
  • Sample, task file (pcaps, dropped files, memory dumps, screenshots), and archive downloads
  • Analysis profile management (including VPN geolocations)
  • Yara rule management
  • Resources (analysis environments), geolocations, and usage statistics
  • Magic link tokens and organization settings
  • User and API key management (private instances)

pyhatching.testing.FakeTriage is a fake Triage API server for testing code built on pyhatching.

Read the full documentation here.

Releasing

Releases are cut from GitHub Actions with the Prepare Release workflow, and pending changes are tracked under a ## Unreleased header in CHANGELOG.md.

  1. Add entries to the ## Unreleased section at the top of CHANGELOG.md (under its ### Features and ### Fixes headers) as changes land on main.
  2. Go to Actions → Prepare Release → Run workflow on main, pick a patch/minor/major bump (or enter an explicit version).

The workflow runs the tests, bumps the version, renames ## Unreleased to ## v#.#.# - <date> (starting a fresh empty ## Unreleased above it), commits, and pushes a v#.#.# tag. The Release workflow then builds the package, uploads it to PyPI (using the PYPI_DEPLOY_TOKEN secret), creates a GitHub Release with the changelog entry as notes and the package and docs attached, and notifies the docs site. Pushing a v* tag manually (e.g. make release VERSION=#.#.#) also triggers the Release workflow.

main is protected, so Prepare Release pushes the release commit and tag with the RELEASE_TOKEN repository secret: a token with Contents: read and write from an account allowed to bypass the branch protection rule. The tag push starts the Release workflow as its own run under Actions.

The workflows rely on these repository secrets:

  • PYPI_DEPLOY_TOKEN - the PyPI API token used to upload the package.
  • DOCS_DISPATCH_TOKEN - used to notify the docs site repo.
  • RELEASE_TOKEN (required by Prepare Release) - see above. If it expires or is revoked, the push step fails and the token needs to be replaced.

Metadata

Release files for pyhatching 1.1.0

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

Source distribution (sdist)

Source distribution for pyhatching 1.1.0
File Size Uploaded Provenance Actions
pyhatching-1.1.0.tar.gz 47.5 kB Without provenance Details for pyhatching-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 87.6 kB

Release files / pyhatching-1.1.0.tar.gz

Download URL pyhatching-1.1.0.tar.gz
Size 47.5 kB
Tags Source
SHA-256 checksum
How to use checksums
14dec368797f74056b81cae4534f61a13e36305d915f02c20ca148e7dca46f13
BLAKE2b-256 checksum
How to use checksums
c2555cd83bc23b4710d01f38ee56b3900e425c49a242539bfc112262e3077484
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release files / pyhatching-1.1.0-py3-none-any.whl

Download URL pyhatching-1.1.0-py3-none-any.whl
Size 40.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2703902684fec99dfb4a6439c23c1368eb15d053908577ff98a40bed47324fae
BLAKE2b-256 checksum
How to use checksums
2e17c4c48964c67afee32a55a5de4af4549b36a6b3ae47b5170524cc30d2aaac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Security for pyhatching 1.1.0

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