Registry / observability / lumigo-core

lumigo-core

JSON →
library0.0.16pypypiunverified

Lumigo-core is an internal utility library providing core functionalities for other Lumigo Python packages, primarily the Lumigo Python tracers. It contains common utilities for environment detection, configuration, and reporting, designed to operate within the context of AWS serverless environments. It is not typically intended for direct end-user application development but is an essential dependency for Lumigo's observability tools. The current version is 0.0.16, and releases are tied to the needs of the Lumigo tracer libraries.

pip install lumigo-core
INSTALL
IMPORT
SIG · LUMIGO-CORE
L
lumigo-core
observabilitypythonv0.0.16
Install
1.6s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.0.16 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 1.6s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

is_aws_environment
from lumigo_core.utils import is_aws_environment
from lumigo_core.utils import is_aws_environment

Demonstrates accessing a simple utility function. While you can import and use these utilities, `lumigo-core` is generally an internal dependency for the Lumigo tracer, not a standalone library for direct end-user application setup. Many functionalities rely on the tracer's initialization.

from lumigo_core.utils import is_aws_environment, get_region import os # lumigo-core is primarily an internal utility. # Direct 'quickstarts' are uncommon. # This demonstrates accessing a basic utility function. print(f"Is running in AWS environment? {is_aws_environment()}") print(f"Detected AWS region: {get_region()}") # Example of how configuration might be accessed (internal use usually): from lumigo_core.configuration import Configuration Configuration.lumigo_debug_mode = True print(f"Lumigo Debug Mode: {Configuration.lumigo_debug_mode}")
Debug
Known issues
gotchaLumigo-core is primarily an internal dependency. Most direct usage is not officially supported or documented for end-users. It's designed to be consumed by other Lumigo libraries (e.g., `lumigo-tracer`), which handle its initialization and context.
fix
For tracing functionality, install and configure `lumigo-tracer` rather than directly using `lumigo-core` utilities. Only use `lumigo-core` directly if you understand its specific internal purpose.
affects: All versions
gotchaVersion compatibility between `lumigo-core` and `lumigo-tracer` (or other Lumigo libraries) is critical. Mismatched versions can lead to unexpected behavior or runtime errors.
fix
When upgrading, ensure that `lumigo-core` is updated as a dependency of `lumigo-tracer` (e.g., `pip install --upgrade lumigo-tracer`) rather than manually attempting to upgrade `lumigo-core` in isolation, unless explicitly advised.
affects: All versions
Upgrade
Version history
0.0.16latest on PyPI · released Jun 8, 2025
Audit
Dependencies
requestsrequiredHTTP client for various internal communications.
wraptrequiredDecorator utilities for wrapping functions and classes.
dataclasses_jsonrequiredJSON serialization/deserialization for dataclasses.
pyOpenSSLrequiredSSL/TLS functionality, potentially for secure communication.
charset_normalizerrequiredCharacter set detection and normalization.
Agent activity
24 hits · last 30 days
node
22
OpenAI (training)
2
Resources
lumigo-core — pip install lumigo-core · libregistry