Skip to main content

"A CLI interface to quickly scaffold new BiocPy Python packages"

Project description

PyPI-Server Unit tests Project generated with PyScaffold

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


Download files

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

Source Distribution

biocsetup-0.3.3.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

biocsetup-0.3.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

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

Hashes for biocsetup-0.3.3.tar.gz
Algorithm Hash digest
SHA256 ea091c71a849b4f3be59cac714a60cb497e7d18ffa70a8acaea630d4ab18a6e3
MD5 0efd2e87e689964ec9d76cafafc6de3d
BLAKE2b-256 b922774b3d414aa3d12e58b53bc6deab3e39f8a6f1b5b9adc614829886a60df0

See more details on using hashes here.

Provenance

The following attestation bundles were made for biocsetup-0.3.3.tar.gz:

Publisher: publish-pypi.yml on BiocPy/BiocSetup

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for biocsetup-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d94e4e984724e7a37f6fafc041f1d1887a000a168656b651222d1c9d2e8f7422
MD5 f504b853e2b0d55215c9dabfdc3c5307
BLAKE2b-256 e37b79676f2914291212d2287e7bea40a634fea99142cca0580ce97f661ea5e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for biocsetup-0.3.3-py3-none-any.whl:

Publisher: publish-pypi.yml on BiocPy/BiocSetup

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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