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
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
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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
069867433269e0a93f787b366d9f11d5c0e2bffc6e7c38d414a1d4754fc23f03
|
|
| MD5 |
12035959917eb6d17ea5e80fcd8c8828
|
|
| BLAKE2b-256 |
d33a328e1c74be7824ea30fc8aeb79c0eab7316e043d47a84a2a942898d60596
|
Provenance
The following attestation bundles were made for anosys_sdk_core-1.0.0.tar.gz:
Publisher:
release.yml on Anosys-AI/anosys-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anosys_sdk_core-1.0.0.tar.gz -
Subject digest:
069867433269e0a93f787b366d9f11d5c0e2bffc6e7c38d414a1d4754fc23f03 - Sigstore transparency entry: 892514607
- Sigstore integration time:
-
Permalink:
Anosys-AI/anosys-sdk@5757352cf4d92131cb50e96edc67d352de31ef8e -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Anosys-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5757352cf4d92131cb50e96edc67d352de31ef8e -
Trigger Event:
release
-
Statement type:
File details
Details for the file anosys_sdk_core-1.0.0-py3-none-any.whl.
File metadata
- Download URL: anosys_sdk_core-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8d858b7c555296be4896975c035692667f43624b25ed8c43152d3b3e5daa97b
|
|
| MD5 |
3c9b71510acd03b93f62285e5898ab9c
|
|
| BLAKE2b-256 |
b697a04ec323b0ab9827ed5aa2f29d02bfec76e896f76b5dc1d39e0c9a621d74
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anosys_sdk_core-1.0.0-py3-none-any.whl -
Subject digest:
e8d858b7c555296be4896975c035692667f43624b25ed8c43152d3b3e5daa97b - Sigstore transparency entry: 892514657
- Sigstore integration time:
-
Permalink:
Anosys-AI/anosys-sdk@5757352cf4d92131cb50e96edc67d352de31ef8e -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Anosys-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5757352cf4d92131cb50e96edc67d352de31ef8e -
Trigger Event:
release
-
Statement type: