1
1
python-can
2
2
==========
3
3
4
- |release | |docs | |build_travis | |build_appveyor | |coverage | |downloads | |formatter |
4
+ |release | |downloads | |downloads_monthly | |formatter |
5
+
6
+ |docs | |build_travis | |build_appveyor | |coverage |
5
7
6
8
.. |release | image :: https://img.shields.io/pypi/v/python-can.svg
7
9
:target: https://pypi.python.org/pypi/python-can/
8
10
:alt: Latest Version on PyPi
9
11
12
+ .. |downloads | image :: https://pepy.tech/badge/python-can
13
+ :target: https://pepy.tech/project/python-can
14
+ :alt: Downloads on PePy
15
+
16
+ .. |downloads_monthly | image :: https://pepy.tech/badge/python-can/month
17
+ :target: https://pepy.tech/project/python-can/month
18
+ :alt: Monthly downloads on PePy
19
+
20
+ .. |formatter | image :: https://img.shields.io/badge/code%20style-black-000000.svg
21
+ :target: https://github.com/python/black
22
+ :alt: This project uses the black formatter.
23
+
10
24
.. |docs | image :: https://readthedocs.org/projects/python-can/badge/?version=stable
11
25
:target: https://python-can.readthedocs.io/en/stable/
12
26
:alt: Documentation
@@ -23,13 +37,9 @@ python-can
23
37
:target: https://codecov.io/gh/hardbyte/python-can/branch/develop
24
38
:alt: Test coverage reports on Codecov.io
25
39
26
- .. |downloads | image :: https://pepy.tech/badge/python-can
27
- :target: https://pepy.tech/project/python-can
28
- :alt: Downloads on PePy
29
-
30
- .. |formatter | image :: https://img.shields.io/badge/code%20style-black-000000.svg
31
- :target: https://github.com/python/black
32
- :alt: This project uses the black formatter.
40
+ .. image :: https://img.shields.io/endpoint.svg?url=https://gh.mergify.io/badges/hardbyte/python-can&style=flat
41
+ :target: https://mergify.io
42
+ :alt: Mergify Status
33
43
34
44
The **C **\ ontroller **A **\ rea **N **\ etwork is a bus standard designed
35
45
to allow microcontrollers and devices to communicate with each other. It
@@ -44,13 +54,13 @@ messages on a can bus.
44
54
The library currently supports Python 3.6+ as well as PyPy 3 and runs
45
55
on Mac, Linux and Windows.
46
56
47
- ============================= ===========
48
- Library Version Python
49
- ----------------------------- -----------
50
- 2.x 2.6+, 3.4+
51
- 3.x 2.7+, 3.5+
52
- 4.x *(currently on devlop ) * 3.6+
53
- ============================= ===========
57
+ ============================== ===========
58
+ Library Version Python
59
+ ------------------------------ -----------
60
+ 2.x 2.6+, 3.4+
61
+ 3.x 2.7+, 3.5+
62
+ 4.x *(currently on develop ) * 3.6+
63
+ ============================== ===========
54
64
55
65
56
66
Features
@@ -89,7 +99,7 @@ Example usage
89
99
90
100
# iterate over received messages
91
101
for msg in bus:
92
- print (" {X} : {} " .format(msg.arbitration_id, msg.data))
102
+ print (" {: X } : {} " .format(msg.arbitration_id, msg.data))
93
103
94
104
# or use an asynchronous notifier
95
105
notifier = can.Notifier(bus, [can.Logger(" recorded.log" ), can.Printer()])
0 commit comments