devel/py-pytools 2026.1_1 FreeBSD
Collection of tools for Python
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, python
- Package size
- 228.0 KiB, 1208.2 KiB installed
Description
Pytools is a big bag of things that are "missing" from the Python standard library. This is mainly a dependency of my other software packages, and is probably of little interest to you unless you use those. If you're curious nonetheless, here's what's on offer:
- A ton of small tool functions such as len_iterable, argmin, tuple generation, permutation generation, ASCII table pretty printing, GvR's mokeypatch_xxx() hack, the elusive flatten, and much more.
- Michele Simionato's decorator module.
- A time-series logging module, pytools.log.
- Batch job submission, pytools.batchjob.
- A lexer, pytools.lex.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-pytools | 2026.1_1 |
| DragonFly | devel/py-pytools | 2022.1.14_1 |
Install
Binary package:
pkg install py312-pytools
From the ports tree:
cd /usr/ports/devel/py-pytools/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pytools>0:devel/py-pytools
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2026.1_1 | 2026.1_1 | 2022.1.13 | 2022.1.14_1 | 2026.1_1 |
| FreeBSD:14:quarterly | 2026.1_1 | 2026.1_1 | n/a | 2022.1.14_1 | 2026.1_1 |
| FreeBSD:15:latest | 2026.1_1 | 2026.1_1 | n/a | 2022.1.14_1 | 2022.1.14_1 |
| FreeBSD:15:quarterly | 2026.1_1 | 2026.1_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2026.1_1 | 2026.1_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>0: devel/py-hatchling
Runtime 3
${PYTHON_PKGNAMEPREFIX}platformdirs>=2.2: devel/py-platformdirs${PYTHON_PKGNAMEPREFIX}siphash24>=1.6: security/py-siphash24${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5: devel/py-typing-extensions
Test 9
${PYTHON_PKGNAMEPREFIX}attrs>0: devel/py-attrs${PYTHON_PKGNAMEPREFIX}frozendict>0: devel/py-frozendict${PYTHON_PKGNAMEPREFIX}immutabledict>0: devel/py-immutabledict${PYTHON_PKGNAMEPREFIX}immutables>0: devel/py-immutables${PYTHON_PKGNAMEPREFIX}mako>0: textproc/py-mako${PYTHON_PKGNAMEPREFIX}numpy>0: math/py-numpy${PYTHON_PKGNAMEPREFIX}pyrsistent>0: devel/py-pyrsistent${PYTHON_PKGNAMEPREFIX}ruff>0: devel/py-ruff${PYTHON_PKGNAMEPREFIX}sqlite3>0: databases/py-sqlite3
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 11
Required by 3
Configuration
Options name: devel_pytools
| Option | Default | Description |
|---|---|---|
| NUMPY | off | NumPy mathematical computing support |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pytools-2026.1.tar.gz | 85929 | 7b6438ca5ecdedee42e16c8cb702c2ae562a98fb262dac1a3b01b121cc34bed5 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.