https://github.com/biocommons/python-package

Template for new biocommons packages, and source of configuration for periodic updates to derived packages

https://github.com/biocommons/python-package

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.7%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Template for new biocommons packages, and source of configuration for periodic updates to derived packages

Basic Info
  • Host: GitHub
  • Owner: biocommons
  • License: apache-2.0
  • Language: Makefile
  • Default Branch: main
  • Homepage:
  • Size: 242 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 2
  • Open Issues: 12
  • Releases: 2
Created over 4 years ago · Last pushed 10 months ago
Metadata Files
Readme License Codeowners

README.md

biocommons.example

Release Build status codecov Commit activity License

Package Description

This project is a product of the biocommons community.

Python Package Installation

Install from PyPI with pip install biocommons.example or uv pip install biocommons.example, then try it:

$ source venv/bin/activate

$ python3 -m biocommons.example
Marvin says:
There's only one life-form as intelligent as me within thirty parsecs...

$ marvin-quote
Marvin says:
You think you've got problems? What are you supposed to do if you...

$ ipython
>>> from biocommons.example import __version__, get_quote_from_marvin
>>> __version__
'0.1.dev8+gd5519a8.d20211123'
>>> get_quote()
"The first ten million years were the worst, ...

Developer Setup

Install Prerequisites

These tools are required to get started:

  • git: Version control system
  • GNU make: Current mechanism for consistent invocation of developer tools.
  • uv: An extremely fast Python package and project manager, written in Rust.

MacOS or Linux Systems

Linux (Debian-based systems)

You may also install using distribution packages:

sudo apt install git make

Then install uv using the uv installation instructions.

One-time developer setup

Create a Python virtual environment, install dependencies, install pre-commit hooks, and install an editable package:

make devready

Development

N.B. Developers are strongly encouraged to use make to invoke tools to ensure consistency with the CI/CD pipelines. Type make to see a list of supported targets. A subset are listed here:

» make
🌟🌟 biocommons conventional make targets 🌟🌟

Using these targets promots consistency between local development and ci/cd commands.

usage: make [target ...]

BASIC USAGE
help                Display help message

SETUP, INSTALLATION, PACKAGING
devready            Prepare local dev env: Create virtual env, install the pre-commit hooks
build               Build package
publish             publish package to PyPI

FORMATTING, TESTING, AND CODE QUALITY
cqa                 Run code quality assessments
test                Test the code with pytest

DOCUMENTATION
docs-serve          Build and serve the documentation
docs-test           Test if documentation can be built without warnings or errors

CLEANUP
clean               Remove temporary and backup files
cleaner             Remove files and directories that are easily rebuilt
cleanest            Remove all files that can be rebuilt
distclean           Remove untracked files and other detritus

Owner

  • Name: biocommons
  • Login: biocommons
  • Kind: organization

a collection of open source bioinformatics tools

GitHub Events

Total
  • Create event: 12
  • Release event: 1
  • Issues event: 4
  • Delete event: 6
  • Issue comment event: 6
  • Push event: 23
  • Pull request review event: 3
  • Pull request review comment event: 8
  • Pull request event: 4
Last Year
  • Create event: 12
  • Release event: 1
  • Issues event: 4
  • Delete event: 6
  • Issue comment event: 6
  • Push event: 23
  • Pull request review event: 3
  • Pull request review comment event: 8
  • Pull request event: 4

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 4
  • Total pull requests: 2
  • Average time to close issues: over 1 year
  • Average time to close pull requests: about 4 hours
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 2.75
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 2
  • Average time to close issues: 15 days
  • Average time to close pull requests: about 4 hours
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • reece (3)
  • korikuzma (1)
Pull Request Authors
  • jsstevenson (1)
  • reece (1)
Top Labels
Issue Labels
enhancement (1) keep alive (1) stale (1) closed-by-stale (1)
Pull Request Labels

Dependencies

.github/workflows/python-package.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/labels.yml actions
  • actions/checkout v3 composite
  • crazy-max/ghaction-github-labeler v4 composite
.github/workflows/stale.yml actions
  • actions/stale v8 composite
pyproject.toml pypi
  • coloredlogs ~= 15.0
  • pyyaml ~= 6.0