Skip to main content

funny console tools

Project description

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  *
                   *  *  *  *  *
                   *  *  *  *  *
                   *  *  *  *  *
                   *  *  *  *  *
                   *  *  *  *  *
                   *  *  *  *  *
                   *  *  *  *  *
                   *  *  *  *  *

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

funwithconsole-1.3.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

funwithconsole-1.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file funwithconsole-1.3.tar.gz.

File metadata

  • Download URL: funwithconsole-1.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for funwithconsole-1.3.tar.gz
Algorithm Hash digest
SHA256 65de9d829c7ea0d8b9e8b0b308f102f12ce0528ee87ff27cf7da7244a2f69c91
MD5 4b4695b69c1b7cccb37b0c05332a7a8d
BLAKE2b-256 04caa3d32d68f0f1980285541418666afcb9efd00a1ca438341d3184b6bb4fc2

See more details on using hashes here.

File details

Details for the file funwithconsole-1.3-py3-none-any.whl.

File metadata

  • Download URL: funwithconsole-1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for funwithconsole-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 178b36a9d5a5b38c28dee4346a2989ea53b50ba83070f7ef02d26946a6006ad8
MD5 a1a0f155ea5d2b7eb693e33d967c253b
BLAKE2b-256 514fcc25ee6c9b0be2ec60ddc02c11e38c51f0e1c37ea268761ab65185f0ac83

See more details on using hashes here.

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