skillfed

pyct

Python package common tasks for users (e.g. copy examples, fetch data, ...)

pyct v0.6.0 526.4K downloads/30d#6,178 on PyPI5
Permissive license BSD-3-Clause AGING released

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 pyct

uv

uv add pyct

poetry

poetry add pyct

Installing 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

Development Status :: 4 - BetaLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

copy examples command linefetch data utilitypackage examples managementdata download automationversion reporting toolproject maintenance utilitiesexample distribution
package-maintenanceexample-distributioncli-utilities

More Build Tools packages