Skip to main content

Pieman package

Project description



The package contains the utilities which are used by Pieman, script for creating custom OS images for single-board computers. The utilities are:

  • fetches the latest version of the apk-tools-static package.
  • BSC (Build Status Codes) client.
  • BSC (Build Status Codes) server.
  • checks if two specified environment variables are defined.
  • checks if the Redis server, needed by BSC server and client, is available.
  • checks if WPA passphrases are valid. A passphrase is considered as valid when 1) it’s between 8 and 63 characters and 2) it doesn’t contain any special characters. These two simple checks were borrowed from the original wpa_supplicant codebase and rewritten in Python (see wpa_supplicant/wpa_passphrase.c).
  • sometimes one environment variable (A) can’t be specified without another one (B), so this utility helps Pieman explicitly say that A depends on B and check if B is set to true (if bool) or simply specified (in other cases) when A is set to true (if bool) or simply specified (in other cases).
  • provides the disk usage of the specified directory. It was developed primarily for estimating chroot environments disk usage. In some cases the utility provides more accurate result than du from GNU coreutils.
  • allows getting image attributes which are stored in the pieman.yml files. The utility is more high-level tool than PyYAML because it’s aware of the pieman.yml specifics.
  • renders config templates (which are Jinja2 templates under the hood).
  • very limited GNU Wget alternative.


sudo pip3 install pieman

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pieman, version 0.18.0
Filename, size File type Python version Upload date Hashes
Filename, size pieman-0.18.0.tar.gz (12.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page