federicoceratto / dashing Goto Github PK
View Code? Open in Web Editor NEWTerminal dashboards for Python
Home Page: https://dashing.readthedocs.io/en/latest/
Terminal dashboards for Python
Home Page: https://dashing.readthedocs.io/en/latest/
It seems that the RtD project was last built 3 years 7 months ago. Could you check why it's not building the latest versions anymore? https://readthedocs.org/projects/dashing/builds/
I'm not sure what's going on but my friend is saying there might not be a way back from the instance (blessed).
It seems I have to handle, ui.display(), somehow.
Hello, i've been playing with the library and I'm having a bug in which after the execution of the program, the color of the font of my console changes entirely and I have to close the terminal and open a new one.
For reference i'm using Windows 10
Here the program executed correctly but I cannot read the working directory of my terminal and whatever I type.
Here I changed the color of the background and foreground
Also, how can I contribute to the project? I modified it a bit to allow it to have a Text object alone that accepts a fixed width and height.
Cannot add items to split objects as the documentation suggests. This is because it creates a local copy of the tuple used to assign the items at creation. I have proposed a workaround by casting the tuple to list on the assignment to remedy this. Issue corresponds to pull request #24
Using pip install dashing
will install only the dist-info
, making the package unusable.
This behavior is the same with both Python 3.7 and 2.7.
How can I set fixed number of lines of Text and Log, instead of letting them dynamically change ?
i dont' want to go into normal mode cuz this dashboard isn't supposed to be the main thing. quickdash seems to be a perfect option, but it's not even in the module.
Traceback (most recent call last):
File "C:\dashing\examples\demo.py", line 4, in
from dashing import (
ImportError: cannot import name 'ColorRangeVGauge' from 'dashing' (C:\Users\CHEF SEC\AppData\Roaming\Python\Python311-32\site-packages\dashing_init_.py)
[Finished in 719ms with exit code 1]
pip2 install dashing
Collecting dashing
Could not find a version that satisfies the requirement dashing (from versions: )
No matching distribution found for dashing
pip3 install dashing
Collecting dashing
Could not find a version that satisfies the requirement dashing (from versions: )
No matching distribution found for dashing
How do I know which number corresponds to which colour?
when I try your example i get this error:
ui = HSplit(
NameError: name 'HSplit' is not defined
I'm a bit sad because the library looks so promising :-)
Hi, I'm using dashing and the "Log" widget doesn't show anaything. Y try the append method and it doesn't change. Also, do you have a better documentation?
Code:
from dashing import *
ui = HSplit(
Log(title='logs', border_color=5)
)
log = ui.items[0]
ui.display()
log.append("hello")
Traceback:
Traceback (most recent call last): │
File "/LOCAL/scratch.py", line 9, in <module> │
ui.display() │
File "/home/user/.local/lib/python3.10/site-packages/dashing/dashing.py", line 100, in display │
self._display(tbox, None) │
File "/home/tuser/.local/lib/python3.10/site-packages/dashing/dashing.py", line 144, in _display │
i._display(TBox(tbox.t, x, y, item_width, item_height), self) │
File "/home/user/.local/lib/python3.10/site-packages/dashing/dashing.py", line 205, in _display │
if i < tbox.h: │
UnboundLocalError: local variable 'i' referenced before assignment
Reproduced in Python versions 3.9 & 3.10
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.