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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| einsum-0.3.0.tar.gz | 5.2 kB | Without provenance | Details for einsum-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| einsum-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for einsum-0.3.0-py3-none-any.whl |
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
|
Security for einsum 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.