carreralib


Namecarreralib JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/tkem/carreralib/
SummaryPython interface to Carrera(R) DIGITAL 124/132 slotcar systems
upload_time2023-01-15 18:28:20
maintainer
docs_urlhttps://pythonhosted.org/carreralib/
authorThomas Kemmer
requires_python~=3.7
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            carreralib
========================================================================

.. image:: http://img.shields.io/pypi/v/carreralib
   :target: https://pypi.org/project/carreralib/
   :alt: Latest PyPI version

.. image:: https://img.shields.io/github/actions/workflow/status/tkem/carreralib/ci.yml
   :target: https://github.com/tkem/carreralib/actions/workflows/ci.yml
   :alt: CI build status

.. image:: https://img.shields.io/readthedocs/carreralib
   :target: http://carreralib.readthedocs.io/
   :alt: Documentation build status

.. image:: https://img.shields.io/codecov/c/github/tkem/carreralib/master.svg
   :target: https://codecov.io/gh/tkem/carreralib
   :alt: Test coverage

.. image:: https://img.shields.io/librariesio/sourcerank/pypi/carreralib
   :target: https://libraries.io/pypi/carreralib
   :alt: Libraries.io SourceRank

.. image:: https://img.shields.io/github/license/tkem/cachetools
   :target: https://raw.github.com/tkem/cachetools/master/LICENSE
   :alt: License

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/psf/black
   :alt: Code style: black


This module provides a Python interface to Carrera® DIGITAL 124/132
slotcar systems connected via a serial (cable) connection, or via
Bluetooth LE using Carrera AppConnect®.

.. code-block:: pycon

   >>> from carreralib import ControlUnit
   >>> cu = ControlUnit('/dev/ttyUSB0')
   >>> cu.version()
   '5337'
   >>> cu.poll()
   Status(fuel=(14, 14, 14, 14, 14, 14, 0, 0), start=0, mode=6,
          pit=(False, False, False, False, False, False, False, False),
          display=8)
   >>> cu.start()
   >>> cu.poll()
   Status(fuel=(14, 14, 14, 14, 14, 14, 0, 0), start=1, mode=6,
          pit=(False, False, False, False, False, False, False, False),
          display=8)
   >>> cu.start()
   >>> cu.poll()
   Timer(address=1, timestamp=105295, sector=1)
   >>> cu.poll()
   Timer(address=0, timestamp=105410, sector=1)

For demonstration purposes, the ``carreralib`` module can also be used
from the command line as a simple race management system (RMS).

Please refer to the online documentation_ for more information.


Installation
------------------------------------------------------------------------

carreralib is available from PyPI_ and can be installed by running::

    pip install carreralib


Project Resources
------------------------------------------------------------------------

- `Documentation`_
- `Issue Tracker`_
- `Source Code`_
- `Change Log`_


License
------------------------------------------------------------------------

Copyright (c) 2015-2023 Thomas Kemmer.

Licensed under the `MIT License`_.

Carrera® and Carrera AppConnect® are registered trademarks of Carrera
Toys GmbH.

``carreralib`` is not an official Carrera® product, and is not
affiliated with or endorsed by Carrera Toys GmbH.

Thanks to Stephan Heß (a.k.a. slotbaer_) for doing all the hard work.

.. _PyPI: https://pypi.org/project/carreralib/
.. _Documentation: http://carreralib.readthedocs.io/en/latest/
.. _Issue Tracker: https://github.com/tkem/carreralib/issues/
.. _Source Code: https://github.com/tkem/carreralib/
.. _Change Log: https://github.com/tkem/carreralib/blob/master/CHANGELOG.rst
.. _MIT License: http://raw.github.com/tkem/carreralib/master/LICENSE

.. _slotbaer: http://www.slotbaer.de/

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tkem/carreralib/",
    "name": "carreralib",
    "maintainer": "",
    "docs_url": "https://pythonhosted.org/carreralib/",
    "requires_python": "~=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Thomas Kemmer",
    "author_email": "tkemmer@computer.org",
    "download_url": "https://files.pythonhosted.org/packages/c4/df/4121701d942227d460911512668f165310e6b3e910425711a3ca6e7e7244/carreralib-1.0.2.tar.gz",
    "platform": null,
    "description": "carreralib\n========================================================================\n\n.. image:: http://img.shields.io/pypi/v/carreralib\n   :target: https://pypi.org/project/carreralib/\n   :alt: Latest PyPI version\n\n.. image:: https://img.shields.io/github/actions/workflow/status/tkem/carreralib/ci.yml\n   :target: https://github.com/tkem/carreralib/actions/workflows/ci.yml\n   :alt: CI build status\n\n.. image:: https://img.shields.io/readthedocs/carreralib\n   :target: http://carreralib.readthedocs.io/\n   :alt: Documentation build status\n\n.. image:: https://img.shields.io/codecov/c/github/tkem/carreralib/master.svg\n   :target: https://codecov.io/gh/tkem/carreralib\n   :alt: Test coverage\n\n.. image:: https://img.shields.io/librariesio/sourcerank/pypi/carreralib\n   :target: https://libraries.io/pypi/carreralib\n   :alt: Libraries.io SourceRank\n\n.. image:: https://img.shields.io/github/license/tkem/cachetools\n   :target: https://raw.github.com/tkem/cachetools/master/LICENSE\n   :alt: License\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n   :target: https://github.com/psf/black\n   :alt: Code style: black\n\n\nThis module provides a Python interface to Carrera\u00ae DIGITAL 124/132\nslotcar systems connected via a serial (cable) connection, or via\nBluetooth LE using Carrera AppConnect\u00ae.\n\n.. code-block:: pycon\n\n   >>> from carreralib import ControlUnit\n   >>> cu = ControlUnit('/dev/ttyUSB0')\n   >>> cu.version()\n   '5337'\n   >>> cu.poll()\n   Status(fuel=(14, 14, 14, 14, 14, 14, 0, 0), start=0, mode=6,\n          pit=(False, False, False, False, False, False, False, False),\n          display=8)\n   >>> cu.start()\n   >>> cu.poll()\n   Status(fuel=(14, 14, 14, 14, 14, 14, 0, 0), start=1, mode=6,\n          pit=(False, False, False, False, False, False, False, False),\n          display=8)\n   >>> cu.start()\n   >>> cu.poll()\n   Timer(address=1, timestamp=105295, sector=1)\n   >>> cu.poll()\n   Timer(address=0, timestamp=105410, sector=1)\n\nFor demonstration purposes, the ``carreralib`` module can also be used\nfrom the command line as a simple race management system (RMS).\n\nPlease refer to the online documentation_ for more information.\n\n\nInstallation\n------------------------------------------------------------------------\n\ncarreralib is available from PyPI_ and can be installed by running::\n\n    pip install carreralib\n\n\nProject Resources\n------------------------------------------------------------------------\n\n- `Documentation`_\n- `Issue Tracker`_\n- `Source Code`_\n- `Change Log`_\n\n\nLicense\n------------------------------------------------------------------------\n\nCopyright (c) 2015-2023 Thomas Kemmer.\n\nLicensed under the `MIT License`_.\n\nCarrera\u00ae and Carrera AppConnect\u00ae are registered trademarks of Carrera\nToys GmbH.\n\n``carreralib`` is not an official Carrera\u00ae product, and is not\naffiliated with or endorsed by Carrera Toys GmbH.\n\nThanks to Stephan He\u00df (a.k.a. slotbaer_) for doing all the hard work.\n\n.. _PyPI: https://pypi.org/project/carreralib/\n.. _Documentation: http://carreralib.readthedocs.io/en/latest/\n.. _Issue Tracker: https://github.com/tkem/carreralib/issues/\n.. _Source Code: https://github.com/tkem/carreralib/\n.. _Change Log: https://github.com/tkem/carreralib/blob/master/CHANGELOG.rst\n.. _MIT License: http://raw.github.com/tkem/carreralib/master/LICENSE\n\n.. _slotbaer: http://www.slotbaer.de/\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python interface to Carrera(R) DIGITAL 124/132 slotcar systems",
    "version": "1.0.2",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "177819d46d47053578f265871c6250cde9bfcd4b51b1484bb34fdee6dc66a53b",
                "md5": "0b93dc8da1e6ad6dad6331563bb8e6c2",
                "sha256": "4978e39b2536bf286060c1815e338712c20086a784c993772459f2eba2b1b4c9"
            },
            "downloads": -1,
            "filename": "carreralib-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0b93dc8da1e6ad6dad6331563bb8e6c2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.7",
            "size": 14429,
            "upload_time": "2023-01-15T18:28:17",
            "upload_time_iso_8601": "2023-01-15T18:28:17.120636Z",
            "url": "https://files.pythonhosted.org/packages/17/78/19d46d47053578f265871c6250cde9bfcd4b51b1484bb34fdee6dc66a53b/carreralib-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c4df4121701d942227d460911512668f165310e6b3e910425711a3ca6e7e7244",
                "md5": "81769111e8c679764c54c6c23f676f87",
                "sha256": "74021143d5aa9f40279b26234d8f1157ef5a071793a8f446c73b3a035cb43139"
            },
            "downloads": -1,
            "filename": "carreralib-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "81769111e8c679764c54c6c23f676f87",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.7",
            "size": 45155,
            "upload_time": "2023-01-15T18:28:20",
            "upload_time_iso_8601": "2023-01-15T18:28:20.021602Z",
            "url": "https://files.pythonhosted.org/packages/c4/df/4121701d942227d460911512668f165310e6b3e910425711a3ca6e7e7244/carreralib-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-15 18:28:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "tkem",
    "github_project": "carreralib",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "carreralib"
}
        
Elapsed time: 0.03953s