pyct
Python package common tasks for users (e.g. copy examples, fetch data, ...)
What it is and what it does
pyct is a utility package designed for Python project maintainers to automate common packaging and distribution tasks. It provides two main modules: pyct.cmd, which adds subcommands to existing argparse-based CLI tools (or creates new ones) for copying examples and fetching data, and pyct.build, which helps package examples alongside a project during setup. The package also includes a reporting utility to check package versions in the current environment, useful for Jupyter notebook users and environment diagnostics.
The package depends only on param and supports Python 3.8 through 3.13. It is intended to be integrated into downstream projects (like those in the PyViz ecosystem) to provide consistent example and data management workflows. Commands can be customized via YAML-based dataset definitions and support test-data stubs for smaller development iterations.
Use it for:
- Provide users with a command to download and organize project examples and associated datasets in a consistent way
- Automate copying example files into a package during build and distribution
- Check installed package versions across the current Python environment from within a Jupyter notebook
- Fetch large datasets on demand with fallback to smaller test files for development
- Integrate example management into downstream projects without reimplementing the same logic
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides command-line and Python utilities for package maintainers to manage examples, fetch data, and report package versions across a project.
Yes, if you maintain a Python project that distributes examples and data files. The low install friction and permissive license make it a practical choice for project maintainers. The aging status (322 days since release) is not a blocker since the repository is still active, but verify that pyct.build's implementation aligns with your current packaging workflow before adopting it.
Install
pyct on PyPI
pip
pip install pyctuv
uv add pyctpoetry
poetry add pyctInstalling pyct
Before you install
Low friction installation with a single runtime dependency (param). The package is aging (322 days since last release) but the repository remains active and supported across Python 3.8 through 3.13.
License in practice
BSD-3-Clause permissive license allows use in most projects without significant restrictions.
Quickstart
pip install pyct
import pyct
pyct.report(['python', 'param'])
Verify before relying
- Whether pyct.cmd's plugin system (try/import/except pattern) is stable enough for production use in downstream packages
- Current state of pyct.build's example packaging functionality and whether it has changed since the note about future changes
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — param |
| Maintenance | aging — 322 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 526,392/month — #6,178 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyct-0.6.0-py3-none-any.whl
Keywords: data, examples, pyct, utilities
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
pipupgradeA command-line tool that upgrades pip packages…
permissive · top 5,000 on PyPI
autocommandAutocommand converts a Python function into a…
copyleft · top 5,000 on PyPI
utilsProvides a collection of utility functions and…
copyleft · top 15,000 on PyPI
nbtoolbeltnbtoolbelt provides command-line and library…
permissive · top 15,000 on PyPI
pycleanRemoves Python bytecode files (.pyc) and…
copyleft · top 15,000 on PyPI
pip-autoremoveA command-line tool that uninstalls a package…
permissive · top 15,000 on PyPI
colorcetColorcet provides a collection of perceptually…
unclear · top 5,000 on PyPI
bpyutilsProvides a collection of common Python…
permissive · top 5,000 on PyPI
pyhelper-utilsProvides a collection of utility functions for…
permissive · top 15,000 on PyPI
pyviz-commsProvides bidirectional communication between…
permissive · top 5,000 on PyPI