goalie
Boolean check functions for defensive Python programming.
Usage
Every check is a plain function that returns True or False. Raise at the
call site when a check fails:
from goalie import CheckValueError, is_hex_color
def set_accent(color: str) -> None:
if not is_hex_color(color):
raise CheckValueError(color, "a hex color code", name="color")
Installation
uv method
This is a Python package hosted on PyPI as acidgenomics-goalie.
The import name is unchanged: goalie.
We recommend using uv to install.
uv add acidgenomics-goalie
Or with pip:
pip install acidgenomics-goalie
Conda method
Configure Conda to use the Bioconda channels.
# Don't install recipe into base environment.
name='goalie'
conda create --name="$name" "$name"
conda activate "$name"
python -c 'import goalie'
License
Apache-2.0 — Copyright 2026 Acid Genomics LLC — see LICENSE.
Release files for acidgenomics-goalie 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| acidgenomics_goalie-0.2.1.tar.gz | 13.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acidgenomics_goalie-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.5 kB
Release files / acidgenomics_goalie-0.2.1.tar.gz
| Download URL | acidgenomics_goalie-0.2.1.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0cc44fb25a8b9e7e11dfcffcf1d55d4954ba1da1952ec52e46f0f9d6ada4c2b8
|
|
BLAKE2b-256 checksum How to use checksums |
b3b80978e7bdd82465b8fc6c9c0d1feff481374abe8c98cee49f983913b54aea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / acidgenomics_goalie-0.2.1-py3-none-any.whl
| Download URL | acidgenomics_goalie-0.2.1-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7996115341b41e93f3c9bd1bf2d42ef17f9cce0746a0be93db64a1641ef209b
|
|
BLAKE2b-256 checksum How to use checksums |
2f99cc2ab30470e4b062d26bccdd6d9d475269a5d1e823995d503f95506a2270
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|