Skip to main content

AI ROBO HUB

Reusable Python components for AI ROBO HUB applications.

Installation

pip install ai-robo-hub

Logging

AI ROBO HUB provides reusable, structured logging for Python applications.

Basic Usage

from airobohub.logging import configure_logging, get_logger

configure_logging(
    application="my-application",
    environment="production",
)

logger = get_logger(__name__)

logger.info(
    "Application started",
    operation="startup",
    event="application_started",
    status="success",
)

Logging Context

from airobohub.logging import set_context

set_context(
    request_id="REQ-1001",
    user_id="USER-1001",
    role="admin",
    plan="PAID",
    endpoint="/api/users",
)

Subsequent log entries automatically include the configured context.

Exception Logging

try:
    process_payment()
except Exception:
    logger.exception(
        "Payment processing failed",
        operation="payment",
        event="payment_failed",
        status="failed",
        business_explanation="Payment could not be completed",
        recommendation="Verify payment provider connectivity and retry",
    )

Exception type, message, and full stack trace are captured automatically.

Secret Masking

Sensitive values such as passwords, tokens, API keys, and secrets are automatically masked in structured log output.

Supported Environments

The package is designed to be reusable across:

AI applications
RPA applications
SaaS applications
APIs
Background services
Cloud deployments
License

MIT License.

Release files for ai-robo-hub 0.1.0

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

Source distribution (sdist)

Source distribution for ai-robo-hub 0.1.0
File Size Uploaded
ai_robo_hub-0.1.0.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ai-robo-hub 0.1.0
File Interpreter ABI Platform
ai_robo_hub-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.7 kB

Release files / ai_robo_hub-0.1.0.tar.gz

Download URL ai_robo_hub-0.1.0.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
edeb22ead6be0431d959217c7f79e941e7ec25b056683e08d3ed4090933650ef
BLAKE2b-256 checksum
How to use checksums
409ddef6dd80df7dd3f7347c7e1f57500e3d34cbcc0fd36c21279ab2bb0511b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / ai_robo_hub-0.1.0-py3-none-any.whl

Download URL ai_robo_hub-0.1.0-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d25dcf47140fec8b22b75293a6a145ce77899b634932db7ca9f9d3c45692e18f
BLAKE2b-256 checksum
How to use checksums
592b522b317b36b856ff052f057a88ae10673c95a8f5911cc6573c69c0c7326d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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