C-Helpers
Overview
Just like the old saying "girls just wanna have fun", so do software researchers.
Many of us sometimes need to just get the values of some basic C native types. We can look for them in the headers or just compile a simple C program to print them - which can be quite exhausting each time.
That's where c-helpers comes into place - Simply use the c-const and c-struct directly from your terminal!
For example:
$ c-struct 'struct dirent'
sizeof(struct dirent): 1048 (0x418)
$ c-struct 'struct dirent' d_ino
sizeof(struct dirent): 1048 (0x418)
offsetof(struct dirent, d_ino): 0 (0x00)
sizeof(struct dirent::d_ino): 8 (0x08)
$ c-const EAGAIN
35 (0x23)
Installation
python3 -m pip install c-helpers
Metadata
Release files for c-helpers 1.0.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 |
|---|---|---|---|---|
| c-helpers-1.0.0.tar.gz | 6.5 kB | Without provenance | Details for c-helpers-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| c_helpers-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for c_helpers-1.0.0-py3-none-any.whl |
Total release size: 11.4 kB
Release files / c-helpers-1.0.0.tar.gz
| Download URL | c-helpers-1.0.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfa7476b945af5328e9dc86ac68caf3527f3559de933a58be13e6114d3b64260
|
|
BLAKE2b-256 checksum How to use checksums |
9ec7052707b354d55dd938af99a003fd054bd9e6f394a17023b099c31ede3fd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / c_helpers-1.0.0-py3-none-any.whl
| Download URL | c_helpers-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b81b0a7eb359a09d7d3cfcf59ebf41be3746b944f9f6ae2cf984a9a3af4ea8a3
|
|
BLAKE2b-256 checksum How to use checksums |
f5abbd5f434e10a92269c86c77d87e4a7a6317106445a6163d65ca672436570e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for c-helpers 1.0.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.