Metadata-Version: 2.4
Name: luma.emulator
Version: 1.5.0
Summary: A suite of pseudo-devices for luma.core components
Home-page: https://github.com/rm-hull/luma.emulator
Author: Richard Hull
Author-email: richard.hull@destructuring-bind.org
License: MIT
Keywords: raspberry pi,orange,banana pi,rpi,opi,sbc,oled,lcd,led,display,screen,spi,i2c,emulator
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Developers
Classifier: Topic :: Education
Classifier: Topic :: System :: Hardware
Classifier: Topic :: System :: Hardware :: Hardware Drivers
Classifier: Topic :: Software Development :: Libraries :: pygame
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: <4,>=3.7
Description-Content-Type: text/x-rst
License-File: LICENSE.rst
Requires-Dist: luma.core>=2.4.0
Requires-Dist: pygame
Provides-Extra: docs
Requires-Dist: sphinx>=1.5.1; extra == "docs"
Provides-Extra: qa
Requires-Dist: flake8; extra == "qa"
Requires-Dist: rstcheck; extra == "qa"
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Requires-Dist: pytest-timeout; extra == "test"
Dynamic: license-file

`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 |
+------------+---------------------------------------------------------------------+------------+
