New version checker for software releases
Go to file
Felix Yan 82d5ebb630
apt: Parse Packages and cache it to improve performance
It's a very noticable 20~40s to 1s improvement here.
2020-09-21 18:49:23 +08:00
.github/workflows github actions: try run directly on ubuntu to speed up and get latest Python packages via pip 2020-08-17 22:09:54 +08:00
docs Make mirror and suite mandatory 2020-09-17 12:53:03 +08:00
nvchecker use asyncio.Semaphore instead of self-made queue 2020-09-20 22:15:54 +08:00
nvchecker_source apt: Parse Packages and cache it to improve performance 2020-09-21 18:49:23 +08:00
scripts Use f-string for better readability 2020-09-03 00:51:46 +08:00
tests use asyncio.Semaphore instead of self-made queue 2020-09-20 22:15:54 +08:00
.gitignore port tools.py and change record files to use json format 2020-08-26 20:06:13 +08:00
.travis.yml travis-ci: use keyfile when KEY is set 2020-09-01 21:51:47 +08:00
LICENSE add MIT LICENSE 2017-02-04 16:36:48 +08:00
README.rst README: add documentation badge 2020-09-03 16:53:29 +08:00
keyfile.toml.enc final tweak of keyfile 2020-08-20 15:18:43 +08:00
mypy.ini missing updates about the new "appdirs" dep 2020-08-31 17:50:11 +08:00
sample_source.toml port tools.py and change record files to use json format 2020-08-26 20:06:13 +08:00
setup.cfg AsyncIO rewrite 2017-07-06 12:24:45 +08:00
setup.py use appdirs for the default configuration file 2020-08-31 17:34:11 +08:00

README.rst

**nvchecker** (short for *new version checker*) is for checking if a new version of some software has been released.

This is the version 2.0 branch that is in beta. Things may still change without backward-compatibility.

For the old version 1.x, please switch to the ``v1.x`` branch.

.. image:: https://travis-ci.org/lilydjwg/nvchecker.svg?branch=master
   :alt: Build Status
   :target: https://travis-ci.org/lilydjwg/nvchecker
.. image:: https://badge.fury.io/py/nvchecker.svg
   :alt: PyPI version
   :target: https://badge.fury.io/py/nvchecker
.. image:: https://readthedocs.org/projects/nvchecker/badge/?version=latest
   :target: https://nvchecker.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status

|

.. image:: https://repology.org/badge/vertical-allrepos/nvchecker.svg
   :alt: Packaging status
   :target: https://repology.org/metapackage/nvchecker/versions

.. contents::
   :local:

Dependency
----------
- Python 3.7+
- Python library: structlog, toml, appdirs
- One of these Python library combinations (ordered by preference):

  * tornado + pycurl
  * aiohttp
  * httpx with http2 support
  * tornado

- All commands used in your software version configuration files

Install and Run
---------------
To install::

  pip3 install nvchecker

To use the latest code, you can also clone this repository and run::

  python3 setup.py install

To see available options::

  nvchecker --help

Run with one or more software version files::

  nvchecker -c config_file

You normally will like to specify some "version record files"; see below.

Documentation
-------------

For detailed documentation, see `https://nvchecker.readthedocs.io/en/latest/ <https://nvchecker.readthedocs.io/en/latest/>`_.