Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.2.2 instead.
Reason given by maintainers: Broken public package metadata/onboarding links. Use the next patch release

CoAkka Logger Python

Python connector package for the standalone CoAkka native logger core.

New To CoAkka

CoAkka is a native-backed runtime and logger toolkit for application-owned work. The logger package gives Python applications a small host API over the native logger core, with bounded queues, pressure state, manual draining, structured records, and native-backed lifecycle without asking users to wire a separate logging service.

Use these public repositories to orient first:

Repository Use it for Link
coakka-samples Runnable examples and code you can inspect first. https://github.com/phuong-tran/coakka-samples
coakka-publish Released packages, native archives, manifests, checksums, compatibility matrix, and release notes. https://github.com/phuong-tran/coakka-publish

Samples docs directory: https://github.com/phuong-tran/coakka-samples/tree/main/docs

Public artifact and release notes: https://github.com/phuong-tran/coakka-publish

Try the PyPI package without cloning any CoAkka repo:

python3 -m venv coakka-logger-first-run
source coakka-logger-first-run/bin/activate
python -m pip install coakka-logger==1.2.1
from coakka_logger import CoakkaLoggerLevel, Logger, LoggerSpec

with Logger.start(spec=LoggerSpec(system_name="logger-first-run", min_level=CoakkaLoggerLevel.INFO)) as logger:
    sequence = logger.info("orders", "accepted")
    record = logger.await_next(timeout_ms=1000)
    print({"sequence": sequence, "category": record.category, "message": record.message})

This package is intentionally smaller than the runtime connector:

  • load libcoakka_logger_core through ctypes
  • keep Python-side formatting above the native core
  • let the native logger own queueing, pressure policy, sinks, and lifecycle
  • package staged native libraries into the wheel for macOS aarch64, Linux aarch64/x86_64, and Windows aarch64/x86_64

Build

./logger/python/scripts/build_wheel.sh

The script stages native libraries from:

logger/staging/native/1.2.1+f50756ebff0d/

Smoke

./logger/python/scripts/test_package.sh
./logger/python/scripts/smoke_packaged_wheel.sh
./logger/python/scripts/check_pypi_readiness.sh

Example

from coakka_logger import Logger

with Logger.start() as logger:
    logger.info("app", "started")
    record = logger.await_next(timeout_ms=1000)

Public docs:

Metadata

Release files for coakka-logger 1.2.1

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

Built distribution (wheel)

Table of built distributions (wheels) for coakka-logger 1.2.1
File Interpreter ABI Platform
coakka_logger-1.2.1-py3-none-any.whl Python 3 none any Details

Release files / coakka_logger-1.2.1-py3-none-any.whl

Download URL coakka_logger-1.2.1-py3-none-any.whl
Size 1.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6112e8bbb6d106e43836e1f73bca139551015aa682896ea8d7c640c08571cd73
BLAKE2b-256 checksum
How to use checksums
e3ca8ca45ed484f1e49c651ff40c0bdb2d8d16ae6d1c11fcc00923fd0ff43d72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release history Release notifications | RSS feed

1.2.2

1 release file

This release

1.2.1 This release

1 release file

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