Skip to main content

funwithconsole

  • Draws strings as big letters to console

  • Draws christmas tree

  • Draws various shapes

Install

pip install funwithconsole

Usage

from funwithconsole import draw
draw = draw()
draw.drawString("HELLO", string_char="HI")
HI      HI    HIHIHIHIHI    HI            HI            HIHIHIHIHI
HI      HI    HI            HI            HI            HI      HI
HIHIHIHIHI    HIHIHIHIHI    HI            HI            HI      HI
HI      HI    HI            HI            HI            HI      HI
HI      HI    HIHIHIHIHI    HIHIHIHIHI    HIHIHIHIHI    HIHIHIHIHI
draw.drawString("console", string_char="//")
//////////    //////////    ////        //    //////////    //////////    //            //////////
//            //      //    //  //      //    //            //      //    //            //
//            //      //    //    //    //    //////////    //      //    //            //////////
//            //      //    //      //  //            //    //      //    //            //
//////////    //////////    //        ////    //////////    //////////    //////////    //////////
draw.drawTriangle1(shape_size=10, shape_char="hi")
 hi
 hi  hi
 hi  hi  hi
 hi  hi  hi  hi
 hi  hi  hi  hi  hi
 hi  hi  hi  hi  hi  hi
 hi  hi  hi  hi  hi  hi  hi
 hi  hi  hi  hi  hi  hi  hi  hi
 hi  hi  hi  hi  hi  hi  hi  hi  hi
 hi  hi  hi  hi  hi  hi  hi  hi  hi  hi
draw.giveMeChristmas()
                         *
                      *  *  *
                   *  *  *  *  *
                      0  *  *
                   0  *  *  0  0
                *  *  *  *  *  0  *
                   *  *  *  *  *
                *  *  *  *  *  *  *
             *  *  *  *  *  *  *  0  *
                   0  *  *  *  *
                *  *  *  *  *  *  *
             *  *  *  *  *  *  *  *  *
          *  *  *  *  *  *  *  *  *  *  *
                   *  *  0  *  *
                *  *  *  *  *  *  0
             *  *  *  *  0  *  *  *  *
          *  *  *  *  *  *  *  *  0  *  *
       *  *  *  *  *  0  *  *  *  *  *  0  *
                   *  *  *  *  *
                   *  *  *  *  *
                   *  *  *  *  *
                   *  *  *  *  *
                   *  *  *  *  *
                   *  *  *  *  *
                   *  *  *  *  *
                   *  *  *  *  *

Metadata

Release files for funwithconsole 1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for funwithconsole 1.3
File Size Uploaded
funwithconsole-1.3.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for funwithconsole 1.3
File Interpreter ABI Platform
funwithconsole-1.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / funwithconsole-1.3.tar.gz

Download URL funwithconsole-1.3.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
65de9d829c7ea0d8b9e8b0b308f102f12ce0528ee87ff27cf7da7244a2f69c91
BLAKE2b-256 checksum
How to use checksums
04caa3d32d68f0f1980285541418666afcb9efd00a1ca438341d3184b6bb4fc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.5

Release files / funwithconsole-1.3-py3-none-any.whl

Download URL funwithconsole-1.3-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
178b36a9d5a5b38c28dee4346a2989ea53b50ba83070f7ef02d26946a6006ad8
BLAKE2b-256 checksum
How to use checksums
514fcc25ee6c9b0be2ec60ddc02c11e38c51f0e1c37ea268761ab65185f0ac83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.5

Release history Release notifications | RSS feed

This release

1.3 This release

2 release files

0.0.2

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page