ConsoleVerse is a Python library that provides a set of tools for managing console output, input and styling. It aims to simplify console interactions and improve user experience.
- Simple and intuitive library interface
- Customizable styling options
- Support for progress bars
- Cross-platform compatibility
To install ConsoleVerse, simply run:
# from PyPI
pip install consoleverse # is not available yet
# from GitHub
pip install git+https://github.com/JuanS3/ConsoleVerse.git
To use ConsoleVerse in your Python project, simply import it and start using its features:
>>> from consoleverse import console
>>> console.println("Hello, ConsoleVerse!")
... Hello, ConsoleVerse!
>>> console.inputln("Your name? ")
... Your name?
>>> matrix = [
>>> [1, 2, 3],
>>> [4, 5, 6]
>>> ]
>>> print_matrix(matrix)
...
... 0 1 2
... -------
... 0 | 1 2 3 |
... 1 | 4 5 6 |
... -------
>>> print_matrix(
>>> matrix,
>>> header=['one', 'two', 'three'],
>>> indexes=['row1', 'row2'],
>>> style='semibox'
>>> )
...
... one two three
... -----------------------
... row1 | 1 2 3
... row2 | 4 5 6
For more detailed usage instructions, please see the usage documentation.
Check out the examples directory for some sample code demonstrating ConsoleVerse's capabilities.
Contributions to ConsoleVerse are welcome and appreciated! Please see the contribution guidelines for more information on how to get involved.
ConsoleVerse is released under the MIT License. See the license file for more information.
ConsoleVerse was developed by JuanS3.