Skip to main content

Olympus AI — Log ingestion SDK for Python

Project description

Olympus Python SDK

Official Python SDK for Olympus — AI-powered log analysis and debugging platform.

Installation

pip install olympus-sdk

Quick Start

from olympus import Olympus

with Olympus(api_key='ol_your_key_here', service='payment-svc') as client:
    client.info('Payment processed — $14.99')
    client.warn('Retry attempt 2/3')
    client.error('Connection timeout after 30s')
    client.debug('Query executed in 42ms')

Configuration

Option Type Default Description
api_key str required Your Olympus API key (ol_...)
service str required Service name for log grouping
endpoint str https://api.olympusai.in Olympus server URL
flush_interval float 10.0 Seconds between auto-flushes
batch_size int 100 Max logs per flush

Features

  • Buffers logs in memory, flushes in batches
  • Auto-flushes every 10s (configurable)
  • Auto-flushes when buffer hits batch size
  • Retries on failure (puts logs back in buffer)
  • Context manager support (with statement)
  • Zero dependencies (stdlib only)

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

olympus_ai_sdk-0.1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

olympus_ai_sdk-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file olympus_ai_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: olympus_ai_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for olympus_ai_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4a1c02f0609c281f5b792f8b2e1ebf84365e27863998fccd8933889cf5b94646
MD5 86581064427abbca7d43031f2532715a
BLAKE2b-256 386984b2741e8c55f60fd05d4e3ad4d3d7a7efbc587f26d6e31f769972cc22f5

See more details on using hashes here.

File details

Details for the file olympus_ai_sdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: olympus_ai_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for olympus_ai_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 62c599042dbe0cef11532fbb934b01a2a9f47f57d150a79af1edbb2bfe09fb4b
MD5 d44c82f5a48cf4f4f5915d19e65f88db
BLAKE2b-256 7363ecd69446fddfad7f84c1b57945d278e450bf158681521747af6278c1b2c2

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