Skip to main content

A cozy collection of utilities and tools for Python

Project description

cozy-kit

Logo

Version Python Version License

Issues GitHub stars Last Commit

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cozy_kit-1.0.3-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

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

Hashes for cozy_kit-1.0.3.tar.gz
Algorithm Hash digest
SHA256 1978eab693f115698a3842d63f5a2932f244614ceac2e4d8f0e536d3aff08114
MD5 61dac61d191185f04cb82924d0452414
BLAKE2b-256 d2cc797db65397ae7d30c51f37d5fd09666d5206b15359eb6ba41cb440f99cff

See more details on using hashes here.

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

Hashes for cozy_kit-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 879adf1e0004b427fd5f02116ac7432ee2d7bd20c74e819f288e3a475ed51b08
MD5 22ffce89fed523837aed62b3bf82f265
BLAKE2b-256 4acf5ff2cef08b0d62ba1dc95ae6b9d885970f847cce9a9c3e1b4c4337ca657c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page