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.2.tar.gz (26.7 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.2-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aviro-0.1.2.tar.gz
  • Upload date:
  • Size: 26.7 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.2.tar.gz
Algorithm Hash digest
SHA256 51cb7bab627c7a917b833d403e9aa6dbf4af98181148c50b912ff19a7bf578a6
MD5 5727c96ceb3adb26136a6aa590c02ba9
BLAKE2b-256 b8be4f56b8353be882b5fc112efe12f82bb416662cd3f443c5273958b54e681d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aviro-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 28.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 71e750dfa274b81f1c7aa025799fd9e180fc8ec7d08621aebfe9a651c48b37dd
MD5 74a4fe70de60b6d4b6c7d28ff80d4c63
BLAKE2b-256 fbbd54792b168a7d0870053fa11d44d0de28f340dd772e021160d86fbc783ea9

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