Skip to main content

Test

A collection of Pythonizations for cppyy.

These mostly work around known limitations of cppyy or provide some reusable extensions such as Python pickling of C++ classes.

Current Release Info

We release this package very frequently, typically with most pushes to the master branch.

Name Downloads Version Platforms
Nightly Build Conda Downloads Conda Version Conda Platforms

Install with Conda

You can install this package with conda. Download and install Miniconda, then run

conda config --add channels conda-forge
conda create -n cppyy -c flatsurf cppyy cppyythonizations
conda activate cppyy

Install with pip

pip install cppyythonizations

Build from the Source Code Repository

We are following a standard autoconf setup, which is a bit odd in the Python world. You can build this library with the following:

git clone --recurse-submodules https://github.com/flatsurf/cppyythonizations.git
cd cppyythonizations
./bootstrap
./configure
make
make check # to run our test suite
make install # to install into /usr/local

Note that this is a pure Python library, so essentially all this does is setup a setup.py file and run it.

Build from the Source Code Repository with Conda Dependencies

To build this package, you need a fairly recent C++ compiler and probably some packages that might not be readily available on your system. If you don't want to use your distribution's packages, you can provide these dependencies with conda. Download and install Miniconda, then run

git clone --recurse-submodules https://github.com/flatsurf/cppyythonizations.git
cd cppyythonizations
conda create -n cppyythonizations-build
conda env update -n cppyythonizations-build -f environment.yml
conda activate cppyythonizations-build
./bootstrap
./configure
make

Build from the Source Code Repository with Conda

The conda recipe in recipe/ is built automatically as part of our Continuous Integration. If you want to build the recipe manually, something like the following should work:

git clone --recurse-submodules https://github.com/flatsurf/cppyythonizations.git
cd cppyythonizations
conda activate root
conda config --add channels conda-forge
conda config --add channels flatsurf
conda install conda-build conda-forge-ci-setup=2
export FEEDSTOCK_ROOT=`pwd`
export RECIPE_ROOT=${FEEDSTOCK_ROOT}/recipe
export CI_SUPPORT=${FEEDSTOCK_ROOT}/.ci_support
export CONFIG=linux_
make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CI_SUPPORT}/${CONFIG}.yaml"
conda build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml"

You can then try out the package that you just built with:

conda create -n cppyythonizations-test --use-local cppyythonizations
conda activate cppyythonizations-test

Maintainers

Metadata

Release files for cppyythonizations 1.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cppyythonizations 1.2.5
File Size Uploaded
cppyythonizations-1.2.5.tar.gz 268.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cppyythonizations 1.2.5
File Interpreter ABI Platform
cppyythonizations-1.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 628.9 kB

Release files / cppyythonizations-1.2.5.tar.gz

Download URL cppyythonizations-1.2.5.tar.gz
Size 268.0 kB
Tags Source
SHA-256 checksum
How to use checksums
183b4ef396f1236b641c705021e1b4074a0eda76d698c08bd2674fdea88c9515
BLAKE2b-256 checksum
How to use checksums
db2b1b4a0fdffc17c869b7c8bf947021409dfbf7793be2f22ed3649ac99158e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release files / cppyythonizations-1.2.5-py3-none-any.whl

Download URL cppyythonizations-1.2.5-py3-none-any.whl
Size 360.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8640d322257a091a80c55a31f37e07bb7a09ff2a28655e851e012d1ce057a914
BLAKE2b-256 checksum
How to use checksums
913ca03e7ee0ec318dd4bd3fe38e6436b0f04c1fe26da982918891542e5e9f7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release history Release notifications | RSS feed

This release

1.2.5 This release

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page