Skip to main content

smartypants-network (Python)

The Smarty Pants Python kit as an installable package. Python 3.8 or newer, standard library only.

pip install smartypants-network
from smartypants_network import SmartyPants
sp = SmartyPants()                       # reads SMARTYPANTS_API_KEY
print(sp.ask("Say hello in five words."))
with sp.workspace(minutes=10) as ws:     # one VM, many commands (our own account first)
    ws.put_file("data.txt", "hello")
    print(ws.run("sh", "cat data.txt | wc -c")["stdout"])

The module is smartypants_network, not smartypants, because PyPI already has an unrelated smartypants package. The one-file download at https://smartypants.network/kits/smartypants.py keeps from smartypants import SmartyPants.

For the command line, use the smartypants tool from the npm package (see packages/cli).

Build from the repo root:

node packages/cli/scripts/sync-kits.mjs          # copies apps/gateway/agent-kit/smartypants.py here
python3 -m pip wheel --no-deps -w packages/python/dist packages/python

MIT licence. Published by the "Publish agent packages" workflow; bump version in pyproject.toml first.

Metadata

Release files for smartypants-network 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 smartypants-network 0.1.0
File Size Uploaded Provenance Actions
smartypants_network-0.1.0.tar.gz 7.6 kB With provenance Details for smartypants_network-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 15.8 kB

Release files / smartypants_network-0.1.0.tar.gz

Download URL smartypants_network-0.1.0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
47ae7343bb8175bb1e401e49dd53949d5ea3f3f9798bc060e37fd152bf06f3b1
BLAKE2b-256 checksum
How to use checksums
c91e7bfa2e246d20874904e63d10c12af76a0956f11b078ca19b1cc9ca6171df
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 Nov 9, 2026.

Transparency log

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

Download URL smartypants_network-0.1.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45ee456bf954939f7e205b8e3907f541ef0916397702c9079febee9419d670a4
BLAKE2b-256 checksum
How to use checksums
7cc16c175cb9c31306762f0e27926d9726e886a27859116d2c9bc6b342790071
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 Nov 9, 2026.

Transparency log

Security for smartypants-network 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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for smartypants_network-0.1.0.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 Nov 9, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full 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