Skip to main content

Another CLI loading bar...

This is a simple classic CLI loading bar animation for all your CLI loading bar animation needs, whatever they might be! with lots of customisation options such as displaying percentages, and colour support. This animation can be easily incorporated into any function you want and also makes your CLI look way more professional! - literally from 0 to 100 JUST LIKE THAT! enjoy ;)

Also note that the install requires colorama

Example Code

import math
numbers = [x * 5 for x in range(1000, 3000)]
list = []
for x, i in enumerate(numbers):
    list.append(math.factorial(x))
    tcli_bar.bar(x + 1, len(numbers)) #Here
print('\nDone')

Another example but with colour and more

import math
import tcli_bar
from colorama import *

numbers = [x * 5 for x in range(100, 1500)]
list = []
for i, a in enumerate(numbers):
    list.append(math.factorial(i))
    tcli_bar.bar(i + 1, len(numbers), colour=Fore.GREEN, icon='#', description='Uploading...', show_percent=False)
print('\nHello')

A 'Free' example

import tcli_bar

free_bar(set=100, icon= '+', colour=Fore.RED, description='Scanning...')

Results

Metadata

Release files for tcli-bar 3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tcli-bar 3.0
File Size Uploaded
tcli_bar-3.0.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tcli-bar 3.0
File Interpreter ABI Platform
tcli_bar-3.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.9 kB

Release files / tcli_bar-3.0.tar.gz

Download URL tcli_bar-3.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
70b1c8360e4873841ba5fdbe9d9c4fae0d2e602b798b70723b8901e639820f66
BLAKE2b-256 checksum
How to use checksums
fa134bba88cb8af73d5562863ebb2452938dd5bbb5c89e29c332c3d5c26cf78a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / tcli_bar-3.0-py3-none-any.whl

Download URL tcli_bar-3.0-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3e4ad0bf6cdb46f1cdfd9056d413b5e43c8c47924bc1664924558174ddaa00f
BLAKE2b-256 checksum
How to use checksums
b27a974e4636141a448aaadbf420f2858c4e1e7295a468211730861fffd5bf2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

3.0 This release

2 release files

2.9

2 release files

2.4

2 release files

2.3

2 release files

2.2

2 release files

2.1

2 release files

2.0

2 release files

1.5

2 release files

1.0

2 release files

0.1

2 release files

0.0.5

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page