systemd_ctypes
A small pure-ctypes wrapper around libsystemd.
This projet aims to build a small wrapper around libsystemd based on ctypes, using semi-automated binding techniques. The highlevel goals are:
- easy to embed in other projects (eg: in
zipapppackages) - small code size with little binding-related boilerplate: in many cases, one line per bound function
- reasonable performance, but not at the cost of readability
- seemless integration of systmed's event loop with
asyncio, includingasync/await.
The initial focus is on the sd_event and sd_bus APIs.
This project originated as a weekend hack to support the efforts to write a portable Python version of cockpit-bridge.
Run tests with test/run.
Metadata
Release files for systemd_ctypes 0
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 |
|---|---|---|---|---|
| systemd_ctypes-0.tar.gz | 21.4 kB | Without provenance | Details for systemd_ctypes-0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| systemd_ctypes-0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for systemd_ctypes-0-py2.py3-none-any.whl |
Total release size: 44.0 kB
Release files / systemd_ctypes-0.tar.gz
| Download URL | systemd_ctypes-0.tar.gz |
|---|---|
| Size | 21.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f45d344a329fc35d4d9096244ea723864eb58bd2d7b02310772a84e4eefe8285
|
|
BLAKE2b-256 checksum How to use checksums |
af83799e1cf4e9fcd030c2002f442e6520259f0f4f7334f6c076c23898e05c05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|
Release files / systemd_ctypes-0-py2.py3-none-any.whl
| Download URL | systemd_ctypes-0-py2.py3-none-any.whl |
|---|---|
| Size | 22.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
acc06460fc826e415f6ab6e52f039ba3e1570ce39e6ce4eaedc58c1172f97bcf
|
|
BLAKE2b-256 checksum How to use checksums |
aafa2bf34883c0f5624fc1a9eadfcb9361376f02d7d9206e9836951471942d26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|
Security for systemd_ctypes 0
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.