finch-tensor-0.2.9


توضیحات

Sparse Tensor Programming in Python powered by Finch.jl
ویژگی مقدار
سیستم عامل -
نام فایل finch-tensor-0.2.9
نام finch-tensor
نسخه کتابخانه 0.2.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Willow Ahrens
ایمیل نویسنده willow.marie.ahrens@gmail.com
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/finch-tensor/
مجوز -
# finch-tensor This is the beginnings of a sparse tensor library for Python, backed by the [Finch.jl](https://github.com/finch-tensor/Finch.jl) tensor compiler. ## Source The source code for `finch-tensor` is available on GitHub at [https://github.com/finch-tensor/finch-tensor](https://github.com/FinchTensor/finch-tensor) ## Installation `finch-tensor` is available on PyPi, and can be installed with pip: ```bash pip install finch-tensor ``` ## Contributing ### Packaging Finch uses [poetry](https://python-poetry.org/) for packaging. To install for development, clone the repository and run: ```bash poetry install --with test ``` to install the current project and dev dependencies. ### Working with a local copy of Finch.jl The `develop.py ` script can be used to set up a local copy of Finch.jl for development. ``` Usage: develop.py [--restore] [--path <path>] Options: --restore Restore the original juliapkg.json file. --path Path to the local copy of Finch.jl [default: ../Finch.jl]. ``` ### Publishing The "Publish" GitHub Action is a manual workflow for publishing Python packages to PyPI using Poetry. It handles the version management based on the `pyproject.toml` file and automates tagging and creating GitHub releases. #### Version Update Before initiating the "Publish" action, update the package's version number in `pyproject.toml`. Follow semantic versioning guidelines for this update. #### Triggering the Action The action is triggered manually. Once the version in `pyproject.toml` is updated, manually start the "Publish" action from the GitHub repository's Actions tab. #### Process and Outcomes On successful execution, the action publishes the package to PyPI and tags the release in the GitHub repository. If the version number is not updated, the action fails to publish to PyPI, and no tagging or release is done. In case of failure, correct the version number and rerun the action. #### Best Practices - Ensure the version number in `pyproject.toml` is updated before triggering the action. - Regularly check action logs for successful completion or to identify issues. ### Pre-commit hooks To add pre-commit hooks, run: ```bash poetry run pre-commit install ``` ### Testing Finch uses [pytest](https://docs.pytest.org/en/latest/) for testing. To run the tests: ```bash poetry run pytest ```


نیازمندی

مقدار نام
- juliapkg<0.2.0,>=0.1.16
- numpy>=1.19
- juliacall<0.10.0,>=0.9.24
xtr pytest<8,>=7.4.4;
xtr pre-commit<4,>=3.6.0;
xtr pytest-cov<5,>=4.1.0;
xtr sparse>=0.16.0;
xtr scipy<2,>=1.7;
xtr numba>=0.61.0;


زبان مورد نیاز

مقدار نام
<4.0,>=3.11 Python


نحوه نصب


نصب پکیج whl finch-tensor-0.2.9:

    pip install finch-tensor-0.2.9.whl


نصب پکیج tar.gz finch-tensor-0.2.9:

    pip install finch-tensor-0.2.9.tar.gz