Skip to main content

Draw in terminal

Project description

Termp

Drawing in the terminal

Installation:
pip install --upgrade termp

Import:

from Termp import *

Create a text picture:

t = termp(50,50)
# Create a 50 × 50 text image

Draw:

t.line(0,0,49,49)
t.circle(25,25,10)
t.rect(0,0,5,5)

Result:

t.print()

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

termp-0.1.7.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

termp-0.1.7-py3-none-any.whl (3.7 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