BSD Ports

devel/py-pooch 1.9.0 NetBSD

Manages Python library's sample data files

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
modified-bsd
Categories
devel, python
Package size
109.7 KiB, 810.6 KiB installed

Description

Does your Python package include sample datasets? Are you shipping them with the code? Are they getting too big?

Pooch is here to help! It will manage a data registry by downloading your data files from a server only when needed and storing them locally in a data cache (a folder on your computer).

Here are Pooch's main features:

* Pure Python and minimal dependencies. * Download a file only if necessary (it's not in the data cache or needs to be updated). * Verify download integrity through SHA256 hashes (also used to check if a file needs to be updated). * Designed to be extended: plug in custom download (FTP, scp, etc) and post-processing (unzip, decompress, rename) functions. * Includes utilities to unzip/decompress the data upon download to save loading time. * Can handle basic HTTP authentication (for servers that require a login) and printing download progress bars. * Easily set up an environment variable to overwrite the data cache location.

In the other systems

SystemPortVersion
NetBSDdevel/py-pooch1.9.0
FreeBSDdevel/py-pooch1.9.0
DragonFlydevel/py-pooch1.8.2
MidnightBSDdevel/py-pooch1.8.1_1
HardenedBSDdevel/py-pooch1.9.0
GhostBSDdevel/py-pooch1.9.0

Install

Binary package:

pkgin install py311-pooch

From pkgsrc:

cd /usr/pkgsrc/devel/py-pooch && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.9.0
NetBSD 10.1 aarch641.9.0
SmartOS / illumos x86_641.9.0
macOS 15 arm641.9.0

Dependencies

Run dependencies 4
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-pooch-1.9.0, py313-pooch-1.9.0, py314-pooch-1.9.0