Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

einsum

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

einsum

Experimental implementation of torch/onnx einsum

  • 0.3.0
  • PyPI
  • Socket score

Maintainers
1

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc