luma.emulator


Nameluma.emulator JSON
Version 1.5.0 PyPI version JSON
download
home_pagehttps://github.com/rm-hull/luma.emulator
SummaryA suite of pseudo-devices for luma.core components
upload_time2023-08-31 23:01:23
maintainer
docs_urlNone
authorRichard Hull
requires_python<4,>=3.7
licenseMIT
keywords raspberry pi orange banana pi rpi opi sbc oled lcd led display screen spi i2c emulator
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            `luma.core <https://github.com/rm-hull/luma.core>`__ **|** 
`luma.docs <https://github.com/rm-hull/luma.docs>`__ **|** 
luma.emulator **|** 
`luma.examples <https://github.com/rm-hull/luma.examples>`__ **|** 
`luma.lcd <https://github.com/rm-hull/luma.lcd>`__ **|** 
`luma.led_matrix <https://github.com/rm-hull/luma.led_matrix>`__ **|** 
`luma.oled <https://github.com/rm-hull/luma.oled>`__ 

Luma.Emulator
=============

.. image:: https://github.com/rm-hull/luma.emulator/workflows/luma.emulator/badge.svg?branch=master
   :target: https://github.com/rm-hull/luma.emulator/actions?workflow=luma.emulator

.. image:: https://coveralls.io/repos/github/rm-hull/luma.emulator/badge.svg?branch=master
   :target: https://coveralls.io/github/rm-hull/luma.emulator?branch=master

.. image:: https://img.shields.io/pypi/pyversions/luma.emulator.svg
   :target: https://pypi.python.org/pypi/luma.emulator

.. image:: https://img.shields.io/pypi/v/luma.emulator.svg
   :target: https://pypi.python.org/pypi/luma.emulator

.. image:: https://img.shields.io/pypi/dm/luma.emulator
   :target: https://pypi.python.org/project/luma.emulator

**luma.emulator** provides a series of pseudo-display devices which allow 
the `luma.core <https://github.com/rm-hull/luma.core>`_ components to be used
without running a physical device. These include:

* Real-time (pixel) emulator, based on `pygame <http://pygame.org/docs/>`__
* LED matrix and 7-segment renderers
* PNG screen capture
* Animated GIF animator
* Real-time ASCII-art & block emulators

Documentation
-------------
Documentation can be found on https://luma-emulator.readthedocs.io.

.. image:: https://raw.githubusercontent.com/rm-hull/luma.oled/master/doc/images/clock_anim.gif?raw=true
   :alt: clock

.. image:: https://raw.githubusercontent.com/rm-hull/luma.oled/master/doc/images/invaders_anim.gif?raw=true
   :alt: invaders

.. image:: https://raw.githubusercontent.com/rm-hull/luma.oled/master/doc/images/crawl_anim.gif?raw=true
   :alt: crawl

.. image:: https://raw.githubusercontent.com/rm-hull/luma.emulator/master/doc/images/ascii-art.png?raw=true
   :alt: asciiart

.. image:: https://raw.githubusercontent.com/rm-hull/luma.led_matrix/master/doc/images/emulator.gif
   :alt: max7219 emulator

License
-------
The MIT License (MIT)

Copyright (c) 2017-2023 Richard Hull and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Contributing
------------

Pull requests (code changes / documentation / typos / feature requests / setup)
are gladly accepted. If you are intending to introduce some large-scale
changes, please get in touch first to make sure we're on the same page: try to
include a docstring for any new method or class, and keep method bodies small,
readable and PEP8-compliant. Add tests and strive to keep the code coverage
levels high.

GitHub
^^^^^^
The source code is available to clone at: https://github.com/rm-hull/luma.emulator

Contributors
^^^^^^^^^^^^
* Thijs Triemstra (@thijstriemstra)
* Christoph Handel (@fragfutter)
* Boeeerb (@Boeeerb)
* xes (@xes)
* Roger Dahl (@rogerdahl)
* Václav Šmilauer (@eudoxos)
* Claus Bjerre (@bjerrep)

