No project description provided
Project description
Finch
This is the beginnings of a sparse tensor library for Python, backed by the Finch.jl tensor compiler.
Installation
Finch is available on PyPi, and can be installed with pip:
pip install finch
Contributing
Packaging
Finch uses poetry for packaging.
To install for development, clone the repository and run:
poetry install --with test
to install the current project and dev dependencies.
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:
poetry run pre-commit install
Testing
Finch uses pytest for testing. To run the tests:
poetry run pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file finch_tensor-0.1.22.tar.gz
.
File metadata
- Download URL: finch_tensor-0.1.22.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.0 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 815464ae1ff8f328e48aa9fe661272be158f5b69f1b3b148b42afc2c0f3b1f5c |
|
MD5 | bd4588632901eef417bd16a130260fe3 |
|
BLAKE2b-256 | dbf5e0343cb3943364546f3c666c171cdf5be8486209a22b215facc1748ea102 |
File details
Details for the file finch_tensor-0.1.22-py3-none-any.whl
.
File metadata
- Download URL: finch_tensor-0.1.22-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.0 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d0afd2400bc97b3fc1de786f5c0011385d44739d9bd91585bc6672553c03d54 |
|
MD5 | 31d5993134d9e4a5694bcf8c210b47b4 |
|
BLAKE2b-256 | a3d3a5219773eb0d39b119cbc99aa2f474a95f73cca9684cbf7cf375f7ebe622 |