A cozy collection of utilities and tools for Python
Project description
cozy-kit
Created by Youssef Ahmed
Requirements
- Python 3.8+
Installation
Install
pip install cozy-kit
Upgrade
pip install --upgrade cozy-kit
Quick Examples
Greeting Usage
from cozy_kit import Greeting
user = Greeting(
name="Youssef",
nickname="Yoyo"
)
print(user.welcome())
Output
Welcome Youssef!
Or welcome Yoyo!
Timer Usage
from cozy_kit import Timer
timer = Timer()
timer.countdown(
count=5,
time_type="sec",
show=print
)
Output
5
4
...
⏰ Time's up!
TextEditor Usage
from cozy_kit import TextEditor
editor = TextEditor()
print(editor.reverse("Hello"))
Output
olleH
TextCustomizations Usage
from cozy_kit import TextCustomizations
customizer = TextCustomizations()
print(customizer.customize("WARNING", "yellow", "bold"))
Output
WARNING (bold yellow)
CozyUI Usage
from cozy_kit import CozyUI
ui = CozyUI()
print(ui.progress_bar(70))
Output
Classes
| Class | Description |
|---|---|
Greeting |
Greetings, quotes, bedtime stories, motivations, fun facts |
Timer |
Countdown, Pomodoro, stopwatch, wait |
TextEditor |
Text conversion, ciphers, formatting |
TextCustomizations |
Text coloring, changing to italic or bold |
CozyUI |
Make some cool terminal UI using ascii and unicode symbols |
settings (object) |
The package settings like notice_if_on_older_update |
Details |
Package metadata |
Why cozy-kit?
cozy-kit is a collection of utilities for Python developers.
Features include:
- Greetings and quotes
- Countdowns and Pomodoro timers
- Stopwatches
- Text formatting
- Terminal UI helpers
- Fun facts and bedtime stories
See The Homepage
or
See the entire Documentation
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cozy_kit-1.0.3.tar.gz
(19.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cozy_kit-1.0.3-py3-none-any.whl
(21.8 kB
view details)
File details
Details for the file cozy_kit-1.0.3.tar.gz.
File metadata
- Download URL: cozy_kit-1.0.3.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1978eab693f115698a3842d63f5a2932f244614ceac2e4d8f0e536d3aff08114
|
|
| MD5 |
61dac61d191185f04cb82924d0452414
|
|
| BLAKE2b-256 |
d2cc797db65397ae7d30c51f37d5fd09666d5206b15359eb6ba41cb440f99cff
|
File details
Details for the file cozy_kit-1.0.3-py3-none-any.whl.
File metadata
- Download URL: cozy_kit-1.0.3-py3-none-any.whl
- Upload date:
- Size: 21.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
879adf1e0004b427fd5f02116ac7432ee2d7bd20c74e819f288e3a475ed51b08
|
|
| MD5 |
22ffce89fed523837aed62b3bf82f265
|
|
| BLAKE2b-256 |
4acf5ff2cef08b0d62ba1dc95ae6b9d885970f847cce9a9c3e1b4c4337ca657c
|