ChangeLog
---------

+------------+---------------------------------------------------------------------+------------+
| Version    | Description                                                         | Date       |
+============+=====================================================================+============+
| **1.5.0**  | * Drop support for Python 3.6                                       | 2023/08/31 |
|            | * Switch to implicit namespace package configuration                |            |
+------------+---------------------------------------------------------------------+------------+
| **1.4.0**  | * Remove Python 3.5 support. Only Python 3.6 or newer is supported. | 2020/12/29 |
+------------+---------------------------------------------------------------------+------------+
| **1.3.0**  | * Remove Python 2.7 support. Only Python 3.5 or newer is supported. | 2020/07/04 |
+------------+---------------------------------------------------------------------+------------+
| **1.2.0**  | * Rework namespace handling for luma sub-projects                   | 2019/06/16 |
+------------+---------------------------------------------------------------------+------------+
| **1.1.0**  | * Added ASCII-block emulator                                        | 2018/02/03 |
+------------+---------------------------------------------------------------------+------------+
| **1.0.2**  | * Changed version number to inside ``luma/emulator/__init__.py``    | 2017/11/23 |
+------------+---------------------------------------------------------------------+------------+
| **1.0.1**  | * Workaround pygame bug & use io module                             | 2017/11/22 |
+------------+---------------------------------------------------------------------+------------+
| **1.0.0**  | * Stable version                                                    | 2017/11/03 |
|            | * Minor documentation and setup fixes                               |            |
+------------+---------------------------------------------------------------------+------------+
| **0.2.5**  | * Correct ``noop`` import                                           | 2017/09/06 |
+------------+---------------------------------------------------------------------+------------+
| **0.2.4**  | * Move show/hide/contrast methods into emulator                     | 2017/04/30 |
|            | * Add segment mapper                                                |            |
|            | * Refactor tests                                                    |            |
+------------+---------------------------------------------------------------------+------------+
| **0.2.3**  | * Added ASCII-art emulator                                          | 2017/04/15 |
+------------+---------------------------------------------------------------------+------------+
| **0.1.3**  | * Add contrast & show/hide functionality to pygame emulator         | 2017/03/02 |
+------------+---------------------------------------------------------------------+------------+
| **0.1.2**  | * Restrict exported Python symbols from ``luma.emulator.device``    | 2017/03/02 |
+------------+---------------------------------------------------------------------+------------+
| **0.1.1**  | * Split out emulator functionality from `rm-hull/luma.core`         | 2017/02/17 |
+------------+---------------------------------------------------------------------+------------+

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/rm-hull/luma.emulator",
    "name": "luma.emulator",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "<4,>=3.7",
    "maintainer_email": "",
    "keywords": "raspberry pi,orange,banana pi,rpi,opi,sbc,oled,lcd,led,display,screen,spi,i2c,emulator",
    "author": "Richard Hull",
    "author_email": "richard.hull@destructuring-bind.org",
    "download_url": "https://files.pythonhosted.org/packages/2d/1b/a2826fab853c74cfb330a159ef1fe111c15255489eb67626627228ceb506/luma.emulator-1.5.0.tar.gz",
    "platform": null,
    "description": "`luma.core <https://github.com/rm-hull/luma.core>`__ **|** \n`luma.docs <https://github.com/rm-hull/luma.docs>`__ **|** \nluma.emulator **|** \n`luma.examples <https://github.com/rm-hull/luma.examples>`__ **|** \n`luma.lcd <https://github.com/rm-hull/luma.lcd>`__ **|** \n`luma.led_matrix <https://github.com/rm-hull/luma.led_matrix>`__ **|** \n`luma.oled <https://github.com/rm-hull/luma.oled>`__ \n\nLuma.Emulator\n=============\n\n.. image:: https://github.com/rm-hull/luma.emulator/workflows/luma.emulator/badge.svg?branch=master\n   :target: https://github.com/rm-hull/luma.emulator/actions?workflow=luma.emulator\n\n.. image:: https://coveralls.io/repos/github/rm-hull/luma.emulator/badge.svg?branch=master\n   :target: https://coveralls.io/github/rm-hull/luma.emulator?branch=master\n\n.. image:: https://img.shields.io/pypi/pyversions/luma.emulator.svg\n   :target: https://pypi.python.org/pypi/luma.emulator\n\n.. image:: https://img.shields.io/pypi/v/luma.emulator.svg\n   :target: https://pypi.python.org/pypi/luma.emulator\n\n.. image:: https://img.shields.io/pypi/dm/luma.emulator\n   :target: https://pypi.python.org/project/luma.emulator\n\n**luma.emulator** provides a series of pseudo-display devices which allow \nthe `luma.core <https://github.com/rm-hull/luma.core>`_ components to be used\nwithout running a physical device. These include:\n\n* Real-time (pixel) emulator, based on `pygame <http://pygame.org/docs/>`__\n* LED matrix and 7-segment renderers\n* PNG screen capture\n* Animated GIF animator\n* Real-time ASCII-art & block emulators\n\nDocumentation\n-------------\nDocumentation can be found on https://luma-emulator.readthedocs.io.\n\n.. image:: https://raw.githubusercontent.com/rm-hull/luma.oled/master/doc/images/clock_anim.gif?raw=true\n   :alt: clock\n\n.. image:: https://raw.githubusercontent.com/rm-hull/luma.oled/master/doc/images/invaders_anim.gif?raw=true\n   :alt: invaders\n\n.. image:: https://raw.githubusercontent.com/rm-hull/luma.oled/master/doc/images/crawl_anim.gif?raw=true\n   :alt: crawl\n\n.. image:: https://raw.githubusercontent.com/rm-hull/luma.emulator/master/doc/images/ascii-art.png?raw=true\n   :alt: asciiart\n\n.. image:: https://raw.githubusercontent.com/rm-hull/luma.led_matrix/master/doc/images/emulator.gif\n   :alt: max7219 emulator\n\nLicense\n-------\nThe MIT License (MIT)\n\nCopyright (c) 2017-2023 Richard Hull and contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\nContributing\n------------\n\nPull requests (code changes / documentation / typos / feature requests / setup)\nare gladly accepted. If you are intending to introduce some large-scale\nchanges, please get in touch first to make sure we're on the same page: try to\ninclude a docstring for any new method or class, and keep method bodies small,\nreadable and PEP8-compliant. Add tests and strive to keep the code coverage\nlevels high.\n\nGitHub\n^^^^^^\nThe source code is available to clone at: https://github.com/rm-hull/luma.emulator\n\nContributors\n^^^^^^^^^^^^\n* Thijs Triemstra (@thijstriemstra)\n* Christoph Handel (@fragfutter)\n* Boeeerb (@Boeeerb)\n* xes (@xes)\n* Roger Dahl (@rogerdahl)\n* V\u00e1clav \u0160milauer (@eudoxos)\n* Claus Bjerre (@bjerrep)\n\nChangeLog\n---------\n\n+------------+---------------------------------------------------------------------+------------+\n| Version    | Description                                                         | Date       |\n+============+=====================================================================+============+\n| **1.5.0**  | * Drop support for Python 3.6                                       | 2023/08/31 |\n|            | * Switch to implicit namespace package configuration                |            |\n+------------+---------------------------------------------------------------------+------------+\n| **1.4.0**  | * Remove Python 3.5 support. Only Python 3.6 or newer is supported. | 2020/12/29 |\n+------------+---------------------------------------------------------------------+------------+\n| **1.3.0**  | * Remove Python 2.7 support. Only Python 3.5 or newer is supported. | 2020/07/04 |\n+------------+---------------------------------------------------------------------+------------+\n| **1.2.0**  | * Rework namespace handling for luma sub-projects                   | 2019/06/16 |\n+------------+---------------------------------------------------------------------+------------+\n| **1.1.0**  | * Added ASCII-block emulator                                        | 2018/02/03 |\n+------------+---------------------------------------------------------------------+------------+\n| **1.0.2**  | * Changed version number to inside ``luma/emulator/__init__.py``    | 2017/11/23 |\n+------------+---------------------------------------------------------------------+------------+\n| **1.0.1**  | * Workaround pygame bug & use io module                             | 2017/11/22 |\n+------------+---------------------------------------------------------------------+------------+\n| **1.0.0**  | * Stable version                                                    | 2017/11/03 |\n|            | * Minor documentation and setup fixes                               |            |\n+------------+---------------------------------------------------------------------+------------+\n| **0.2.5**  | * Correct ``noop`` import                                           | 2017/09/06 |\n+------------+---------------------------------------------------------------------+------------+\n| **0.2.4**  | * Move show/hide/contrast methods into emulator                     | 2017/04/30 |\n|            | * Add segment mapper                                                |            |\n|            | * Refactor tests                                                    |            |\n+------------+---------------------------------------------------------------------+------------+\n| **0.2.3**  | * Added ASCII-art emulator                                          | 2017/04/15 |\n+------------+---------------------------------------------------------------------+------------+\n| **0.1.3**  | * Add contrast & show/hide functionality to pygame emulator         | 2017/03/02 |\n+------------+---------------------------------------------------------------------+------------+\n| **0.1.2**  | * Restrict exported Python symbols from ``luma.emulator.device``    | 2017/03/02 |\n+------------+---------------------------------------------------------------------+------------+\n| **0.1.1**  | * Split out emulator functionality from `rm-hull/luma.core`         | 2017/02/17 |\n+------------+---------------------------------------------------------------------+------------+\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A suite of pseudo-devices for luma.core components",
    "version": "1.5.0",
    "project_urls": {
        "Homepage": "https://github.com/rm-hull/luma.emulator"
    },
    "split_keywords": [
        "raspberry pi",
        "orange",
        "banana pi",
        "rpi",
        "opi",
        "sbc",
        "oled",
        "lcd",
        "led",
        "display",
        "screen",
        "spi",
        "i2c",
        "emulator"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2d83828fc4777d7cd73a29f05c43e353d909a88ba2544745d07db3c1d157220f",
                "md5": "e96907fc5caa9a0ab9622ebdd90249cf",
                "sha256": "294dc6c6e831ef14292cc95a52b757e3a6b0fcd309d19f71ac9dfd593ffe9576"
            },
            "downloads": -1,
            "filename": "luma.emulator-1.5.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e96907fc5caa9a0ab9622ebdd90249cf",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": "<4,>=3.7",
            "size": 27000,
            "upload_time": "2023-08-31T23:01:21",
            "upload_time_iso_8601": "2023-08-31T23:01:21.173539Z",
            "url": "https://files.pythonhosted.org/packages/2d/83/828fc4777d7cd73a29f05c43e353d909a88ba2544745d07db3c1d157220f/luma.emulator-1.5.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2d1ba2826fab853c74cfb330a159ef1fe111c15255489eb67626627228ceb506",
                "md5": "29afb1c2804676748eb792065015f7a4",
                "sha256": "d0f09b173f414265da7692fe4c7c37e3cb54f4f8138e135f8b1b4715e378db8f"
            },
            "downloads": -1,
            "filename": "luma.emulator-1.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "29afb1c2804676748eb792065015f7a4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.7",
            "size": 880846,
            "upload_time": "2023-08-31T23:01:23",
            "upload_time_iso_8601": "2023-08-31T23:01:23.145678Z",
            "url": "https://files.pythonhosted.org/packages/2d/1b/a2826fab853c74cfb330a159ef1fe111c15255489eb67626627228ceb506/luma.emulator-1.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-31 23:01:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rm-hull",
    "github_project": "luma.emulator",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "luma.emulator"
}
        
Elapsed time: 0.15395s