Skip to content

Commit 7140ed3

Browse files
committed
update readme; logo; pypi
1 parent 505dfd9 commit 7140ed3

File tree

5 files changed

+124
-6
lines changed

5 files changed

+124
-6
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
release:
5+
types: [published]
6+
workflow_dispatch: # Allow manual trigger
7+
8+
jobs:
9+
build:
10+
name: Build distribution
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: "3.11"
19+
20+
- name: Install build dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install build
24+
25+
- name: Build package
26+
run: python -m build
27+
28+
- name: Store the distribution packages
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: python-package-distributions
32+
path: dist/
33+
34+
publish-to-pypi:
35+
name: Publish to PyPI
36+
needs: [build]
37+
runs-on: ubuntu-latest
38+
environment:
39+
name: pypi
40+
url: https://pypi.org/p/votuderep
41+
permissions:
42+
id-token: write # IMPORTANT: mandatory for trusted publishing
43+
44+
steps:
45+
- name: Download all the dists
46+
uses: actions/download-artifact@v4
47+
with:
48+
name: python-package-distributions
49+
path: dist/
50+
51+
- name: Publish distribution to PyPI
52+
uses: pypa/gh-action-pypi-publish@release/v1
53+
54+
publish-to-testpypi:
55+
name: Publish to TestPyPI
56+
needs: [build]
57+
runs-on: ubuntu-latest
58+
environment:
59+
name: testpypi
60+
url: https://test.pypi.org/p/votuderep
61+
62+
permissions:
63+
id-token: write # IMPORTANT: mandatory for trusted publishing
64+
65+
steps:
66+
- name: Download all the dists
67+
uses: actions/download-artifact@v4
68+
with:
69+
name: python-package-distributions
70+
path: dist/
71+
72+
- name: Publish distribution to TestPyPI
73+
uses: pypa/gh-action-pypi-publish@release/v1
74+
with:
75+
repository-url: https://test.pypi.org/legacy/

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# votuderep
22

3+
[![Test](https://github.com/quadram-institute-bioscience/votuderep/actions/workflows/test.yml/badge.svg)](https://github.com/quadram-institute-bioscience/votuderep/actions/workflows/test.yml)
4+
5+
6+
![Logo](votuderep.png)
7+
38
A Python CLI tool for dereplicating and filtering viral contigs (vOTUs - viral Operational Taxonomic Units)
49
using the CheckV method.
510

@@ -188,4 +193,4 @@ Contributions are welcome! Please feel free to submit a Pull Request.
188193
Andrea Telatin & QIB Core Bioinformatics
189194

190195
©️ Quadram Institute Bioscience 2025
191-
196+

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ readme = "README.md"
1010
requires-python = ">=3.10"
1111
license = {text = "MIT"}
1212
authors = [
13-
{name = "Your Name", email = "your.email@example.com"}
13+
{name = "Andrea Telatin", email = "andrea.telatin@gmail.com"}
1414
]
1515
keywords = ["bioinformatics", "viral", "contigs", "dereplication", "blast"]
1616
classifiers = [
@@ -44,10 +44,10 @@ dev = [
4444
votuderep = "votuderep.cli:main"
4545

4646
[project.urls]
47-
Homepage = "https://github.com/yourusername/votuderep"
48-
Documentation = "https://github.com/yourusername/votuderep#readme"
49-
Repository = "https://github.com/yourusername/votuderep"
50-
Issues = "https://github.com/yourusername/votuderep/issues"
47+
Homepage = "https://github.com/quadram-institute-bioscience/votuderep"
48+
Documentation = "https://github.com/quadram-institute-bioscience/votuderep#readme"
49+
Repository = "https://github.com/quadram-institute-bioscience/votuderep"
50+
Issues = "https://github.com/quadram-institute-bioscience/votuderep/issues"
5151

5252
[tool.setuptools.packages.find]
5353
where = ["src"]

requirements.txt

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.10
3+
# by the following command:
4+
#
5+
# pip-compile pyproject.toml
6+
#
7+
click==8.3.0
8+
# via rich-click
9+
markdown-it-py==4.0.0
10+
# via rich
11+
mdurl==0.1.2
12+
# via markdown-it-py
13+
numpy==2.2.6
14+
# via
15+
# pandas
16+
# votuderep (pyproject.toml)
17+
pandas==2.3.3
18+
# via votuderep (pyproject.toml)
19+
pyfastx==2.2.0
20+
# via votuderep (pyproject.toml)
21+
pygments==2.19.2
22+
# via rich
23+
python-dateutil==2.9.0.post0
24+
# via pandas
25+
pytz==2025.2
26+
# via pandas
27+
rich==14.2.0
28+
# via
29+
# rich-click
30+
# votuderep (pyproject.toml)
31+
rich-click==1.9.3
32+
# via votuderep (pyproject.toml)
33+
six==1.17.0
34+
# via python-dateutil
35+
typing-extensions==4.15.0
36+
# via rich-click
37+
tzdata==2025.2
38+
# via pandas

votuderep.png

26.5 KB
Loading

0 commit comments

Comments
 (0)