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

Apache 2.0

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.1.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.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anosys_sdk_core-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 09dddf05ecf05f3b2f52180470d227033efa98963dd13453afe0a9fa913889ea
MD5 74ade2cdce17bf1f01158202e4c1c03b
BLAKE2b-256 9b055a79ea44cc422cf7aaf642ab38999396eeb13803d1ea5761dfd6cbecf8ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for anosys_sdk_core-1.0.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for anosys_sdk_core-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a6f2d356e0b3d1d43016ea2a8eb31348f74361fc5b7ccaf5c8c56ddf14d9f01b
MD5 bbc429c050a51342d91217198baba878
BLAKE2b-256 dff37c24e1908b74b84af048eec820109a7fb294b202d3e26fb8762426a7da3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for anosys_sdk_core-1.0.1-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