PyCppAD — Python bindings for CppAD Automatic Differentiation library
PyCppAD is an open source framework which provides bindings for the CppAD Automatic Differentiation(CppAD) C++ library in Python. PyCppAD also includes support for the CppADCodeGen (CppADCodeGen), C++ library, which exploits CppAD functionality to perform code generation.
Installing PyCppAD
Installation via 
As simple as that:
conda install pycppad -c conda-forge
Installation via PyPI
As simple as that:
pip install pycppad
Installation by source
Dependencies
PyCppAD dependes on the following dependencies:
- Boost.Python
- Eigen3
- EigenPy
- CppAD
- CppADCodeGen (Optional)
Compiling PyCppAD
Once the dependencies have been installed, follow the following commands to compile PyCppAD:
cd ${path_to_your_development_source}/
git clone --recursive https://github.com/Simple-Robotics/pycppad.git
cd pycppad
mkdir _build-RELEASE
cd _build-RELEASE
cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=${path_to_your_installation}
make install
Set up the path_to_your_installation and path_to_your_development_source based on your personal development environment.
Alternatively, in order to compile with CppADCodeGen support, add -DBUILD_WITH_CPPAD_CODEGEN_BINDINGS=ON to the cmake command, and follow the build sequence as before:
cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=${path_to_your_installation} -DBUILD_WITH_CPPAD_CODEGEN_BINDINGS=ON
Acknowledgments
The development of PyCppAD is supported by the Willow team @INRIA.
Metadata
Release files for pycppad 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| pycppad-1.2.0-1-cp39-cp39-manylinux_2_24_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.24+ x86-64 | Details |
| pycppad-1.2.0-1-cp38-cp38-manylinux_2_24_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.24+ x86-64 | Details |
| pycppad-1.2.0-1-cp37-cp37m-manylinux_2_24_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.24+ x86-64 | Details |
| pycppad-1.2.0-1-cp36-cp36m-manylinux_2_24_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.24+ x86-64 | Details |
| pycppad-1.2.0-1-cp27-cp27mu-manylinux_2_24_x86_64.whl | CPython 2.7 | CPython 2.7 pymalloc wide-unicode | Linux glibc 2.24+ x86-64 | Details |
Total release size: 5.3 MB
Release files / pycppad-1.2.0-1-cp39-cp39-manylinux_2_24_x86_64.whl
| Download URL | pycppad-1.2.0-1-cp39-cp39-manylinux_2_24_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.9 Linux glibc 2.24+ x86-64 |
|
SHA-256 checksum How to use checksums |
b424e31bb7eac0d92dba5100f210e3daa4aaa6b32a6a51ef6d1e350cf7fd2f47
|
|
BLAKE2b-256 checksum How to use checksums |
406c805888a100bac209c7c8a8a3b11320c2d0ba1d9545907941cbaaa4ed3fc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Release files / pycppad-1.2.0-1-cp38-cp38-manylinux_2_24_x86_64.whl
| Download URL | pycppad-1.2.0-1-cp38-cp38-manylinux_2_24_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.8 Linux glibc 2.24+ x86-64 |
|
SHA-256 checksum How to use checksums |
8a9964a52795d61710100b9773d5cc12976a94b2e2278a4d1c23de68090aeacb
|
|
BLAKE2b-256 checksum How to use checksums |
571869fd726e67be6ab1bcf42696b41544c91867ce994f76542a97f555a4b9d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Release files / pycppad-1.2.0-1-cp37-cp37m-manylinux_2_24_x86_64.whl
| Download URL | pycppad-1.2.0-1-cp37-cp37m-manylinux_2_24_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.24+ x86-64 |
|
SHA-256 checksum How to use checksums |
62eabb7c82093d1fa68da29a1869ee4cf06f2c37de195a38f3baf2f8d2965c26
|
|
BLAKE2b-256 checksum How to use checksums |
5f3b10143ebcedae22bf34a64e18a66fd4b3712d17d50e720c35887d83b0a6a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Release files / pycppad-1.2.0-1-cp36-cp36m-manylinux_2_24_x86_64.whl
| Download URL | pycppad-1.2.0-1-cp36-cp36m-manylinux_2_24_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.24+ x86-64 |
|
SHA-256 checksum How to use checksums |
777a229a0741cc8930f9c3c785d35726e0e976a276b801d37e8ae2f92c2e91c6
|
|
BLAKE2b-256 checksum How to use checksums |
379824ebd517dde11e15aedaee72d10c85c6e7a747588f1cfcfc3c48f74470ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Release files / pycppad-1.2.0-1-cp27-cp27mu-manylinux_2_24_x86_64.whl
| Download URL | pycppad-1.2.0-1-cp27-cp27mu-manylinux_2_24_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.24+ x86-64 |
|
SHA-256 checksum How to use checksums |
a3f380722c765aee812accf35a2e06b2f6bd555e2d769161c928ac819ed86bbd
|
|
BLAKE2b-256 checksum How to use checksums |
482564163fa2fbe303adda6f7da36fbb75cbdbcd72207141435168a783a96f0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|