scalabli / quo Goto Github PK
View Code? Open in Web Editor NEW🚦🛠️⚙️Quo, a toolkit for writing Command-Line Interface applications and a Text User Interface framework for Python.
Home Page: https://quo.rtfd.io
License: MIT License
🚦🛠️⚙️Quo, a toolkit for writing Command-Line Interface applications and a Text User Interface framework for Python.
Home Page: https://quo.rtfd.io
License: MIT License
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
You may find a solution to your problem in the docs or issues.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Android(please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
TypeError: prompt() got an unexpected keyword argument 'autoconfirm'
Describe the bug
wcwidth is a required module but deosn't get installed when installing quo via pip.
The examples refer to quo.flair() but it doesn't seem to have such a function
To Reproduce
import quo
quo.flair(f'Hello, World!', fg="red", bold=True)
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'quo' has no attribute 'flair'
Expected behavior
.flair() function should be available
Desktop (please complete the following information):
You may find a solution to your problem in the docs or issues.
Describe the bug
:meth:quo.console.Console.size
object not Callable
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
CodeFactor found an issue: Complex Method
It's currently on:
src\quo\types.py:997-1060
The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.
Fix circular imports
The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.
CodeFactor found an issue: TODO: not entirely correct yet in case of line wrapping and long lines.
It's currently on:
src\quo\layout\containers.py:2605
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
Adding and overline
You may find a solution to your problem in the docs or issues.
Describe the bug
When i use the module quo.dialog i recived a some errors using a
template of the docs which are that:
Traceback (most recent call last):
File "C:\Users\esteb\Downloads\Haciendouncliente\Launch(thanks-to-portablemc).py", line 4, in <module>
MessageBox(
File "C:\Users\esteb\scoop\apps\python\current\Lib\site-packages\quo\dialog.py", line 475, in MessageBox
return _MessageBox(
^^^^^^^^^^^^
File "C:\Users\esteb\scoop\apps\python\current\Lib\site-packages\quo\dialog.py", line 201, in _MessageBox
dialog = Dialog(
^^^^^^^
File "C:\Users\esteb\scoop\apps\python\current\Lib\site-packages\quo\widget\dialogs.py", line 88, in __init__
body=Frame(
^^^^^^
File "C:\Users\esteb\scoop\apps\python\current\Lib\site-packages\quo\widget\core.py", line 538, in __init__
Label(
File "C:\Users\esteb\scoop\apps\python\current\Lib\site-packages\quo\widget\core.py", line 388, in __init__
FormattedTextControl(Text(text)),
^^^^^^^^^^
File "C:\Users\esteb\scoop\apps\python\current\Lib\site-packages\quo\text\html.py", line 31, in __init__
mini = minidom.parseString(f"<html-root>{value}</html-root>")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\esteb\scoop\apps\python\current\Lib\xml\dom\minidom.py", line 2000, in parseString
return expatbuilder.parseString(string)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\esteb\scoop\apps\python\current\Lib\xml\dom\expatbuilder.py", line 925, in parseString
return builder.parseString(string)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\esteb\scoop\apps\python\current\Lib\xml\dom\expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 36
Code:
import subprocess
from quo.dialog import MessageBox
MessageBox(
title='Message window',
text='Do you want to continue?\nPress ENTER to quit.')
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
I belive that a some argument (i don't know which) may be crashed by a error in the loading of the dialog and the core. I don't know, but i was looking in to source code and then i found the core (I don't know if this matters) and i found that would be outdated or simply broken.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Android(please complete the following information):
Additional context
Add any other context about the problem here.
I think is probably a problem of my computer should be my ssd that's may be no too high quality and i saw some problems to start apps and programs.
Describe the bug
I tried to execute examples from README.md, this one is for prompt, however I get an ImportError
>>> completer = quo.completion.WordCompleter(['USA', 'UK', 'Canada', 'Kenya'])
>>> session = quo.Prompt(completer=completer)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python\Python38\lib\site-packages\quo\shortcuts\prompt.py", line 452, in __init__
self.app = self._create_application(editing_mode, erase_when_done)
File "C:\Python\Python38\lib\site-packages\quo\shortcuts\prompt.py", line 703, in _create_application
application: Suite[_T] = Suite(
File "C:\Python\Python38\lib\site-packages\quo\suite\suite.py", line 280, in __init__
self.output = output or session.output
File "C:\Python\Python38\lib\site-packages\quo\suite\current.py", line 70, in output
self._output = create_output()
File "C:\Python\Python38\lib\site-packages\quo\output\defaults.py", line 59, in create_output
from .console_emulator import ConEmu
File "C:\Python\Python38\lib\site-packages\quo\output\console_emulator.py", line 8, in <module>
from .win32 import Win32Output
File "C:\Python\Python38\lib\site-packages\quo\output\win32.py", line 16, in <module>
from quo.utils import get_cwidth
ImportError: cannot import name 'get_cwidth' from 'quo.utils' (C:\Python\Python38\lib\site-packages\quo\utils\__init__.py)
To Reproduce
Steps to reproduce the behavior:
import quo
completer = quo.completion.WordCompleter(['USA', 'UK', 'Canada', 'Kenya'])
session = quo.Prompt(completer=completer)
session.prompt('Which country are you from?: ')
Expected behavior
Not throw an error.
Desktop (please complete the following information):
CodeFactor found an issue: Undefined variable name 'split_lines' in all
It's currently on:
src\quo\text_init_.py:52
Commit 906a7e4
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.