Skip to content

TirsvadCLI/Python.AnsiCode

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn Coverage Status


Ansi code

Fast way to create color for terminal and moving the cursor. Make the code very readable.

Getting Started

Prerequisites

You have python 3 installed.

Download and run

To download source code from github we can use a terminal.

Winodws

New-Item -Path ($(Get-Location  | Select-Object -ExpandProperty Path) -Name "ansi_code" -ItemType "directory"
Invoke-WebRequest https://github.com/TirsvadCLI/Python.AnsiCode/archive/refs/heads/main.zip -OutFile ansi_code.zip
Expand-Archive -Path Draftv2.zip -DestinationPath .\ansi_code
Get-Item "*ansi_code-*" | Rename-Item -NewName "ansi_code"
Set-Location .\ansi_code\srv\ansi_code

Linux

mkdir ansi_code
curl -L https://api.github.com/repos/TirsvadCLI/Python.AnsiCode/tarball | tar -xz --strip-components=3 -C ansi_code

For run the application go to the folder ansi_code and run.

cd ansi_code
python3 main.py

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

Fork the Project

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

Example

git checkout -b feature
git commit -m 'Add my feature enhance to project'
git push origin feature

About

Ansi codes for easy colorize and cursor position

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published