Skip to main content

agentscript.pyo3

Python bindings for the Rust agentscript interpreter.

Binds Agentscript.rs to Agentscript.

Install

pip install agentscript_pyo3

Usage

from agentscript_pyo3 import Parser

parser = Parser()

message = 'We need to do translation <Invoke tool="Translator" action="translate" parameters={"text": "Hello", "options": {"from": "en", "to": "es"}} /> with some tailing text'
parser.parse(message)

parsed_data = parser.get_parsed_data()
print(parsed_data)

Develop

To test

python -m venv .venv
source .venv/bin/activate
maturin develop
make test

To publish

maturin publish

Metadata

Release files for agentscript-pyo3 0.1.1

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

Source distribution (sdist)

Source distribution for agentscript-pyo3 0.1.1
File Size Uploaded Provenance Actions
agentscript_pyo3-0.1.1.tar.gz 12.9 kB Without provenance Details for agentscript_pyo3-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentscript-pyo3 0.1.1
File Interpreter ABI Platform Actions
agentscript_pyo3-0.1.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for agentscript_pyo3-0.1.1-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 734.6 kB

Release files / agentscript_pyo3-0.1.1.tar.gz

Download URL agentscript_pyo3-0.1.1.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7ff7a0f75ef16f643dcb685a8a0cf4d79cc97a933c8403a3e79ab5f0d458d32f
BLAKE2b-256 checksum
How to use checksums
48fc58f671a68ad1f076cb0e4b6e844c9330fcffaaba693ed74f74d8c2cc3d79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.4.0

Release files / agentscript_pyo3-0.1.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL agentscript_pyo3-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
Size 721.8 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e212dec5712c51d388d941f14fc58f5cdc42f42e7b3106b0aa096c0489ed99c9
BLAKE2b-256 checksum
How to use checksums
957b4803c34f6293a0199cd957e46cac467c2592943ff74d3fceebbc993e38c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.4.0

Security for agentscript-pyo3 0.1.1

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.1 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