opt-einsum
PyPIv3.4.0Path optimization of einsum functions.
Not recommended for new projects
No — opt-einsum should not be adopted for new projects. Last published 713 days ago. No license declared — you have no explicit right to use this code.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- CMaintenance: grade C, Fair — worth a look.
Last published 713 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 70 KB installed.
- BSupply chain: grade B, Good.
This package lists no maintainer.
- FLicense: grade F, Failing.
No license declared — you have no explicit right to use this code.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding opt-einsum to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Python
- python >=3.8
Quick start
A usage example from the opt-einsum README.
import numpy as np
from opt_einsum import contract
N = 10
C = np.random.rand(N, N)
I = np.random.rand(N, N, N, N)
%timeit np.einsum('pi,qj,ijkl,rk,sl->pqrs', C, C, I, C, C)
1 loops, best of 3: 934 ms per loop
%timeit contract('pi,qj,ijkl,rk,sl->pqrs', C, C, I, C, C)
1000 loops, best of 3: 324 us per loopRelease history
No releases in the last two years, typically about 94 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 3.4.0latest | 1 year ago | 70 KB | — |
| 3.3.0 | 6 years ago | 64 KB | — |
| 3.2.1 | 6 years ago | 62 KB | — |
| 3.2.0 | 6 years ago | 62 KB | — |
| 3.1.0 | 7 years ago | 68 KB | — |
| 3.0.1 | 7 years ago | 65 KB | — |
| 2.3.2 | 7 years ago | 58 KB | — |
| 2.3.1 | 7 years ago | 58 KB | — |
| 2.2.0 | 8 years ago | 53 KB | — |
| 2.1.3 | 8 years ago | 49 KB | — |
| 2.1.2 | 8 years ago | 48 KB | — |
| 2.1.1 | 8 years ago | 32 KB | — |
| 2.0.0 | 8 years ago | 29 KB | — |
| 1.0.1 | 9 years ago | 13 KB | — |
| 0.2.0 | 10 years ago | 13 KB | — |
Overview
opt-einsum is an PyPI package that path optimization of einsum functions. The latest version is 3.4.0.
Who should use it
Teams working in the PyPI ecosystem who need path optimization of einsum functions and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your PyPI stack.
Pros
- Zero runtime dependencies — minimal footprint.
Cons
- No license detected — review usage terms before adopting.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use opt-einsum?
No — opt-einsum should not be adopted for new projects. Last published 713 days ago. No license declared — you have no explicit right to use this code.
How do I install opt-einsum?
Run `pip install opt-einsum` to add opt-einsum to your PyPI project.
What license is opt-einsum released under?
No license was detected in opt-einsum's metadata; review the repository before use.
Is opt-einsum still maintained?
The most recent release of opt-einsum (v3.4.0) was published 1 year ago.