Registry / observability / pyinstrument-cext

pyinstrument-cext

JSON →
library0.2.4pypypiunverified

A CPython extension that supports pyinstrument by providing a C-level hook for profiling. Version 0.2.4 is the latest release. The project is in maintenance mode; it is a dependency of pyinstrument and not typically used directly.

pip install pyinstrument-cext
INSTALL
IMPORT
SIG · PYINSTRUMENT-CEXT
P
pyinstrument-cext
observabilitypythonv0.2.4
Install
1.8s avg
Import
Disk
18MB
Pass rate
1/ 10
Env Coverage1 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.2.4 · 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
glibc
py 3.10
✕ build_error
✕ build_error
py 3.11
✕ build_error
✕ build_error
py 3.12
✕ build_error
✕ build_error
py 3.13
✕ build_error
✕ build_error
py 3.9
✕ build_error
✓ 1.8s
18MB installed
● package 18MB
Code
Verified usage

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

_cext
import pyinstrument_cext._cext
The module is typically imported internally by pyinstrument. Direct import is not recommended.

The extension is automatically used by pyinstrument when available. No user-facing API.

import pyinstrument_cext # The extension is loaded automatically by pyinstrument, not used directly.
Debug
Known issues
gotchaThis package is a C extension and must be compiled during installation. If no pre-built wheel is available, a C compiler is required.
fix
Install with pip; if compilation fails, ensure you have a C compiler (e.g., 'build-essential' on Linux, Xcode on macOS, or Microsoft C++ Build Tools on Windows).
affects: all
gotchaDo not import pyinstrument_cext directly in user code. It is an internal dependency of pyinstrument and its API may change without notice.
fix
Use pyinstrument for profiling. The extension is automatically loaded.
affects: all
deprecatedThe project appears to be in maintenance mode with no recent updates. Future versions of pyinstrument may drop this dependency.
fix
Check pyinstrument release notes for any migration to alternative implementations.
affects: 0.2.4 and earlier
Upgrade
Version history
0.2.4latest on PyPI · released Feb 12, 2021
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
18
OpenAI (training)
2
Resources