Skip to content

Awesome Python Module. Perfect text formatting right in the terminal

Notifications You must be signed in to change notification settings

rodukov/formatkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

formatkit

A package that can color text, fill text, and format text

Install it

Linux and MacOS

pip3 install formatkit

Windows

pip install formatkit

How to use it?

from formatkit import text, background, formats, default
print(text.red+"Red text"+default)
print(background.red+"Red background"+default)
print(format.italic+"Italic text"+default)
print(format.spoiler+"Spolier text"+default)

How i am published this to PyPi?

  1. Create account on https://pypi.org and https://test.pypi.org
  2. Then pip3 instal setuptools
  3. After pip3 install twine
  4. Create setup.py and write config
  5. Create __init__.py
  6. Compile python3 setup.py sdist bdist_wheel
  7. Push twine upload dist/* you can add --skip-existing if you updating project

About

Awesome Python Module. Perfect text formatting right in the terminal

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published