Aether Python SDK
A Python SDK for the Aether workflow engine.
Installation
pip install aether-sdk
Quick Start
from aether import AetherService, step, activity, workflow
class MyService(AetherService):
service_name = 'my-service'
group = 'my-group'
language = ['python']
@step()
def process_data(self, data: dict) -> dict:
"""Process data step"""
return {**data, 'processed': True}
@activity(max_attempts=3, timeout=30000)
def analyze_data(self, data: dict) -> dict:
"""Analyze data with retry"""
return run_analysis(data)
@workflow()
async def pipeline(self, ctx, data: dict) -> dict:
"""Complete processing pipeline"""
processed = await ctx.step('self::process_data', data)
return await ctx.step('self::analyze_data', processed)
# Start the service
service = MyService()
await service.start(port=50051)
Features
- Decorators:
@step(),@activity(),@workflow() - Service Registration: Automatic registration with Aether server
- Context Methods:
ctx.step(),ctx.activity(),ctx.child() - Retry Logic: Built-in retry with exponential backoff
API Reference
AetherService
class AetherService:
service_name: str # Unique service identifier
group: str # Logical grouping
language: List[str] # Programming languages
async def start(self, host: str = '0.0.0.0', port: int = 50051)
async def stop(self)
Decorators
@step(name: Optional[str] = None)
@activity(options: Optional[ActivityOptions] = None, name: Optional[str] = None)
@workflow(name: Optional[str] = None)
Context Methods
async ctx.step(name: str, input: Any) -> Any
async ctx.activity(name: str, input: Any, options: Optional[ActivityOptions] = None) -> Any
async ctx.child(workflow: str, args: List[Any]) -> Any
License
MIT
Metadata
Release files for aether-framework-sdk 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aether_framework_sdk-0.1.4.tar.gz | 4.5 kB | Without provenance | Details for aether_framework_sdk-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aether_framework_sdk-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for aether_framework_sdk-0.1.4-py3-none-any.whl |
Total release size: 9.0 kB
Release files / aether_framework_sdk-0.1.4.tar.gz
| Download URL | aether_framework_sdk-0.1.4.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e3ec3c25a9f73cddbfb40108209df3fa0566d0c5c943afe4f8751aca9f49e3e
|
|
BLAKE2b-256 checksum How to use checksums |
ca955b509c23b5b78fe4822eec895424db5f6b164e95eb8f6bae0d22a711d407
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / aether_framework_sdk-0.1.4-py3-none-any.whl
| Download URL | aether_framework_sdk-0.1.4-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2fbbae8f846e62d4d77ffdbf3fef734734a03ce0723881f5be12a4e4f9b2c16c
|
|
BLAKE2b-256 checksum How to use checksums |
8f25b73fbcbcc85ac558731d5a10b6d31bed44b13b176ac4be8f5e6fa31904ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for aether-framework-sdk 0.1.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.