Skip to main content

Set of variables and functions for text editing.

Project description

Text Editing

Set of variables and functions for text editing.

Python library by LassaInora.


Summary


Contacts


How to Enable ASCII Compatibility for Windows Terminal

  • Start the "Registry Editor"
  • Go to Computer -> HKEY_CURRENT_USER -> Console
  • Right click on the right side -> New -> 32-bit DWORD Value
  • Enter the name "VirtualTerminalLevel"
  • Right click on the new key created -> Modify
  • In the "Value data" field enter 1

Character attributes:

variables

  • BOLD
    • \033[1m
  • NO_BOLD
    • /!\ Not widely supported.
    • \033[21m
  • LOW_INTENSITY
    • /!\ Not widely supported.
    • \033[2m
  • NO_LOW_INTENSITY
    • \033[22m
  • ITALIC
    • /!\ Not widely supported. Sometimes treated as the reverse.
    • \033[3m
  • NO_ITALIC
    • \033[23m
  • UNDERLINE
    • \033[4m
  • NO_UNDERLINE
    • \033[24m
  • SLOWLY_FLASHING
    • \033[5m
  • NO_SLOWLY_FLASHING
    • \033[25m
  • RAPIDLY_FLASHING
    • /!\ MS-DOS ANSI.SYS; Not widely supported.
    • \033[6m
  • NO_RAPIDLY_FLASHING
    • \033[26m
  • NEGATIVE
    • \033[7m
  • NO_NEGATIVE
    • \033[27m
  • HIDDEN
    • /!\ Not widely supported.
    • \033[8m
  • NO_HIDDEN
    • \033[28m
  • STRIKETHROUGH
    • /!\ Not widely supported.
    • \033[9m
  • NO_STRIKETHROUGH
    • \033[29m
  • STOP_ALL
    • \033[0m

Color:

variables

  • BLACK
    • \033[30m
  • RED
    • \033[31m
  • GREEN
    • \033[32m
  • YELLOW
    • \033[33m
  • BLUE
    • \033[34m
  • PURPLE
    • \033[35m
  • CYAN
    • \033[36m
  • WHITE
    • \033[37m
  • LIGHT_BLACK
    • \033[90m
  • LIGHT_RED
    • \033[91m
  • LIGHT_GREEN
    • \033[92m
  • LIGHT_YELLOW
    • \033[93m
  • LIGHT_BLUE
    • \033[94m
  • LIGHT_PURPLE
    • \033[95m
  • LIGHT_CYAN
    • \033[96m
  • LIGHT_WHITE
    • \033[97m
  • STOP
    • \033[39m

functions

  • get_rgb :
    • Changes your color to the chosen value
  • get_hex :
    • Changes your color to the chosen value

Font:

/!\ Few terminals support this library.

variables

  • ONE (The font given by this character is currently unknown.)
    • \033[11m
  • TWO (The font given by this character is currently unknown.)
    • \033[12m
  • THREE (The font given by this character is currently unknown.)
    • \033[13m
  • FOUR (The font given by this character is currently unknown.)
    • \033[14m
  • FIVE (The font given by this character is currently unknown.)
    • \033[15m
  • SIX (The font given by this character is currently unknown.)
    • \033[16m
  • SEVEN (The font given by this character is currently unknown.)
    • \033[17m
  • EIGHT (The font given by this character is currently unknown.)
    • \033[18m
  • NINE (The font given by this character is currently unknown.)
    • \033[19m
  • FRAKTUR
    • \033[20m
  • STOP
    • \033[10m

Character attributes:

variables

  • BLACK
    • \033[40m
  • RED
    • \033[41m
  • GREEN
    • \033[42m
  • YELLOW
    • \033[43m
  • BLUE
    • \033[44m
  • PURPLE
    • \033[45m
  • CYAN
    • \033[46m
  • WHITE
    • \033[47m
  • LIGHT_BLACK
    • \033[100m
  • LIGHT_RED
    • \033[101m
  • LIGHT_GREEN
    • \033[102m
  • LIGHT_YELLOW
    • \033[103m
  • LIGHT_BLUE
    • \033[104m
  • LIGHT_PURPLE
    • \033[105m
  • LIGHT_CYAN
    • \033[106m
  • LIGHT_WHITE
    • \033[107m
  • STOP
    • \033[49m

functions

  • get_rgb :
    • Changes your color to the chosen value
  • get_hex :
    • Changes your color to the chosen value

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

text_editing-1.0.2.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

text_editing-1.0.2-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file text_editing-1.0.2.tar.gz.

File metadata

  • Download URL: text_editing-1.0.2.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for text_editing-1.0.2.tar.gz
Algorithm Hash digest
SHA256 24a4ce0dc0afab48dd44e95229dd196306398c2d4f95b2b1efb7f12c37562f52
MD5 93c516369a5110099b935b8b7f5c6958
BLAKE2b-256 b6085b67b39f57d169d97b3a0d3f7cff7952e1657e79c425da6a8670d2a9b87c

See more details on using hashes here.

File details

Details for the file text_editing-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: text_editing-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for text_editing-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e034341732b3f4924eba5428c9591d35b9b52ebae72a4c0abc5dc37ae3c63551
MD5 d699a8b758fcff78203e061138148cdf
BLAKE2b-256 4123a04e20d55b645cf982f1cb4d27d169f2f51d315522ac52223dd80ac4ae10

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