Skip to main content

Useful Python/C API functions.

Project description

The PLIB.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 PLIB 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: PLIB.EXTENSIONS works with Python 2.7. If you are using Python 3, see the PLIB3.EXTENSIONS package, available at https://pypi.org/project/plib3.extensions.

The setup.py script for PLIB.EXTENSIONS uses the setuputils helper module, which helps to automate away much of the boilerplate in Python setup scripts. This module is available as a separate release at https://pypi.org/project/setuputils.

The PLIB.EXTENSIONS Package

The following classes are available in the plib.extensions namespace:

  • The capsule_compare function checks whether two Capsules wrap the same C-level pointer.

  • The cobject_compare function checks whether two CObjects wrap the same C-level pointer.

Installation

To install PLIB.EXTENSIONS, you can simply run:

$ python 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 PLIB 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

plib.extensions-1.1.post3.tar.gz (19.7 kB view details)

Uploaded Source

File details

Details for the file plib.extensions-1.1.post3.tar.gz.

File metadata

  • Download URL: plib.extensions-1.1.post3.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.9.1

File hashes

Hashes for plib.extensions-1.1.post3.tar.gz
Algorithm Hash digest
SHA256 077b25d870584961295e7f18b426cfbc6e7555467a3b7dd6052ea9ba31f4a290
MD5 d954a9805f7eea455c8d931845608d11
BLAKE2b-256 e7a2ec56a5690580688bc95d486f6c0203a05dfca60e1ccf48859d61de6f3195

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page