Skip to main content

Ascii library

Project description

Ascii Geometry

A simple library for drawing geometrical shapes using ascii characters

Installation


pip install ascii_geometry

Quick Demo


from ascii_geometry import AsciiContext



if __name__ == '__main__':

    #Create context object

    ctx = AsciiContext('0')

    

    #print a triangle of length 10

    print(ctx.get_triangle(10))



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

ascii-geometry-0.1.0.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

ascii_geometry-0.1.0-py3-none-any.whl (2.3 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