einsum-0.3.0
توضیحات
Experimental implementation of torch/onnx einsum
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | einsum-0.3.0 |
| نام | einsum |
| نسخه کتابخانه | 0.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Soren Lassen |
| ایمیل نویسنده | sorenlassen@gmail.com |
| آدرس صفحه اصلی | https://github.com/sorenlassen/einsum-experiment |
| آدرس اینترنتی | https://pypi.org/project/einsum/ |
| مجوز | MIT |
# einsum
> Experimental implementation of torch/onnx einsum
## Install
```bash
pip3 install -U einsum
```
Or develop locally:
```bash
git clone https://github.com/sorenlassen/einsum-experiment ~/einsum
cd ~/einsum
python3 setup.py develop
```
## Usage
```py
import einsum
print('TODO')
```
## Tests
Run `einsum`'s test suite:
```bash
pip3 install pytest
pytest
```
or
```bash
python3 setup.py develop # enables the test file to import einsum
python3 tests/test_einsum.py
```
Type check with mypy:
```bash
pip3 install mypy
python3 -m mypy src/einsum/lib.py
```
## Release
To publish a new release to pypi:
```bash
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](https://github.com/shawwn/scrap/blob/master/mkpylib).
`setup.py` was generated with [poetry-gen-setup-py](https://github.com/shawwn/scrap/blob/master/poetry-gen-setup-py).
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl einsum-0.3.0:
pip install einsum-0.3.0.whl
نصب پکیج tar.gz einsum-0.3.0:
pip install einsum-0.3.0.tar.gz