aconsole
Asynchorous Commandline like GUI for Python 3.
Provides async await for print and input. It also supports having multiple awaiting inputs, which are queued and then processed one by one.
See: Multiple inputs awaiting.
Other supported features:
- Canceling input.
- Changing color theme
- Chaging transparency
Controls
Mouse for navigating the output. Keys for input:
[Enter] Submits input.
[Up/Down] Navigates input history.
Keys for output:
[Ctrl+C] Copy selected content.
[Ctrl+R] Clears output.
Depencies
Just Python 3.6 or above. For GUI it uses Tkinter, which is built-in module in Python.
Tested on: Mac, Linux and Windows.
A Simple Example
import asyncio
import aconsole
if __name__ == '__main__':
loop = asyncio.get_event_loop()
console = AsyncConsole()
console.title('echo test')
async def echo():
while True:
result = await console.input('echo to out: ')
console.print('echo:', result)
run_task = console.run(loop)
loop.create_task(echo())
loop.run_until_complete(run_task) # wait until window closed
Other Examples
Metadata
Release files for aconsole 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aconsole-0.0.8.tar.gz | 4.0 kB | Without provenance | Details for aconsole-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aconsole-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for aconsole-0.0.8-py3-none-any.whl |
Total release size: 8.8 kB
Release files / aconsole-0.0.8.tar.gz
| Download URL | aconsole-0.0.8.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2b23cccf6aa9f50f8fa927a47d9d8b0c0c52ace4d5a2a2c89e98db2b38bf48d
|
|
BLAKE2b-256 checksum How to use checksums |
bbcb7e2462104423481dee678e4f4bd68dff1819b1144535cfdb2ba726f0f7bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|
Release files / aconsole-0.0.8-py3-none-any.whl
| Download URL | aconsole-0.0.8-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d25140c6230e369ce26e67669cd984a4735cae45a26c3093dc99a784ba2323d2
|
|
BLAKE2b-256 checksum How to use checksums |
8fbc1ec00cb6d15deb8a9740095b4b0d6b0d07064fede75d110c0385e56eacc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|
Security for aconsole 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.