Useful Python 3 Python/C API functions.
Project description
The PLIB3.EXTENSIONS package contains functions (and possibly, in the future, other objects) exported from an extension module written using the Python/C API. The general philosophy of PLIB3 is to do everything possible in pure Python, so the only functions that appear in this package are those which by their very nature cannot be done in pure Python.
Note: PLIB3.EXTENSIONS works with Python 3. If you are using Python 2.7, see the PLIB.EXTENSIONS package, available at https://pypi.org/project/plib.extensions.
The setup.py script for PLIB3.EXTENSIONS uses the setuputils helper module, which helps to automate away much of the boilerplate in Python 3 setup scripts. This module is available as a separate release at https://pypi.org/project/setuputils3.
The PLIB3.EXTENSIONS Package
The following functions are available in the plib.extensions namespace:
The capsule_compare function checks whether two Capsules wrap the same C-level pointer.
Installation
To install PLIB3.EXTENSIONS, you can simply run:
$ python3 setup.py install
at a shell prompt from the directory into which you unzipped the source tarball (the same directory that this README file is in). This will install PLIB3 and then run each of the post-install scripts in the scripts directory.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for plib3.extensions-1.1.post2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b85337b209595fbaf6a647ee3bc090dc74d3c5a6233e0f34b85b2a639005f4e8 |
|
MD5 | 476f5e86c058e17cecd392a4a6383e76 |
|
BLAKE2b-256 | e5dfd3f363df07ac26c7784784c8e0019b5d406ac891b97436db4b4a1486f9fe |