GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-progressbar/tools at develop · wolph/python-progressbar

Expand file tree

/

tools

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

tools

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
generate_colors.py
generate_colors.py
 
 

README.md

Outline

Developer tools

Maintenance scripts that are not shipped as part of the package.

generate_colors.py

Regenerates the 256-colour table in progressbar/terminal/colors.py, deriving every HSL value from its RGB via HSL.from_rgb (the RGB, xterm index, colour name and Python binding name are authoritative and left untouched). Run it in place:

python tools/generate_colors.py progressbar/terminal/colors.py

It is idempotent; --check verifies the committed file is up to date without writing.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.