Skip to main content

User interface for terminal.

Project description

Pitwi

Module for terminal/console user interface.

Aperçu

Only Python :

from pitwi import Root, Text

(
    Root(width = 45, height = 8)
    .add(Text('Puf', bg='white', fg='black'))
    .add(Text('Paf'), row=2, column=2)
    .run()
)

Python + XML/CSS :

<root width="45" height="8">
	<style>
		#pwik {
			bg: white;
			fg: black;
		}
	</style>
	<text id="pwik">Puf</text>
	<text row="2" column="2">Paf</text>
</root>
from pitwi import parser

parser.file('NAME_OF_YOUR_FILE.xml').run()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pitwi-0.4.0.tar.gz (11.2 kB view hashes)

Uploaded Source

Built Distribution

pitwi-0.4.0-py3-none-any.whl (16.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page