Configuration

peta reads its behavior from CLI flags first, then from the environment variables below. Some of these variables also have a dedicated flag, in which case that flag always takes precedence; others have no flag and are the only way to configure that behavior.

Variable

Effect

NO_COLOR

Any non-empty value disables colored Rich output, the same as passing --no-color. The --no-color flag always takes precedence over this variable.

LIBRARIES_IO_API_KEY

API key used to look up a package’s dependent count from libraries.io. Without it, peta info simply omits the dependent count (it degrades to None); no request is made. Not required for the download count, which comes from pypistats.org.