Skip to main content

Scarwise – Python SDK

Your AI agents make a mistake once. Not twice.

Guard the tools of your own Python application: a tool call that already failed the same way on this computer is stopped before it runs, with an explanation of what worked.

npm install -g scarwise     # the Scarwise command (Node.js 22 or newer)
pip install scarwise
from scarwise import guard, ScarwiseStop

@guard("db.query")
def run_query(sql): ...

try:
    run_query("select 1")
except ScarwiseStop as e:
    print(e)   # the known mistake and what worked

If the scarwise command is missing or has a problem, the tool simply runs.

Guide, supported agents, privacy and license: https://github.com/DomitorAI/scarwise

Metadata

Release files for scarwise 0.1.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 scarwise 0.1.3
File Size Uploaded Provenance Actions
scarwise-0.1.3.tar.gz 3.4 kB With provenance Details for scarwise-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 6.8 kB

Release files / scarwise-0.1.3.tar.gz

Download URL scarwise-0.1.3.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1489848cd88ee4eb5b130e4c70e97d42774c0b7abfe7a4a377e46fc9e13e1a82
BLAKE2b-256 checksum
How to use checksums
1a0caed7f5ae010f9ad09af01dfdba7e0fcc09f62e42071eaa0c49f1f9b7140c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / scarwise-0.1.3-py3-none-any.whl

Download URL scarwise-0.1.3-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97531d6cdf9a407840fec85c29f949fd21c924041b63e8328eab0338982d4e87
BLAKE2b-256 checksum
How to use checksums
31b4cbfa9f617d86731f36538ac544680ff837f52f7cd9713dc07a4c16973d9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for scarwise 0.1.3

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for scarwise-0.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

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