BiocSetup
BiocSetup helps scaffold new Python packages in BiocPy with consistent configuration for package management.
It automates the setup process by using PyScaffold with additional configurations specific to BiocPy projects, including documentation setup, GitHub Actions for testing and publishing, and code quality tools.
For more details, see our developer guide.
Installation
pip install biocsetup
Usage
Command Line Interface
Create a new package using the command line:
biocsetup my-new-package --description "Description of my package" --license MIT
Options:
--description,-d: Project description--license,-l: License to use (default: MIT)--rst: To use reStructuredText, otherwise uses Markdown by default.
Python API
You can also create packages programmatically:
from biocsetup import create_repository
create_repository(
project_path="my-new-package",
description="Description of my package",
license="MIT",
rst=False,
)
After setup
- The GitHub workflows use "trusted publisher workflow" to publish packages to PyPI. Read more instructions here.
- Tagging the repository will trigger an action to test, generate documentation, and publish the package to PyPI.
- Install tox to handle package tasks. GitHub Actions relies on the tox configuration to test, generate documentation, and publish packages.
- (Optional) Enable the pre-commit.ci bot for your repository.
- (Optional) Install ruff for code formatting.
- (Optional) Setup codecov for coverage reports.
Note
This project has been set up using PyScaffold 4.6. For details and usage information on PyScaffold see https://pyscaffold.org/.
Release files for biocsetup 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| biocsetup-0.3.4.tar.gz | 33.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| biocsetup-0.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.9 kB
Release files / biocsetup-0.3.4.tar.gz
| Download URL | biocsetup-0.3.4.tar.gz |
|---|---|
| Size | 33.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83ce1f399a61f33ce70ceb95a81e55483414bb31699057286861b0b96d81b0af
|
|
BLAKE2b-256 checksum How to use checksums |
135d748e562b2f8a0f230ca0e0f1a7f66c6878104c07033639640ee93c535b0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency logRelease files / biocsetup-0.3.4-py3-none-any.whl
| Download URL | biocsetup-0.3.4-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3047b50a0a166019345e53266fd03d6c36e17efcec7e2dbb30b4683f2438b552
|
|
BLAKE2b-256 checksum How to use checksums |
c83fef1fbb05c0bf0a7920479a047336f6c21261380e0349bf5dbbbfb0e8e0af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency log