Skip to content

Commit bf0c2e3

Browse files
committed
Update README
1 parent 4d84f4f commit bf0c2e3

File tree

1 file changed

+5
-57
lines changed

1 file changed

+5
-57
lines changed

README.md

Lines changed: 5 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,11 @@
11
# PyTaskbar
22
### The ultimate taskbar progress python package!
33

4-
![](https://img.shields.io/github/downloads/somePythonProgrammer/PyTaskbar/total)
5-
![](https://img.shields.io/github/license/somePythonProgrammer/PyTaskbar?label=license)
6-
![visitor badge](https://visitor-badge.glitch.me/badge?page_id=somePythonProgrammer.PyTaskbar)
4+
![](https://img.shields.io/github/downloads/N3RDIUM/PyTaskbar/total)
5+
![](https://img.shields.io/github/license/N3RDIUM/PyTaskbar?label=license)
6+
![visitor badge](https://visitor-badge.glitch.me/badge?page_id=N3RDIUM.PyTaskbar)
77

8-
[Docs Here!](https://github.com/somePythonProgrammer/PyTaskbar/blob/main/DOCS.md)
8+
[Docs](https://github.com/N3RDIUM/PyTaskbar/blob/main/DOCS.md)
99

10-
#### Works for both terminals and GUIs!
10+
TODO: Write a good readme
1111

12-
## Requirements:
13-
14-
comtypes
15-
PyGetWindow
16-
17-
18-
## **Installation**
19-
[click here](https://github.com/somePythonProgrammer/PyTaskbar/blob/main/DOCS.md#installation)
20-
<HR>
21-
22-
## **Example**:
23-
24-
import time
25-
import PyTaskbar
26-
27-
prog = PyTaskbar.Progress()
28-
prog.init()
29-
30-
prog.setState('loading')
31-
time.sleep(5)
32-
33-
prog.setState('normal')
34-
35-
for i in range(100):
36-
prog.setProgress(i)
37-
time.sleep(0.05)
38-
prog.setProgress(0)
39-
40-
prog.setState('warning')
41-
42-
for i in range(100):
43-
prog.setProgress(i)
44-
time.sleep(0.05)
45-
46-
prog.setProgress(0)
47-
prog.setState('error')
48-
49-
for i in range(100):
50-
prog.setProgress(i)
51-
time.sleep(0.05)
52-
53-
prog.setProgress(0)
54-
55-
prog.setState('done')
56-
while True:
57-
time.sleep(1)
58-
print('close me!')
59-
60-
61-
<HR>
62-
63-
### Happy Coding!

0 commit comments

Comments
 (0)