Skip to main content

A package for decoding RNA cap types

Project description

capfinder

PyPI PyPi Downloads CI/CD PyPI - Python Version PyPI - License


Documentation: https://adnaniazi.github.io/capfinder

Source Code: https://github.com/adnaniazi/capfinder

PyPI: https://pypi.org/project/capfinder/


A package for decoding RNA cap types

Installation

CPU installation

pip install capfinder[cpu]

GPU installation (CUDA 12)

pip install capfinder[gpu] "jax[cuda12]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html

TPU installation

pip install capfinder[tpu] "jax[tpu]" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html

Development

  • Clone this repository
  • Requirements:
  • Create a virtual environment and install the dependencies

CPU installation

poetry install --extras cpu

GPU installation (CUDA 12)

poetry install --extras gpu
poetry run pip install "jax[cuda12]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html

TPU installation

poetry install --extras tpu
poetry run pip install "jax[tpu]" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
  • Activate the virtual environment
poetry shell

Testing

pytest

Documentation

The documentation is automatically generated from the content of the docs directory and from the docstrings of the public signatures of the source code. The documentation is updated and published as a Github project page automatically as part each release.

Releasing

Trigger the Draft release workflow (press Run workflow). This will update the changelog & version and create a GitHub release which is in Draft state.

Find the draft release from the GitHub releases and publish it. When a release is published, it'll trigger release workflow which creates PyPI release and deploys updated documentation.

Pre-commit

Pre-commit hooks run all the auto-formatters (e.g. black, isort), linters (e.g. mypy, flake8), and other quality checks to make sure the changeset is in good shape before a commit/push happens.

You can install the hooks with (runs for each commit):

pre-commit install

Or if you want them to run only for each push:

pre-commit install -t pre-push

Or if you want e.g. want to run all checks manually for all files:

pre-commit run --all-files

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

capfinder-0.1.9.tar.gz (48.7 kB view details)

Uploaded Source

Built Distribution

capfinder-0.1.9-py3-none-any.whl (58.1 kB view details)

Uploaded Python 3

File details

Details for the file capfinder-0.1.9.tar.gz.

File metadata

  • Download URL: capfinder-0.1.9.tar.gz
  • Upload date:
  • Size: 48.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1023-azure

File hashes

Hashes for capfinder-0.1.9.tar.gz
Algorithm Hash digest
SHA256 4502752b021158113306261e4f54fb08a7dc40c02677e94ef8e492e3bbcee7d5
MD5 55ffe0b0de9c3215fd38314cd02fff3d
BLAKE2b-256 8b8d8ac4a0f1ad4d04143f91b8283204ca39cffc0c811d946c6e83cf6f80c545

See more details on using hashes here.

File details

Details for the file capfinder-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: capfinder-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 58.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1023-azure

File hashes

Hashes for capfinder-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 8134756d5b288474327b439ff708b8c0fe8370f16accb9cc293026a55e4e42bb
MD5 1a889feafb3e00eec22e21fabbfb1fa4
BLAKE2b-256 1a2e51eebae79dc108e1d935837f3cfa8fc644e28516999a81e9b19bf75b6a76

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