Comments (13)
Will try to do this in the next few days
from luma.oled.
@rm-hull there's a util called rstcheck
that validates rst documents.
pip install rstcheck
And that gives an error for the README:
$ rstcheck README.rst
README.rst:2: (WARNING/2) Duplicate explicit target name: "datasheet".
It's very likely that Pypi chokes on this. I'll create a PR with a fix. Note that there's a Pypi test site as well that you can use to preview the package documentation and usage.
from luma.oled.
yay! https://testpypi.python.org/pypi?:action=display&name=ssd1306&version=0.3.1
travis task would be 👍
test could be interesting... I guess a mock SMBus
object would be all that is needed
from luma.oled.
@rm-hull this looks promising: https://github.com/TCAllen07/raspi-device-mocks
from luma.oled.
Also just noticed that the distributed tar.gz file does not contain the examples, docs, license etc.
$ ls -l ssd1306-0.3.1/
-rw-r--r-- 1 foo wheel 11595 13 nov 23:25 PKG-INFO
drwxr-xr-x 5 foo wheel 170 13 nov 23:25 oled
-rw-r--r-- 1 foo wheel 1009 13 nov 23:24 setup.py
I think it would be good to include these assets since the average rpi user would get confused by this IMO. I'll include it in the upcoming PR.
And more importantly, setup.py has a dependency on README.rst; without that file installation using pip isn't even possible.
from luma.oled.
requirements.txt shouldn't be necessary if you define the dependencies in setup.py..
from luma.oled.
Any news?
from luma.oled.
Hi @thijstriemstra, I just published SSD1306 (0.3.0) to pypi for the first time (see https://pypi.python.org/pypi/ssd1306/0.3.0) .. do you know why the README.rst is not rendering?
from luma.oled.
@rm-hull hmm that's odd.. I'll look into it.
from luma.oled.
Having a travis task that checks for these doc mistakes would be nice as well. I'll see if I can add one. Also a good starting point for introducing tests at some point...
from luma.oled.
Ok, the task is an improvement but it doesnt run the docs task yet under travis, will look into that. it also uses a really old pip version, will update that in the build as well.
from luma.oled.
I see https://pypi.python.org/pypi/ssd1306/0.3.1 but when I pip install it, it's still using 0.3 (and failing with the missing README.rst error).
from luma.oled.
Ok, 0.3.2 just published, and I was able to pip install it
from luma.oled.
Related Issues (20)
- how do i change in code sh1106 driver , need location for code change ? HOT 2
- [question] access screens on remote Pi?
- Support for non-Raspberry Pi Linux boards HOT 1
- New Haven 2.7 oled with ssd1322 HOT 4
- ImportError: The _imagingft C module is not installed HOT 1
- White display SPI issue with 6.x kernels HOT 2
- Array is incorrectly shifted for 96x16 OLEDs. HOT 5
- Scrolling text within bounding box
- Input/output error for luma.oled HOT 5
- sys_info.py: error: I2C device not found on address: 0x3C.But i2c can detected on pi 4b arm64
- Low FPS on SSD1322 and Raspberry Pi 3B HOT 1
- Orange Pi zero2 error Timer expired HOT 2
- Wrong column offset 1.54" SH1106 I2C HOT 5
- Hardware Accelerated 3D on the SSD1306
- from oled.device import ssd1306, sh1106 ModuleNotFoundError: No module named 'oled' HOT 7
- ImportError: cannot import name 'sh1107' from 'luma.oled.device' HOT 1
- Incremental screen updates with Luma and SH1106? HOT 1
- Semi-random pixels on SSD1322 - how to fix? HOT 4
- RPi3B multiple SPI SSD1306 displays HOT 5
- Support to display latin characters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luma.oled.