Skip to main content

Auto Genesis SDK

Python Version PyPI Version Code Style Imports Type Checking Tests

The Auto Genesis SDK serves as the unified interface for all Autonomize service SDKs. It provides a streamlined way to access and utilize various Autonomize capabilities through a single, cohesive package. This centralized approach simplifies dependency management and ensures version compatibility across all Autonomize SDKs.

Features

The Auto Genesis SDK provides several key advantages:

  • Unified Access: Single entry point for all Autonomize SDKs
  • Version Compatibility: Guaranteed compatibility between different SDK modules
  • Simplified Dependencies: Managed dependencies and requirements across all SDKs
  • Consistent Interface: Standardized API patterns across all SDK modules
  • Integrated Configuration: Unified configuration management for all services

Available SDKs

Currently, the Auto Genesis SDK includes the following modules:

Telemetry SDK

Comprehensive observability solution built on OpenTelemetry, providing:

  • Unified metrics, logging, and tracing capabilities
  • FastAPI auto-instrumentation
  • Configurable export endpoints
  • Structured logging with context
  • Custom metric creation and management

Installation

You can install the Auto Genesis SDK using pip:

pip install auto-genesis-sdk

Or using Poetry:

poetry add auto-genesis-sdk

Quick Start

Here's how to get started with the Auto Genesis SDK:

from auto_genesis_sdk import Telemetry, TelemetryConfig

# Configure telemetry service
config = TelemetryConfig(
    service_name="my-service",
    environment="production",
    otlp_endpoint="http://localhost:4317",
    version="1.0.0"
)

# Initialize telemetry
telemetry = Telemetry(config)
await telemetry.start()

try:
    # Use telemetry features
    telemetry.logging.info("Application started", {"version": "1.0.0"})

    # Create metrics
    request_counter = telemetry.metrics.create_counter(
        name="http.requests",
        description="Number of HTTP requests"
    )

    # Use tracing
    async def my_operation():
        return "result"

    result = await telemetry.tracing.create_span(
        "my-operation",
        my_operation
    )
finally:
    await telemetry.shutdown()

Configuration

Each SDK module maintains its own configuration options while sharing common patterns. For example, the Telemetry SDK configuration:

TelemetryConfig(
    service_name="my-service",
    environment="production",
    version="1.0.0",
    otlp_endpoint="http://localhost:4317",
    metric_interval_ms=5000,
    log_level="INFO"
)

Development

To set up the development environment:

  1. Clone the repository:
git clone https://github.com/autonomize-ai/auto-genesis-sdk.git
  1. Install dependencies with uv:
uv venv
uv pip install -e .
  1. Install pre-commit hooks:
uv pip install pre-commit
pre-commit install

Testing

Run the test suite using pytest:

uv pip install pytest
pytest

Contributing

We welcome contributions to the Auto Genesis SDK! Please read our Contributing Guide before making any changes.

When contributing, keep in mind:

  • Follow the existing code style and documentation patterns
  • Add tests for new features
  • Update documentation as needed
  • Maintain compatibility with existing SDK modules

License

This project is licensed under the terms of the LICENSE.

Metadata

Release files for auto-genesis-sdk 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for auto-genesis-sdk 0.0.4
File Size Uploaded Provenance
auto_genesis_sdk-0.0.4.tar.gz 6.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for auto-genesis-sdk 0.0.4
File Interpreter ABI Platform
auto_genesis_sdk-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / auto_genesis_sdk-0.0.4.tar.gz

Download URL auto_genesis_sdk-0.0.4.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2230db81df84fc8e21ee6c0e40c3c5bb4c5a1180008312bfe417274dfb8a3afc
BLAKE2b-256 checksum
How to use checksums
848509d229dcf93a242c711ffa1b7470b3ef4ac97a10775afc3e0594e353406a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.1 {"installer":{"name":"uv","version":"0.10.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / auto_genesis_sdk-0.0.4-py3-none-any.whl

Download URL auto_genesis_sdk-0.0.4-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa4cdcd370e1c832340cdddd3bad67d7f429e7481c1b74b03297e07bcdd5a4b0
BLAKE2b-256 checksum
How to use checksums
96b729c49fddc23a22dc34220586633c51d26cfc2b828cf886ae76c3a858c8d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.1 {"installer":{"name":"uv","version":"0.10.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for auto-genesis-sdk 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page