biocommons.template_py
Package Description
This project is a product of the biocommons community.
- Github repository: https://github.com/biocommons/template-py/
- Documentation https://biocommons.github.io/template-py/
Getting Help
- 🐛 Bug reports: Open an issue
- 💡 Feature requests: Open an issue
- ❓ Questions: Ask in biocommons/discussions
- 💬 General discussion: biocommons/discussions
Python Package Installation
Install from PyPI with pip install biocommons.template_py or uv pip install biocommons.template_py, then try it:
$ source venv/bin/activate
$ python3 -m biocommons.template_py
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.template_py 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
- Install brew
brew install git make uv
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 git hooks (prek), 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 git hooks (prek)
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
Metadata
Release files for biocommons.template_py 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| biocommons_template_py-0.0.9.tar.gz | 194.9 kB | Without provenance | Details for biocommons_template_py-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| biocommons_template_py-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for biocommons_template_py-0.0.9-py3-none-any.whl |
Total release size: 205.7 kB
Release files / biocommons_template_py-0.0.9.tar.gz
| Download URL | biocommons_template_py-0.0.9.tar.gz |
|---|---|
| Size | 194.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
213320f3f7157bc339aeaf1316c34e0357daed7cd58bd8c9c943b1b04c2486db
|
|
BLAKE2b-256 checksum How to use checksums |
381efd313263670bc64c406b4a330d78c70bced8a5b093d04f897f30f28f5e0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.14
|
Release files / biocommons_template_py-0.0.9-py3-none-any.whl
| Download URL | biocommons_template_py-0.0.9-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
edf9f24b85b580b32d5dbf9071e530841e7a08ef02bd96d02336ef0dfcb1d4be
|
|
BLAKE2b-256 checksum How to use checksums |
bef599eda51fbd579548f5f045921a0cdac4e18344a877dca7910d673364980e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.14
|
Security for biocommons.template_py 0.0.9
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.