a simple REPL display lib for circuitpython

Overview

Circuitpython-termio-lib

a simple REPL display lib for circuitpython img

Fonctions

cls

clear terminal screen and set cursor on top left : coords 0,0

usage :

from termio import cls as cls
cls()

printat

set cursor position and print

syntax : printat(x,y,value)

coords start from top left and depend on you display size.

example on wio terminal 50 chars wide on 20 lines then x is between 0 and 49 and lines are from 0 to 19 (on wio terminal it's strange display line start on 2 , then think to add a 2 offset on your code)

usage :

from termio import printat as printat
printat(5,10,"Hello World!")

rect

draw a rectangle with char (if empty char , make rectangle with + - and )

syntax : rect(x,y,width,height,char)

draw a rectangle from x,y with width chars wide and height line down

usage :

from termio import rect as rect
rect(5,4,20,5,"")

fillrect

draw a rectangle with char (if empty char , make rectangle with + - and )

syntax : fillrect(x,y,width,height,char,fillchar)

draw a filled rectangle from x,y with width chars wide and height line down and filled with a char

usage :

from termio import fillrect as fillrect
fillrect(5,4,20,5,"#","O")

You might also like...
This is a Cross-Platform Plot Manager for Chia Plotting that is simple, easy-to-use, and reliable.
This is a Cross-Platform Plot Manager for Chia Plotting that is simple, easy-to-use, and reliable.

Swar's Chia Plot Manager A plot manager for Chia plotting: https://www.chia.net/ Development Version: v0.0.1 This is a cross-platform Chia Plot Manage

erdantic is a simple tool for drawing entity relationship diagrams (ERDs) for Python data model classes
erdantic is a simple tool for drawing entity relationship diagrams (ERDs) for Python data model classes

erdantic is a simple tool for drawing entity relationship diagrams (ERDs) for Python data model classes. Diagrams are rendered using the venerable Graphviz library.

Lumen provides a framework for visual analytics, which allows users to build data-driven dashboards from a simple yaml specification
Lumen provides a framework for visual analytics, which allows users to build data-driven dashboards from a simple yaml specification

Lumen project provides a framework for visual analytics, which allows users to build data-driven dashboards from a simple yaml specification

Simple Python interface for Graphviz
Simple Python interface for Graphviz

Simple Python interface for Graphviz

PyPassword is a simple follow up to PyPassphrase
PyPassword is a simple follow up to PyPassphrase

PyPassword PyPassword is a simple follow up to PyPassphrase. After finishing that project it occured to me that while some may wish to use that option

Simple python implementation with matplotlib to manually fit MIST isochrones to Gaia DR2 color-magnitude diagrams

Simple python implementation with matplotlib to manually fit MIST isochrones to Gaia DR2 color-magnitude diagrams

Yata is a fast, simple and easy Data Visulaization tool, running on python dash
Yata is a fast, simple and easy Data Visulaization tool, running on python dash

Yata is a fast, simple and easy Data Visulaization tool, running on python dash. The main goal of Yata is to provide a easy way for persons with little programming knowledge to visualize their data easily.

A simple script that displays pixel-based animation on GitHub Activity
A simple script that displays pixel-based animation on GitHub Activity

GitHub Activity Animator This project contains a simple Javascript snippet that produces an animation on your GitHub activity tracker. The project als

A simple python tool for explore your object detection dataset
A simple python tool for explore your object detection dataset

A simple tool for explore your object detection dataset. The goal of this library is to provide simple and intuitive visualizations from your dataset and automatically find the best parameters for generating a specific grid of anchors that can fit you data characteristics

Owner
BeBoXoS
BeBoXoS
649 Pokémon palettes as CSVs, with a Python lib to turn names/IDs into palettes, or MatPlotLib compatible ListedColormaps.

PokePalette 649 Pokémon, broken down into CSVs of their RGB colour palettes. Complete with a Python library to convert names or Pokédex IDs into eithe

null 11 Dec 5, 2022
A python script and steps to display locations of peers connected to qbittorrent

A python script (along with instructions) to display the locations of all the peers your qBittorrent client is connected to in a Grafana worldmap dash

null 62 Dec 7, 2022
Graphical display tools, to help students debug their class implementations in the Carcassonne family of projects

carcassonne_tools Graphical display tools, to help students debug their class implementations in the Carcassonne family of projects NOTE NOTE NOTE The

null 1 Nov 8, 2021
Farhad Davaripour, Ph.D. 1 Jan 5, 2022
This component provides a wrapper to display SHAP plots in Streamlit.

streamlit-shap This component provides a wrapper to display SHAP plots in Streamlit.

Snehan Kekre 30 Dec 10, 2022
Simple plotting for Python. Python wrapper for D3xter - render charts in the browser with simple Python syntax.

PyDexter Simple plotting for Python. Python wrapper for D3xter - render charts in the browser with simple Python syntax. Setup $ pip install PyDexter

D3xter 31 Mar 6, 2021
Simple, realtime visualization of neural network training performance.

pastalog Simple, realtime visualization server for training neural networks. Use with Lasagne, Keras, Tensorflow, Torch, Theano, and basically everyth

Rewon Child 416 Dec 29, 2022
Simple Python interface for Graphviz

Graphviz This package facilitates the creation and rendering of graph descriptions in the DOT language of the Graphviz graph drawing software (master

Sebastian Bank 1.3k Dec 26, 2022
Simple Python interface for Graphviz

Graphviz This package facilitates the creation and rendering of graph descriptions in the DOT language of the Graphviz graph drawing software (master

Sebastian Bank 919 Feb 17, 2021
Simple and lightweight Spotify Overlay written in Python.

Simple Spotify Overlay This is a simple yet powerful Spotify Overlay. About I have been looking for something like this ever since I got Spotify. I th

null 27 Sep 3, 2022