gbinder: Cython Extension Module for libgbinder
gbinder is a Python module providing a Cython-based interface to the libgbinder library, enabling Python developers to leverage the power of libgbinder seamlessly. This README will guide you through the installation, usage, and development process for the gbinder module.
Features
- Python bindings for
libgbinderusing Cython. - Easy integration with your projects.
- Support for both PyPI and manual source builds.
Table of Contents
Prerequisites
Before installing gbinder, ensure the following dependencies are installed on your system:
sudo apt update
sudo apt install libgbinder-dev libglibutil-dev pkgconf
If you plan to develop or customize gbinder, you will also need to install Cython:
pip install cython
Installation
Installing from PyPI
The easiest way to install gbinder is via PyPI:
pip install gbinder
Installing via apt
If your Linux distribution provides gbinder in its repositories, you can install it using:
sudo apt install python-gbinder
Usage
Verifying the Installation
After installation, verify the module by importing it in a Python shell:
python
>>> import gbinder
>>> print("gbinder imported successfully.")
Building from Source
For those who wish to contribute or build gbinder from source, follow these steps:
-
Clone the repository:
git clone https://github.com/Kyle6012/gbinder.git cd gbinder
-
Build the extension using Cython:
python setup.py build_ext --inplace
-
Test the module from the current directory:
python >>> import gbinder >>> print("gbinder is working.")
Additional Information
For detailed usage instructions and API documentation, refer to the source code or open an issue on the GitHub repository.
Acknowledgements
This README is inspired by the geographiclib-cython-bindings project. Special thanks to @megaserg for the inspiration and guidance.
Metadata
Release files for gbinder 1.2.1
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 |
|---|---|---|---|---|
| gbinder-1.2.1.tar.gz | 208.4 kB | Without provenance | Details for gbinder-1.2.1.tar.gz |
Release files / gbinder-1.2.1.tar.gz
| Download URL | gbinder-1.2.1.tar.gz |
|---|---|
| Size | 208.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dbbd07072490730bb0dccb31fe44405ebae5826cbf69cf68f02bae5d42487d39
|
|
BLAKE2b-256 checksum How to use checksums |
17e7088d732d6286c5bf53819f1b7c4a1b039ac70dc8fc3a520092756cb79011
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.1
|
Security for gbinder 1.2.1
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.