Comments (12)
Not particularly precious about licenses... arbitrarily chose MIT as it seemed the most permissive and the least amount of words. In fact, we probably should double-check ahem what the licenses are of the dependencies that we do use.
from luma.core.
True. Checked them yesterday and all seem to be MIT except pygame; LGPL.
from luma.core.
so let me fix that, and perhaps add bitbang before a new release?
from luma.core.
think i want to hide the make_serial
class (__make_serial
?) in the utils, possibly making only the create_device
and create_parser
as part of the API.
Do you intend to use get_display_types
, load_config
etc. outside the package?
from luma.core.
@rm-hull see https://github.com/collab-project/luma.cryptocurrency/blob/master/luma/cryptocurrency/console_script.py that imports these utils which allows me to extend the parser with some extra arguments and do things like luma-cryptocurrency --display sh1106 ticker
. Note that .cmdline
is a module that is a copy of the examples demo_opts, to be replaced with the new core release code.
Why do you want to hide make_serial? I think I have some use for it in some other project (where I parse a config and basically now have a similar if/else statement that picks i2c or spi import).
from luma.core.
fair enough, that seems reasonable
from luma.core.
if you think they could have a better place in the library, I'm also not a big fan of util, too generic, I'm all for it.
from luma.core.
maybe ultimately scratch the util.py
module and split out so:
- luma.core.cmdline for all the command line code
- deprecation can probably be removed once we go to 1.0.0
- does there even need to be a monotonic in there any more with #66?
from luma.core.
- sounds good, let's do that before next release?
- maybe but I bet there will be more deprecated in the future
- yes we want to use stdlib version for py > 3.3, package for < 3.3
from luma.core.
I think we should move the command line code to a different package. Otherwise we'll have to release a new luma.core every time a change is made to a child project.
from luma.core.
How about trying it out in core first, and if it becomes a burden then move it out to a separate package?
from luma.core.
Having to put out a new core release when a new feature is added to a sub project sounds like a bad idea IMO but if that maintenance, and putting out new releases, is ok for you than lets do that.
from luma.core.
Related Issues (20)
- add test for SPI cs_high warning
- Reduce the build jobs on Travis ... or use Github Actions HOT 6
- Possible to use diff-algorithm with linux_framebuffer device? HOT 8
- Add docs for last luma.core that supports Python 2.7
- luma.core.device.device is missing in api documentation HOT 1
- Supporting 32-bit depth for linux_framebuffer HOT 2
- Use github actions to publish to pypi HOT 5
- Configure setup() using setup.cfg file
- IndexError: Font does not have ASCII code: 8211 (or 8212,8217,8220,8221) HOT 2
- VFD support in Luma HOT 9
- Crash @ Raspi3 install with "syntax error" ... already tried with Python 3.8.4 HOT 5
- Support for Orange Pi GPIO module HOT 4
- How do proper cleanup/release resources when using luma.core?
- Unnecessary delete statement in function (identified with LGTM.com) HOT 3
- remove deprecated cmdline.make_serial
- ftdi_spi doesn't appear to support chips with more than 8 GPIO's HOT 8
- Drop support for Python 3.6 HOT 1
- namespace_packages parameter is deprecated
- Pillow 10 deprecation warnings
- Array is incorrectly shifted for 96x16 OLEDs. 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.core.