"A CLI interface to quickly scaffold new BiocPy Python packages"
Project description
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/.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file biocsetup-0.3.3.tar.gz.
File metadata
- Download URL: biocsetup-0.3.3.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea091c71a849b4f3be59cac714a60cb497e7d18ffa70a8acaea630d4ab18a6e3
|
|
| MD5 |
0efd2e87e689964ec9d76cafafc6de3d
|
|
| BLAKE2b-256 |
b922774b3d414aa3d12e58b53bc6deab3e39f8a6f1b5b9adc614829886a60df0
|
Provenance
The following attestation bundles were made for biocsetup-0.3.3.tar.gz:
Publisher:
publish-pypi.yml on BiocPy/BiocSetup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
biocsetup-0.3.3.tar.gz -
Subject digest:
ea091c71a849b4f3be59cac714a60cb497e7d18ffa70a8acaea630d4ab18a6e3 - Sigstore transparency entry: 645640288
- Sigstore integration time:
-
Permalink:
BiocPy/BiocSetup@57cb5c7f20705f18c88fc72e90d9f19e2ab763d7 -
Branch / Tag:
refs/tags/0.3.3 - Owner: https://github.com/BiocPy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@57cb5c7f20705f18c88fc72e90d9f19e2ab763d7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file biocsetup-0.3.3-py3-none-any.whl.
File metadata
- Download URL: biocsetup-0.3.3-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d94e4e984724e7a37f6fafc041f1d1887a000a168656b651222d1c9d2e8f7422
|
|
| MD5 |
f504b853e2b0d55215c9dabfdc3c5307
|
|
| BLAKE2b-256 |
e37b79676f2914291212d2287e7bea40a634fea99142cca0580ce97f661ea5e0
|
Provenance
The following attestation bundles were made for biocsetup-0.3.3-py3-none-any.whl:
Publisher:
publish-pypi.yml on BiocPy/BiocSetup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
biocsetup-0.3.3-py3-none-any.whl -
Subject digest:
d94e4e984724e7a37f6fafc041f1d1887a000a168656b651222d1c9d2e8f7422 - Sigstore transparency entry: 645640305
- Sigstore integration time:
-
Permalink:
BiocPy/BiocSetup@57cb5c7f20705f18c88fc72e90d9f19e2ab763d7 -
Branch / Tag:
refs/tags/0.3.3 - Owner: https://github.com/BiocPy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@57cb5c7f20705f18c88fc72e90d9f19e2ab763d7 -
Trigger Event:
push
-
Statement type: