Skip to main content

einsum

Experimental implementation of torch/onnx einsum

Install

pip3 install -U einsum

Or develop locally:

git clone https://github.com/sorenlassen/einsum-experiment ~/einsum
cd ~/einsum
python3 setup.py develop

Usage

import einsum

print('TODO')

Tests

Run einsum's test suite:

pip3 install pytest
pytest

or

python3 setup.py develop # enables the test file to import einsum
python3 tests/test_einsum.py

Type check with mypy:

pip3 install mypy
python3 -m mypy src/einsum/lib.py

Release

To publish a new release to pypi:

pip3 install python-semantic-release

# verify tests pass.
pytest

# bump the version number, add a git tag.
semantic-release version --patch # or --minor, or --major

# push the new version number and tag to github.
git push && git push --tags

# publish to pypi.
poetry build
poetry publish

About

pyproject.toml was generated with mkpylib. setup.py was generated with poetry-gen-setup-py.

Metadata

Release files for einsum 0.3.0

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

Source distribution (sdist)

Source distribution for einsum 0.3.0
File Size Uploaded
einsum-0.3.0.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for einsum 0.3.0
File Interpreter ABI Platform
einsum-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.3 kB

Release files / einsum-0.3.0.tar.gz

Download URL einsum-0.3.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e19db2c02ad5ea8acf2926a9eab995ec1802a9db0bb39646d71e96f7cec14e31
BLAKE2b-256 checksum
How to use checksums
1e16371528e03f3a661ecaba4948205fb06c257bf9054eaddea089e72d56d58a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0a2 CPython/3.9.5 Darwin/20.5.0

Release files / einsum-0.3.0-py3-none-any.whl

Download URL einsum-0.3.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d2b1f7932879d630969bfb599e09f8448dcbc38a2be6cee192b8a1ae02c52dc
BLAKE2b-256 checksum
How to use checksums
bd91d8c6ecbe3dfd2ddecbd08e095bc4388a71958a7e1c2dab772ca3daef50da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0a2 CPython/3.9.5 Darwin/20.5.0

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

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