Skip to main content

joblogic-automation-sdk

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

# Full install (all extras)
pip install "joblogic-automation-sdk[all] @ git+https://joblogicltd@dev.azure.com/joblogicltd/JobLogic%20Automations/_git/joblogic-automation-sdk@uat"

# Core only (JicroClient, ExecutionResult, config)
pip install "joblogic-automation-sdk @ git+https://joblogicltd@dev.azure.com/joblogicltd/JobLogic%20Automations/_git/joblogic-automation-sdk@uat"

# Selective extras
pip install "joblogic-automation-sdk[audit,db] @ git+https://joblogicltd@dev.azure.com/joblogicltd/JobLogic%20Automations/_git/joblogic-automation-sdk@uat"

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.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 joblogic-automation-services 0.1.0
File Size Uploaded
joblogic_automation_services-0.1.0.tar.gz 46.6 kB Details

Built distribution (wheel)

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

Total release size: 92.2 kB

Release files / joblogic_automation_services-0.1.0.tar.gz

Download URL joblogic_automation_services-0.1.0.tar.gz
Size 46.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d3d37381cdc31c260baa17ebe9154ccf0e9ad0459cac649e754ccc0e382ef3ad
BLAKE2b-256 checksum
How to use checksums
298652d8ff56031be87ca4acb5694063d29099a400334006e8cb15f49ccb2ed2
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.0-py3-none-any.whl

Download URL joblogic_automation_services-0.1.0-py3-none-any.whl
Size 45.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e78847b20a79fa8383dd45b17d1976c079f23cef28ee24aa517a16646781032
BLAKE2b-256 checksum
How to use checksums
72c4608063afe6a3ff3d989df910befd74a7c3ce4ec746409ed25b4849dfdf0f
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

0.1.1

2 release files

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