micropython-nano-gui | lightweight MicroPython GUI library for display drivers

 by   peterhinch Python Version: Current License: MIT

kandi X-RAY | micropython-nano-gui Summary

kandi X-RAY | micropython-nano-gui Summary

micropython-nano-gui is a Python library typically used in Internet of Things (IoT) applications. micropython-nano-gui has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However micropython-nano-gui build file is not available. You can download it from GitHub.

This library provides a limited set of GUI objects (widgets) for displays whose display driver is subclassed from the FrameBuffer class. Such drivers can be tiny as the graphics primitives are supplied by the FrameBuffer class. A range of device drivers is provided: the device driver doc provides guidance on selecting the right driver for your display, platform and application. The GUI is cross-platform. The device driver doc explains how to configure it for a given display and MicroPython host by adapting a single small file. The GUI supports multiple displays attached to a single target, but bear in mind the RAM requirements for multiple frame buffers. The GUI has been tested on Pyboard 1.1, Pyboard D and on the ESP32 reference board without SPIRAM. Running on ESP8266 is possible but frozen bytecode must be used owing to its restricted RAM. As of 14th March 2021 it runs on the Raspberry Pi Pico; on that target firmware must be of that date or later. The color15 demo fails because the firmware lacks uos.urandom() but hopefully it will be fixed soon. It uses synchronous code but is compatible with uasyncio. Some demo programs illustrate this. Code is standard MicroPython, but some device drivers use the native and viper decorators.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              micropython-nano-gui has a low active ecosystem.
              It has 343 star(s) with 68 fork(s). There are 21 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 3 open issues and 22 have been closed. On average issues are closed in 106 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of micropython-nano-gui is current.

            kandi-Quality Quality

              micropython-nano-gui has 0 bugs and 66 code smells.

            kandi-Security Security

              micropython-nano-gui has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              micropython-nano-gui code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              micropython-nano-gui is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              micropython-nano-gui releases are not available. You will need to build from source code and install.
              micropython-nano-gui has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 6288 lines of code, 347 functions and 82 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed micropython-nano-gui and discovered the below as its top functions. This is intended to give you an instant insight into micropython-nano-gui implemented functionality, and help decide if they suit your requirements.
            • Initialize the device .
            • Initialize camera .
            • Connect to the clock
            • Generate variable labels
            • Initialize hardware .
            • Add lines to the list .
            • Get character .
            • Set window size .
            • Initialize the display .
            • Test the meter .
            Get all kandi verified functions for this library.

            micropython-nano-gui Key Features

            No Key Features are available at this moment for micropython-nano-gui.

            micropython-nano-gui Examples and Code Snippets

            No Code Snippets are available at this moment for micropython-nano-gui.

            Community Discussions

            Trending Discussions on Internet of Things (IoT)

            QUESTION

            Display data from two json files in react native
            Asked 2020-May-17 at 23:55

            I have js files Dashboard and Adverts. I managed to get Dashboard to list the information in one json file (advertisers), but when clicking on an advertiser I want it to navigate to a separate page that will display some data (Say title and text) from the second json file (productadverts). I can't get it to work. Below is the code for the Dashboard and next for Adverts. Then the json files

            ...

            ANSWER

            Answered 2020-May-17 at 23:55

            The new object to get params in React Navigation 5 is:

            Source https://stackoverflow.com/questions/61859411

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install micropython-nano-gui

            A GUI description can seem daunting because of the number of class config options. Defaults can usually be accepted and meaningful applications can be minimal. Installation can seem difficult. To counter this, this session using rshell installed and ran a demo showing analog and digital clocks. Clone the repo to your PC, wire up a Pyboard (1.x or D) to an Adafruit 1.27" OLED as per color_setup.py, move to the root directory of the repo and run rshell. Note also that the gui.demos.aclock.py demo comprises 38 lines of actual code. This stuff is easier than you might think.
            The setup_examples directory contains example setup files for various hardware. These are templates which may be adapted to suit the hardware in use, then copied to the hardware root as color_setup.py. Example files:.
            ssd1306_pyb.py Setup file for monochrome displays using the official driver. Supports hard or soft SPI or I2C connections.
            ssd1351_esp32.py As written supports an ESP32 connected to a 128x128 SSD1351 display. After editing to match the display and wiring, it should be copied to the target as /pyboard/color_setup.py.
            ssd1351_esp8266.py Similar for ESP8266. Usage is somewhat experimental.
            st7735r_pyb.py Assumes a Pyboard with an Adafruit 1.8 inch TFT display.
            st7735r144_pyb.py For a Pyboard with an Adafruit 1.44 inch TFT display.
            ili9341_esp32.py A 240*320 ILI9341 display on ESP32.
            st7789_pico.py Example with SSD7789 driver and Pi Pico host.
            st7789_ttgo.py Setup for the TTGO T-Display device.
            waveshare_pyb.py 176*274 ePaper display on Pyboard.
            epd29_pyb_sync.py Adafruit 2.9 inch ePaper display for synchronous code.
            epd29_pyb_async.py Adafruit 2.9 inch ePaper display: uasyncio applications.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/peterhinch/micropython-nano-gui.git

          • CLI

            gh repo clone peterhinch/micropython-nano-gui

          • sshUrl

            git@github.com:peterhinch/micropython-nano-gui.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link