Skip to main content

Core utilities for AnoSys SDK - AI observability and monitoring

Project description

AnoSys SDK Core

Core utilities for the AnoSys SDK - shared functionality for all AnoSys integrations.

Installation

pip install anosys-sdk-core

Usage

Function Decorators

from anosys_sdk_core import anosys_logger, anosys_raw_logger, setup_api
import os

os.environ["ANOSYS_API_KEY"] = "your-api-key"

# Decorator for automatic logging
@anosys_logger(source="my_app")
def my_function(data):
    return process(data)

# Async functions work too
@anosys_logger(source="my_app.async")
async def my_async_function(data):
    return await async_process(data)

# Raw logging
anosys_raw_logger({
    "event": "custom_event",
    "data": {"key": "value"}
})

API Reference

  • anosys_logger(source=None) - Decorator to log function calls
  • anosys_raw_logger(data) - Log arbitrary data directly
  • setup_api(path=None) - Configure API endpoint

License

MIT

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

anosys_sdk_core-1.0.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

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

anosys_sdk_core-1.0.0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file anosys_sdk_core-1.0.0.tar.gz.

File metadata

  • Download URL: anosys_sdk_core-1.0.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for anosys_sdk_core-1.0.0.tar.gz
Algorithm Hash digest
SHA256 069867433269e0a93f787b366d9f11d5c0e2bffc6e7c38d414a1d4754fc23f03
MD5 12035959917eb6d17ea5e80fcd8c8828
BLAKE2b-256 d33a328e1c74be7824ea30fc8aeb79c0eab7316e043d47a84a2a942898d60596

See more details on using hashes here.

Provenance

The following attestation bundles were made for anosys_sdk_core-1.0.0.tar.gz:

Publisher: release.yml on Anosys-AI/anosys-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file anosys_sdk_core-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for anosys_sdk_core-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8d858b7c555296be4896975c035692667f43624b25ed8c43152d3b3e5daa97b
MD5 3c9b71510acd03b93f62285e5898ab9c
BLAKE2b-256 b697a04ec323b0ab9827ed5aa2f29d02bfec76e896f76b5dc1d39e0c9a621d74

See more details on using hashes here.

Provenance

The following attestation bundles were made for anosys_sdk_core-1.0.0-py3-none-any.whl:

Publisher: release.yml on Anosys-AI/anosys-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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