Catalog PyPI
PACKAGE EXPLORERView in registry

agentscript-pyo3

PyPI
Versions collected1
Direct dependencies0From release 0.1.1
Last observed20 Oct, 23:18 UTC

README

Version 0.1.1 documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.125 Feb 20240

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 23:18 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:0ed4e7873baf0f9422bb4ebb09102a8d265b74656f429995fe166eb78674e382