New version checker for software releases
Go to file
lilydjwg 8d4982d440 try asyncio.run again
because asyncio.get_event_loop() is deprecated.
2021-12-14 12:58:55 +08:00
.github/workflows Python 3.10 2021-10-07 14:46:13 +08:00
docs doc: \ in `` `` should not be escaped 2021-11-02 11:23:03 +08:00
nvchecker try asyncio.run again 2021-12-14 12:58:55 +08:00
nvchecker_source regex: make sure we don't have more than one group in the regex 2021-11-06 10:44:10 +08:00
scripts nvchecker-notify: add the keyfile flag 2020-10-09 19:11:12 +08:00
tests update test_apt 2021-11-06 10:57:41 +08:00
.gitignore port tools.py and change record files to use json format 2020-08-26 20:06:13 +08:00
LICENSE add MIT LICENSE 2017-02-04 16:36:48 +08:00
README.rst update test status badget 2021-02-01 17:43:55 +08:00
keyfile.toml.enc update keyfile.toml.enc 2021-07-27 16:06:39 +08:00
mypy.ini Add optional token for regex and httpheader. Add htmlparser source (#182) 2021-06-11 16:18:39 +08:00
sample_config.toml rename sample_source.toml to sample_config.toml 2020-10-02 12:35:37 +08:00
setup.cfg AsyncIO rewrite 2017-07-06 12:24:45 +08:00
setup.py Python 3.10 2021-10-07 14:46:13 +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. For the old version 1.x, please switch to the ``v1.x`` branch.

.. image:: https://github.com/lilydjwg/nvchecker/workflows/run%20tests/badge.svg?branch=master
   :alt: Test Status
   :target: https://github.com/lilydjwg/nvchecker/actions?query=workflow%3A%22run+tests%22
.. 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 (experimental; only latest version is supported)
  * 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/>`_.