https://github.com/simple-robotics/pycppad

Python bindings for CppAD and CppADCodeGen using Boost.Python

https://github.com/simple-robotics/pycppad

Science Score: 46.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: scholar.google
  • Committers with academic emails
    2 of 5 committers (40.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.5%) to scientific vocabulary

Keywords

automatic-differentiation cppad eigen3 numpy

Keywords from Contributors

urdf ros rigid-body-dynamics pinocchio motion-planning fcl casadi analytical-derivatives conda kinematics
Last synced: 6 months ago · JSON representation

Repository

Python bindings for CppAD and CppADCodeGen using Boost.Python

Basic Info
  • Host: GitHub
  • Owner: Simple-Robotics
  • License: bsd-3-clause
  • Language: C++
  • Default Branch: devel
  • Homepage:
  • Size: 224 KB
Statistics
  • Stars: 20
  • Watchers: 4
  • Forks: 6
  • Open Issues: 1
  • Releases: 7
Topics
automatic-differentiation cppad eigen3 numpy
Created over 4 years ago · Last pushed 9 months ago
Metadata Files
Readme License

README.md

PyCppAD — Python bindings for CppAD Automatic Differentiation library

License Pipeline status Coverage report Conda Downloads Conda Version PyPI version

PyCppAD is an open-source framework that provides bindings for the CppAD Automatic Differentiation(CppAD) C++ library in Python. PyCppAD also includes support for the CppADCodeGen (CppADCodeGen) library, which exploits CppAD functionality to do code generation.

Installing PyCppAD

Installation via

As simple as that: bash conda install pycppad -c conda-forge

Installation via PyPI

As simple as that: bash pip install pycppad

Installation by source

Dependencies

PyCppAD depends 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, 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

Credits

The following people have been involved in the development of PyCppAD and are warmly thanked for their contributions:

Acknowledgments

The development of PyCppAD is supported by the Willow team @INRIA.

Owner

  • Name: SimpleRobotics
  • Login: Simple-Robotics
  • Kind: organization

Open Source Software for Efficient, Frugal and Reliable Robotics

GitHub Events

Total
  • Issues event: 1
  • Delete event: 1
  • Push event: 3
  • Pull request event: 1
  • Fork event: 1
Last Year
  • Issues event: 1
  • Delete event: 1
  • Push event: 3
  • Pull request event: 1
  • Fork event: 1

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 226
  • Total Committers: 5
  • Avg Commits per committer: 45.2
  • Development Distribution Score (DDS): 0.513
Past Year
  • Commits: 10
  • Committers: 3
  • Avg Commits per committer: 3.333
  • Development Distribution Score (DDS): 0.5
Top Committers
Name Email Commits
Rohan Budhiraja p****n 110
Justin Carpentier j****r@i****r 95
Guilhem Saurel g****l@l****r 10
pre-commit-ci[bot] 6****] 6
Joris Vaillant j****t@i****r 5
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 6
  • Total pull requests: 34
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 13 days
  • Total issue authors: 4
  • Total pull request authors: 5
  • Average comments per issue: 0.83
  • Average comments per pull request: 0.82
  • Merged pull requests: 31
  • Bot issues: 0
  • Bot pull requests: 7
Past Year
  • Issues: 1
  • Pull requests: 5
  • Average time to close issues: about 1 month
  • Average time to close pull requests: about 1 month
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.2
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • jcarpent (3)
  • proyan (1)
  • jorisv (1)
  • DManowitz (1)
Pull Request Authors
  • proyan (10)
  • pre-commit-ci[bot] (9)
  • jorisv (8)
  • nim65s (6)
  • jcarpent (6)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 7 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 1
    (may contain duplicates)
  • Total versions: 6
  • Total maintainers: 1
pypi.org: pycppad

CppAD bindings to python

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 7 Last month
Rankings
Dependent packages count: 10.1%
Stargazers count: 14.6%
Forks count: 15.4%
Dependent repos count: 21.5%
Average: 22.6%
Downloads: 51.5%
Maintainers (1)
Last synced: 7 months ago
conda-forge.org: pycppad
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 34.0%
Average: 45.9%
Stargazers count: 48.9%
Forks count: 49.6%
Dependent packages count: 51.2%
Last synced: 6 months ago

Dependencies

.github/workflows/ci-ubuntu-macos.yml actions
  • actions/checkout v2 composite
  • conda-incubator/setup-miniconda v2 composite
.github/workflows/conda/conda-env.yml actions
.github/workflows/ci-windows.yml actions
  • actions/checkout v4 composite
  • conda-incubator/setup-miniconda v3 composite