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/
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.
Release files for versiontracker 2.1.4.20190921
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| versiontracker-2.1.4.20190921.tar.gz | 42.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| versiontracker-2.1.4.20190921-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:108.1 kB
Release files / versiontracker-2.1.4.20190921.tar.gz
| Download URL | versiontracker-2.1.4.20190921.tar.gz |
|---|---|
| Size | 42.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73d2e0c506fbf12c02f085c8e4fb237c8aee244f9ae83c1c94ddce015fbec825
|
|
BLAKE2b-256 checksum How to use checksums |
4d4370ca502302c38590f831426b0b2aa10e6e59a98f7c97d9a0be8dfa9e10af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7
|
Release files / versiontracker-2.1.4.20190921-py3-none-any.whl
| Download URL | versiontracker-2.1.4.20190921-py3-none-any.whl |
|---|---|
| Size | 65.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d015c35bb9b31b1b282e0e3b8ea20367f7d10dfa801247a92be9b10a5e62295e
|
|
BLAKE2b-256 checksum How to use checksums |
66edf1fcad2603d53a1c2914b77d61db1d26f7f2a0dbb39a41d8233f6defde6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7
|