Skip to content
/ rencli Public

A simple module for image and animation outputs in CLI

License

Notifications You must be signed in to change notification settings

SmaamX/rencli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RenCLI

A simple module for image and animation outputs in CLI

  • color_char() - Takes a list of color codes and returns escape codes to print the colors
  • colz() - Calls color_char() to convert a string to colored text
  • chn() - check type x= input, typ=type(int,str,bool,list...)
  • neli() - Returns a newline character
  • refs() - Clears the console screen
  • random_noise() - Generates random colors
  • prinx() - sys.stdout.write(colz(image))
  • cuscol() - custom color, text color, etc. (cuscol(lis=['A','\033[93m',...]))
  • image2rencli('test.png',250, show=False) - return image in CLI
  • imgx() - image2rencli but direct print
  • renweb() - import image from web (renweb('http://google.com/test.jpg',100,save='Test',dr=True))
  • vidx() - video output vidx(vpath, fps, reso)

Releases

No releases published

Packages

No packages published

Languages