Merge pull request #107 from dennissiemensma/feature/python-3.10

Test Python 3.10 in CI + legacy badge fix
This commit is contained in:
Nigel Dokter 2022-04-20 21:48:09 +02:00 committed by GitHub
commit dd9e264f5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 8 deletions

View File

@ -12,10 +12,11 @@ jobs:
strategy: strategy:
matrix: matrix:
python-version: python-version:
- 3.6 - '3.6'
- 3.7 - '3.7'
- 3.8 - '3.8'
- 3.9 - '3.9'
- '3.10'
name: Python ${{ matrix.python-version }} name: Python ${{ matrix.python-version }}
steps: steps:

View File

@ -4,8 +4,8 @@ DSMR Parser
.. image:: https://img.shields.io/pypi/v/dsmr-parser.svg .. image:: https://img.shields.io/pypi/v/dsmr-parser.svg
:target: https://pypi.python.org/pypi/dsmr-parser :target: https://pypi.python.org/pypi/dsmr-parser
.. image:: https://travis-ci.org/ndokter/dsmr_parser.svg?branch=master .. image:: https://img.shields.io/github/workflow/status/ndokter/dsmr_parser/Tests/master
:target: https://travis-ci.org/ndokter/dsmr_parser :target: https://github.com/ndokter/dsmr_parser/actions/workflows/tests.yml
A library for parsing Dutch Smart Meter Requirements (DSMR) telegram data. It A library for parsing Dutch Smart Meter Requirements (DSMR) telegram data. It
also includes client implementation to directly read and parse smart meter data. also includes client implementation to directly read and parse smart meter data.
@ -14,7 +14,7 @@ also includes client implementation to directly read and parse smart meter data.
Features Features
-------- --------
DSMR Parser supports DSMR versions 2, 3, 4 and 5. It has been tested with Python 3.5, 3.6, 3.7, 3.8 and 3.9. DSMR Parser supports DSMR versions 2, 3, 4 and 5. See for the `currently supported/tested Python versions here <https://github.com/ndokter/dsmr_parser/blob/master/.github/workflows/tests.yml#L14>`_.
Client module usage Client module usage
@ -155,7 +155,7 @@ Example to get some of the values:
gas_reading = telegram[obis_references.HOURLY_GAS_METER_READING] gas_reading = telegram[obis_references.HOURLY_GAS_METER_READING]
# See dsmr_reader.obis_references for all readable telegram values. # See dsmr_reader.obis_references for all readable telegram values.
# Note that the avilable values differ per DSMR version. # Note that the available values differ per DSMR version.
Telegram as an Object Telegram as an Object
--------------------- ---------------------