Skip to main content

This is a drop-in replacement for chumpy that is compatible with numpy<=2.
Install via

pip install chumpy-fix

Original README below.

chumpy

version license python versions build status

Autodifferentiation tool for Python.

Installation

Install the fork:

pip install chumpy

Import it:

import chumpy as ch

Overview

Chumpy is a Python-based framework designed to handle the auto-differentiation problem, which is to evaluate an expression and its derivatives with respect to its inputs, by use of the chain rule.

Chumpy is intended to make construction and local minimization of objectives easier.

Specifically, it provides:

  • Easy problem construction by using Numpy’s application interface
  • Easy access to derivatives via auto differentiation
  • Easy local optimization methods (12 of them: most of which use the derivatives)

Usage

Chumpy comes with its own demos, which can be seen by typing the following:

import chumpy
chumpy.demo() # prints out a list of possible demos

License

This project is licensed under the MIT License.

Metadata

Release files for chumpy-fix 0.0.1

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

Source distribution (sdist)

Source distribution for chumpy-fix 0.0.1
File Size Uploaded
chumpy_fix-0.0.1.tar.gz 55.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chumpy-fix 0.0.1
File Interpreter ABI Platform
chumpy_fix-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 115.8 kB

Release files / chumpy_fix-0.0.1.tar.gz

Download URL chumpy_fix-0.0.1.tar.gz
Size 55.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a1ea464ffe24dc075404cd83d2c499560c6f23532b7738385ac6d54d32750018
BLAKE2b-256 checksum
How to use checksums
efc97908bea1f715ae51e20bbee9fc2399b8859cd1ae1e7846434cd40dbaeecd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / chumpy_fix-0.0.1-py3-none-any.whl

Download URL chumpy_fix-0.0.1-py3-none-any.whl
Size 60.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3bcd6dcd2076734f1a9d17c100316733777fcd68b5de5d8ba5f68acf16ed7506
BLAKE2b-256 checksum
How to use checksums
2722e25a1a50d65670883d5b659ebc81e851d84c0ee413db653123ccf9847c48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.6

Release history Release notifications | RSS feed

This release

0.0.1 This release

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