Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

finch_tensor-0.1.24.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

finch_tensor-0.1.24-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file finch_tensor-0.1.24.tar.gz.

File metadata

  • Download URL: finch_tensor-0.1.24.tar.gz
  • Upload date:
  • Size: 13.7 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

Hashes for finch_tensor-0.1.24.tar.gz
Algorithm Hash digest
SHA256 f9666a5a28b1ab930f78f172ebc9c5159fca920f0d23a168c9b84ce32eaa8a53
MD5 a9c40a5802b73e44180d36f80999a196
BLAKE2b-256 3a7f027ec8c7fd337285619a00a68dd65ae9b875f33ee1593051be0e4cafa90f

See more details on using hashes here.

File details

Details for the file finch_tensor-0.1.24-py3-none-any.whl.

File metadata

  • Download URL: finch_tensor-0.1.24-py3-none-any.whl
  • Upload date:
  • Size: 14.8 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

Hashes for finch_tensor-0.1.24-py3-none-any.whl
Algorithm Hash digest
SHA256 f0975b62e4a244a2811753c959ae1951410702ebd9734d643de841ae0e448130
MD5 95325fca8b26d4e4a06bc5bf7f4c4887
BLAKE2b-256 40a8b20a70e4c5246ee24038514a70c6e3f0d612cfb39d45b551fc747c21e31b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page