Skip to main content

A Python package for LLM execution tracking and flow analysis

Project description

Aviro

A Python package for LLM execution tracking and flow analysis.

Installation

You can install aviro using pip:

pip install aviro

Usage

import aviro

# Create a Tropir instance for tracking
tropir = aviro.Tropir(api_key="your-api-key", base_url="https://api.tropir.com")

# Use as a context manager to track LLM calls
with tropir.span("my_llm_workflow"):
    # Your LLM calls will be automatically tracked
    pass

# Or use the Span class directly
span = aviro.Span("my_span", api_key="your-api-key")
with span.track_calls("my_case"):
    # LLM calls tracked here
    pass

Development

To set up the development environment:

# Clone the repository
git clone https://github.com/yourusername/aviro.git
cd aviro

# Install in development mode
pip install -e .

# Install development dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Format code
black aviro tests

# Lint code
flake8 aviro tests

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for your changes
  5. Run the test suite
  6. Submit a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aviro-0.1.1.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aviro-0.1.1-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file aviro-0.1.1.tar.gz.

File metadata

  • Download URL: aviro-0.1.1.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for aviro-0.1.1.tar.gz
Algorithm Hash digest
SHA256 52e1123b3d570dc8abbe1e534f13d572111925418de872076f162fa7d4ad3675
MD5 1bcc7b5c2bf4f3578758619af82d4c44
BLAKE2b-256 86df00f2e4b49851874bd352ac096d74e5e21705748c251fb9d52aacc334b558

See more details on using hashes here.

File details

Details for the file aviro-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: aviro-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 23.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for aviro-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 badb3011631dfb85ef548538d2324839db084b87e70ab659da115826d58ef91a
MD5 3445fbeec60e7de8c02b463f33021521
BLAKE2b-256 3d371cedd3576a3c7b0ae85b005592feec49a7f51ef667a9d9bab77a1488392a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page