</>PackageGraphPackageGraph

opt-einsum

PyPIv3.4.0

Path 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.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

70 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Python
python >=3.8

Quick start

A usage example from the opt-einsum README.

python
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 loop

Release history

No releases in the last two years, typically about 94 days apart.

Recent versions of opt-einsum
VersionPublishedSizeLicense
3.4.0latest1 year ago70 KB
3.3.06 years ago64 KB
3.2.16 years ago62 KB
3.2.06 years ago62 KB
3.1.07 years ago68 KB
3.0.17 years ago65 KB
2.3.27 years ago58 KB
2.3.17 years ago58 KB
2.2.08 years ago53 KB
2.1.38 years ago49 KB
2.1.28 years ago48 KB
2.1.18 years ago32 KB
2.0.08 years ago29 KB
1.0.19 years ago13 KB
0.2.010 years ago13 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.