libpy
libpy is a library to help you write amazing Python extensions in C++. libpy makes it easy to expose C++ code to Python. libpy lets you automatically wrap functions and classes. libpy is designed for high performance and safety: libpy extension modules should be both faster and safer than using the C API directly.
Requirements
libpy supports:
macOS/Linux
Python >=3.5
libpy requires:
gcc>=9 or clang>=10
numpy>=1.11.3
Optional Requirements
libpy optionally provides wrappers for the following libraries:
google sparsehash
Install
To install for development:
$ make
Otherwise, pip install libpy, making sure CC and CXX environment variables are set to the the right compiler.
Note: The installation of libpy will use the python executable to figure out information about your environment. If you are not using a virtual environment or python does not point to the Python installation you want to use (checked with which python and python --version) you must point to your Python executable using the PYTHON environment variable, i.e. PYTHON=python3 make or PYTHON=python3 pip3 install libpy.
Tests
To run the unit tests, invoke:
$ make test
Metadata
Release files for libpy 0.2.5
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 |
|---|---|---|---|---|
| libpy-0.2.5.tar.gz | 178.0 kB | Without provenance | Details for libpy-0.2.5.tar.gz |
Release files / libpy-0.2.5.tar.gz
| Download URL | libpy-0.2.5.tar.gz |
|---|---|
| Size | 178.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54015563481bf776132a7eb6025cce38de9566cc305ac85c690ae26f65cbf14d
|
|
BLAKE2b-256 checksum How to use checksums |
66d7f952db78496ee16776ab093c8906c4402c44e71001459e321b3c778ca906
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
|
Security for libpy 0.2.5
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.