Skip to main content

A suite of pseudo-devices for luma.core components

Project description

luma.core | luma.docs | luma.emulator | luma.examples | luma.lcd | luma.led_matrix | luma.oled

Luma.Emulator

https://travis-ci.org/rm-hull/luma.emulator.svg?branch=master https://coveralls.io/repos/github/rm-hull/luma.emulator/badge.svg?branch=master https://img.shields.io/pypi/pyversions/luma.emulator.svg https://img.shields.io/pypi/v/luma.emulator.svg https://img.shields.io/maintenance/yes/2017.svg?maxAge=2592000

luma.emulator provides a series of pseudo-display devices which allow the luma.core components to be used without running a physical device. These include:

  • Real-time (pixel) emulator, based on pygame

  • LED matrix and 7-segment renderers

  • PNG screen capture

  • Animated GIF animator

  • Real-time ASCII-art emulator

clock invaders crawl asciiart max7219 emulator

License

The MIT License (MIT)

Copyright (c) 2017 Richard Hull & 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

0.2.4

  • Move show/hide/contrast methods into emulator

  • Add segment mapper

  • Refactor tests

2017/04/30

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

luma.emulator-0.2.4.tar.gz (875.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

luma.emulator-0.2.4-py2.py3-none-any.whl (28.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file luma.emulator-0.2.4.tar.gz.

File metadata

  • Download URL: luma.emulator-0.2.4.tar.gz
  • Upload date:
  • Size: 875.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for luma.emulator-0.2.4.tar.gz
Algorithm Hash digest
SHA256 e70a52fb4f1a9e614e75ce7489a7ce665cea6d3a040e397b357f04f9a4596b66
MD5 bd80bcf38da4288a7a47d6cd86e2df56
BLAKE2b-256 38bed8ff706913d8ada7326d9cba941016aac3def5d50f66c285a44dedc3d76e

See more details on using hashes here.

File details

Details for the file luma.emulator-0.2.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for luma.emulator-0.2.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 890922bd63d7257015df0fc47c5c0cad3d70806514bc19ef9778e9adeb7d1f4b
MD5 ec2f110bfed13e6aef8e5998a735d6ae
BLAKE2b-256 32e1dd73bbb49c1f181f4b21b88484e1938df98ddbbcbbc78f21bcf95a2850a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page