Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Web scrapping software to keep track of the latest stable version of different software.

Project description

Version Tracker is a project that provides both a command-line tool and a Python library to query the latest stable versions of different software products using web scrapping.

For example:

$ versiontracker vlc
vlc: 2.2.2 (2016-07-06) @ http://get.videolan.org/vlc/

It is currently being used to detect obsolete packages in Chakra [1] and to feed updated software version information to Wikidata [2].

[1]chakraversiontracker
[2]Shyde

Requirements

Version Tracker requires Python 3 and the following Python packages:

To build the offline documentation, you also need:

Installation

Use pip to install:

pip install versiontracker

Basic Command-Line Usage

To use the versiontracker command-line application pass it a list of software IDs:

$ versiontracker vlc xfce
vlc: 2.2.2 (2016-07-06) @ http://get.videolan.org/vlc/
xfce: 4.12 (2015-02-28) @ http://archive.xfce.org/xfce/

You can use the -l option to get a list of supported software IDs:

$ versiontracker -l
0ad
4kslideshowmaker
…

Basic Library Usage

Use version_info() to get information about the latest stable version of a single product:

>>> from pprint import pprint
>>> from versiontracker import version_info
>>> pprint(version_info('vlc'))
{'id': 'vlc',
 'date': datetime.datetime(2016, 7, 6, 10, 10),
 'url': 'http://get.videolan.org/vlc/',
 'version': '2.2.2'}

Use iter_version_info() to iterate through the version information of several products:

>>> from versiontracker import iter_version_info
>>> for version_data in iter_version_info(('vlc', 'xfce')):
...     pprint(version_data)
...
{'id': 'vlc',
 'date': datetime.datetime(2016, 7, 6, 10, 10),
 'url': 'http://get.videolan.org/vlc/',
 'version': '2.2.2'}
{'id': 'xfce',
 'date': datetime.datetime(2015, 2, 28, 21, 7),
 'url': 'http://archive.xfce.org/xfce/',
 'version': '4.12'}

Use supported_software() to get a list of supported software IDs:

>>> from versiontracker import supported_software
>>> supported_software()
['kde-l10n-ca', 'kdiamond', 'kontactinterface', 'entropy', …]

Documentation

See the complete documentation at Read the Docs.

Project details


Release history Release notifications

This version
History Node

2.1.3.20180428

History Node

2.1.2.20180422

History Node

2.1.0.20161208

History Node

2.0.0.20161208

History Node

1.4.4.20160917

History Node

1.4.2.20160903

History Node

1.4.1.20160903

History Node

1.4.0.20160903

History Node

1.2.0.20160903

History Node

1.1.0.20160903

History Node

1.0.3.20160901

History Node

1.0.2.20160831

History Node

1.0.1.20160831

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
versiontracker-2.1.3.20180428-py3-none-any.whl (56.7 kB) Copy SHA256 hash SHA256 Wheel py3 Apr 28, 2018
versiontracker-2.1.3.20180428.tar.gz (45.2 kB) Copy SHA256 hash SHA256 Source None Apr 28, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page