Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Know version changes of your favorites projects in your terminal.

Project description

[![Scrutinizer Code Quality](](
[![Build Status](](
[![Code Coverage](](

# Description

Versions is an open source (GPL v3) software that checks releases and
versions of your favorite programs through RSS or Atom feeds and tells
you which one has been released since last check.

It can check projects from :
* (FreeBSD packages)

Projects must be added to a YAML file (named by default
`~/.config/versions/versions.yaml`). One can use `--file=FILENAME`
option to specify an alternative YAML file. The structure of this
YAML file is explained below.

Versions uses and produces text files. Those files are cache files
written into `~/.local/versions` directory. `*.cache` are cache
files containing the project list and their associated version (the latest).
`*.feed` are information feed cache files containing on each line
the latest parsed post of the feed.

# YAML file structure

url: "https://the.url/to/theglobalfeed"
type: list
- list
- of
- projects

url: "{}.atom"
type: byproject
- list
- name: of
regex: '([\d.]+)'
entry: last checked
- projects

There is two types of sites :

* 'list': The site has one feed with all projects in it such as or
* 'byproject": The site gives access to one feed per project.
brackets '{}' represents the name of the project as found in
the 'project' list. Those projects can be listed directly or
can take options. In the later case you have to name the
project and then you can specify either a regex or an entry
type option: regex is used to determine version number and
entry is used to determine if versions has to print the latest
entry (default behavior) or all entries from the "last checked"

# Installation

In pypi the project is named program_versions but is still invoked
by the command `versions`.

# Usage

`./` should be enough to bring you the list of updated
programs since last run. To verify each day one can use the following
command in a persistant terminal (tmux, screen…):

watch -n 86400 ./

Option `-l` or `--list-cache` prints the content of the local cache (ie
latest known versions).

Option `-f FILENAME` or `--file FILENAME` ease usage of different
YAML configuration files.

Option `-d` or `--debug` runs doctests and prints information about
what's going on in the program.

# Links of interest

* [](
* [](
* [](

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 program-versions, version 1.5.2
Filename, size File type Python version Upload date Hashes
Filename, size program_versions-1.5.2-py2.py3-none-any.whl (14.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size program_versions-1.5.2.tar.gz (26.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page