-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 14b559c
Showing
28 changed files
with
1,381 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# .coveragerc to control coverage.py | ||
[run] | ||
source = luma.core | ||
omit = | ||
setup.py | ||
.tox/* | ||
doc/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
env/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
MANIFEST | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
|
||
# Sphinx documentation | ||
doc/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
.ropeproject | ||
*~ | ||
|
||
# OSX | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
sudo: true | ||
language: python | ||
cache: pip | ||
|
||
matrix: | ||
include: | ||
- python: 2.7 | ||
env: TOXENV=py27 | ||
- python: 3.4 | ||
env: TOXENV=py34 | ||
- python: 3.5 | ||
env: TOXENV=py35 | ||
- python: 3.6 | ||
env: TOXENV=py36 | ||
- python: 3.7-dev | ||
env: TOXENV=py37 | ||
- python: 2.7 | ||
env: TOXENV=qa | ||
allow_failures: | ||
- python: 3.7-dev | ||
addons: | ||
apt: | ||
packages: | ||
- libsdl1.2-dev | ||
- libsdl-image1.2-dev | ||
- libsdl-mixer1.2-dev | ||
- libsdl-ttf2.0-dev | ||
- libportmidi-dev | ||
- libfreetype6-dev | ||
- libjpeg8-dev | ||
- i2c-tools | ||
|
||
install: pip install -U pip tox coveralls | ||
script: tox -vv | ||
after_success: | ||
- coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
ChangeLog | ||
--------- | ||
|
||
+------------+---------------------------------------------------------------------+------------+ | ||
| Version | Description | Date | | ||
+============+=====================================================================+============+ | ||
| **0.1.0** | * Split out emulator functionality from `rm-hull/luma.core` | | | ||
+------------+---------------------------------------------------------------------+------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
include VERSION.txt README.rst CHANGES.rst CONTRIBUTING.rst LICENSE.rst tox.ini setup.cfg .coveragerc | ||
|
||
recursive-include luma *.py *.png | ||
|
||
recursive-include doc * | ||
prune doc/_build | ||
|
||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] | ||
recursive-exclude * *~ | ||
recursive-exclude * .coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
`luma.core <https://github.com/rm-hull/luma.core>`__ **|** | ||
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://travis-ci.org/rm-hull/luma.emulator.svg?branch=master | ||
:target: https://travis-ci.org/rm-hull/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/maintenance/yes/2017.svg?maxAge=2592000 | ||
|
||
**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)[] | ||
* LED matrix and 7-segment renderers | ||
* PNG screen capture | ||
* Animated GIF animator | ||
|
||
.. 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 | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.1.0 |
Oops, something went wrong.