Skip to main content

joblogic-automation-services

Reusable SDK for Joblogic automation projects. Provides common infrastructure: Jicro client, OData client, SharePoint/OneDrive/mailbox client, audit logging (Cosmos DB), Slack/Teams notifications, PostgreSQL helpers, auth middleware, and shared enums/utilities.

Installation

Published on PyPI as joblogic-automation-services.

# Full install (all extras)
pip install "joblogic-automation-services[all]"

# Core only (JicroClient, ExecutionResult, config)
pip install joblogic-automation-services

# Selective extras
pip install "joblogic-automation-services[audit,db]"

# Pin a specific version
pip install "joblogic-automation-services==0.1.1"

Available extras: db, joblogic-db, audit, auth, appconfig, redis, all.

The import package name is joblogic_sdk:

import joblogic_sdk

Quick Start

from joblogic_sdk.jicro import JicroClient, JicroError
from joblogic_sdk.config import get_settings

async with JicroClient() as client:
    result = await client.execute(
        tenant_id=get_settings().tenant_id,
        service_name="core",
        message_signature="SearchJobMsg",
        payload={"searchText": "example", "pageSize": 10},
    )

Environment Variables

Variable Description
AUTOMATION_NAME Unique identifier for this automation. Used by the SDK to resolve the app's specific configuration from App Configuration under the key Automation/{AUTOMATION_NAME}. Must match the key name used in App Configuration exactly.
AZURE_APP_CONFIG_CONNECTION_STRING Key Vault-backed secret reference to the Azure App Configuration connection string. The application uses this to pull all other config at startup.
APPLICATION_ENVIRONMENT Target environment. Must be one of Uat, Staging, or Live — used directly as the Azure App Configuration label to load the correct environment's values.

Development

# Install with dev dependencies
pip install -e ".[all,dev]"

# Run tests
pytest tests/ -v

Release files for joblogic-automation-services 0.1.1

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

Source distribution (sdist)

Source distribution for joblogic-automation-services 0.1.1
File Size Uploaded
joblogic_automation_services-0.1.1.tar.gz 46.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for joblogic-automation-services 0.1.1
File Interpreter ABI Platform
joblogic_automation_services-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 92.3 kB

Release files / joblogic_automation_services-0.1.1.tar.gz

Download URL joblogic_automation_services-0.1.1.tar.gz
Size 46.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7b10afcedf8d881711efeca0c1eea1add82c966905cf2fbac321c010f780a7f5
BLAKE2b-256 checksum
How to use checksums
0b67c83c500102be94798e855cbb56873e4ff73d6e76a4aadd454f1a1f05fe7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / joblogic_automation_services-0.1.1-py3-none-any.whl

Download URL joblogic_automation_services-0.1.1-py3-none-any.whl
Size 45.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bbe7f6370724355287e3f346ec7bf4db1664d37b7837f335c84310477f6813d1
BLAKE2b-256 checksum
How to use checksums
452bbc2d8e3d55f602177fe61413337f00a11c9fce14b701feb7a4a4056e2a2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

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