blob: 2e793ca836fc5ab9877da9863c81bd4d60953ae0 [file] [log] [blame]
Chris Liechti388faab2015-09-15 00:42:43 +02001=================================
2 pySerial |build-status| |docs|
3=================================
cliechti10d58b22009-07-30 23:15:25 +00004
5Overview
cliechti980e4b02005-12-20 23:19:58 +00006========
cliechti949e15d2009-02-07 00:24:03 +00007This module encapsulates the access for the serial port. It provides backends
Chris Liechti418262d2015-10-01 23:25:17 +02008for Python_ running on Windows, OSX, Linux, BSD (possibly any POSIX compliant
9system) and IronPython. The module named "serial" automatically selects the
10appropriate backend.
cliechti89b4af12002-02-12 23:24:41 +000011
Chris Liechti80e2ae22015-08-04 02:59:50 +020012- Project Homepage: https://github.com/pyserial/pyserial
13- Download Page: https://pypi.python.org/pypi/pyserial
cliechti89b4af12002-02-12 23:24:41 +000014
Chris Liechti6fa82e12020-09-21 00:44:45 +020015BSD license, (C) 2001-2020 Chris Liechti <cliechti@gmx.net>
cliechti89b4af12002-02-12 23:24:41 +000016
17
cliechti10d58b22009-07-30 23:15:25 +000018Documentation
19=============
20For API documentation, usage and examples see files in the "documentation"
21directory. The ".rst" files can be read in any text editor or being converted to
Jakub Wilk772a6fa2016-12-20 21:59:27 +010022HTML or PDF using Sphinx_. An HTML version is online at
Chris Liechti80e2ae22015-08-04 02:59:50 +020023https://pythonhosted.org/pyserial/
cliechti89b4af12002-02-12 23:24:41 +000024
cliechti10d58b22009-07-30 23:15:25 +000025Examples
26========
Chris Liechtie2c31192015-08-08 20:54:49 +020027Examples and unit tests are in the directory examples_.
cliechti89b4af12002-02-12 23:24:41 +000028
29
30Installation
cliechti10d58b22009-07-30 23:15:25 +000031============
Chris Liechti80e2ae22015-08-04 02:59:50 +020032``pip install pyserial`` should work for most users.
33
Chris Liechtic6af3562015-08-04 03:41:49 +020034Detailed information can be found in `documentation/pyserial.rst`_.
cliechti89b4af12002-02-12 23:24:41 +000035
Chris Liechtie2c31192015-08-08 20:54:49 +020036The usual setup.py for Python_ libraries is used for the source distribution.
cliechti10d58b22009-07-30 23:15:25 +000037Windows installers are also available (see download link above).
Chris Liechtic6af3562015-08-04 03:41:49 +020038
shaunwbell4e6d6ec2017-08-02 06:12:10 -070039or
40
41To install this package with conda run:
42
43``conda install -c conda-forge pyserial``
44
45conda builds are available for linux, mac and windows.
46
Chris Liechtic6af3562015-08-04 03:41:49 +020047.. _`documentation/pyserial.rst`: https://github.com/pyserial/pyserial/blob/master/documentation/pyserial.rst#installation
Chris Liechtie2c31192015-08-08 20:54:49 +020048.. _examples: https://github.com/pyserial/pyserial/blob/master/examples
49.. _Python: http://python.org/
50.. _Sphinx: http://sphinx-doc.org/
Chris Liechtiaf1319b2015-09-15 00:22:43 +020051.. |build-status| image:: https://travis-ci.org/pyserial/pyserial.svg?branch=master
52 :target: https://travis-ci.org/pyserial/pyserial
53 :alt: Build status
Chris Liechti388faab2015-09-15 00:42:43 +020054.. |docs| image:: https://readthedocs.org/projects/pyserial/badge/?version=latest
Chris Liechtibf6d3aa2016-04-28 23:49:37 +020055 :target: http://pyserial.readthedocs.io/
Chris Liechti388faab2015-09-15 00:42:43 +020056 :alt: Documentation