Skip to main content

unfragile (Python)

The Unfragile API in a few calls, and offline checks of what it signs. The calls use only the standard library; the signature check needs pip install "unfragile[verify]" (it adds cryptography, since Python has no Ed25519).

from unfragile import Unfragile, verify_receipt

u = Unfragile()                                   # keyless: the free daily allowance; or Unfragile(api_key=...)
r = u.find("refund a stripe payment", answer=True)
print(verify_receipt(r["receipt"]).valid)         # Ed25519, checked on your machine

v = u.verify("npm:@stripe/mcp")                   # {"verdict", "reason", "record", "passport"}

Calls: find, search, verify, resolve, passport, stats. Errors are UnfragileError with the API's own message, and parameter, retry_after_s and scope when the API names them.

Metadata

Release files for unfragile 0.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 unfragile 0.1.0
File Size Uploaded Provenance Actions
unfragile-0.1.0.tar.gz 5.9 kB Without provenance Details for unfragile-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 12.8 kB

Release files / unfragile-0.1.0.tar.gz

Download URL unfragile-0.1.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ee2a76dedb5a8fa34c75a6f8f87ab1165cbedcc4c4a6618f31212e4d8ac0e17f
BLAKE2b-256 checksum
How to use checksums
b5e7c5dffc600837cf9a43bf978cad9fd7e7bb6aec08f997d803d0c0cc41d4b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / unfragile-0.1.0-py3-none-any.whl

Download URL unfragile-0.1.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f10f37dd2f6be11a86acd10dea217e82b79d53328883183fad6334b329d37b2
BLAKE2b-256 checksum
How to use checksums
2c93e2dcea21c7a21baa0df423f8571476ad8ed7d564681953fe30f449c780f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for unfragile 0.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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