Skip to main content

Utilities for writing C++ extension modules.

Project description

GitHub Actions status https://badge.fury.io/py/libpy.svg

Utilities for writing C++ extension modules for CPython.

Full documentation

Requirements

libpy supports:

  • macOS/Linux

  • Python >=3.5

libpy requires:

  • gcc>=8 or clang>=10

  • numpy>=1.11.3

libpy also depends on:

  • pcre

  • google sparsehash

To install these dependencies:

ubuntu

$ sudo apt install libpcre2-dev libsparsehash-dev

macOS

$ brew install pcre2 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.

Tests

To run the unit tests, invoke:

$ make test

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

libpy-0.2.2.tar.gz (176.3 kB view details)

Uploaded Source

File details

Details for the file libpy-0.2.2.tar.gz.

File metadata

  • Download URL: libpy-0.2.2.tar.gz
  • Upload date:
  • Size: 176.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for libpy-0.2.2.tar.gz
Algorithm Hash digest
SHA256 a487b895c4d27505224ba36ef094cd24e3181dfb12f6dc048711fb1f2fa21799
MD5 190b7b9f51af7499f1dbd29130e4e950
BLAKE2b-256 d06fd48c11ddd0243d69b5343c4bbb7bed6df82c25f02fd2d692699ea5fce160

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