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 callsanosys_raw_logger(data)- Log arbitrary data directlysetup_api(path=None)- Configure API endpoint
License
Apache 2.0
Project details
Release history Release notifications | RSS feed
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.10.tar.gz
(12.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file anosys_sdk_core-1.0.10.tar.gz.
File metadata
- Download URL: anosys_sdk_core-1.0.10.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c99d4f26ffcb223545a5ec55827255f3f8438447b85cbf1c6ee0f8c0fd10a5f6
|
|
| MD5 |
7374acd9d3494a9a4a3b14ca11c13777
|
|
| BLAKE2b-256 |
e24d812246b70ba31aea9db4aec4a63b770d88dc2a32c01ae4b01840deaec229
|
File details
Details for the file anosys_sdk_core-1.0.10-py3-none-any.whl.
File metadata
- Download URL: anosys_sdk_core-1.0.10-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d173af21e82e8a09d6ffe79c44d664f0443de96afa6c15cc14861bea1473dbee
|
|
| MD5 |
d2371f1fe3df9316b030ab19d67a2a30
|
|
| BLAKE2b-256 |
1cd6c917242a0cd84cc8748ddccf9799e85ec868927bf3de725b61e409fb43fe
|