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.1.tar.gz (18.2 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.1-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file cozy_kit-1.0.1.tar.gz.

File metadata

  • Download URL: cozy_kit-1.0.1.tar.gz
  • Upload date:
  • Size: 18.2 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.1.tar.gz
Algorithm Hash digest
SHA256 285f34ed78ff1a3ff7b07f1c2dac85f6caf1dead5cd6d1398e36fdae17255388
MD5 5a94adb4f4de67514c0a988889012e67
BLAKE2b-256 a98d33170e272c07edbb55ccff84614fc14da987a6e42a2b04da1484223a8754

See more details on using hashes here.

File details

Details for the file cozy_kit-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: cozy_kit-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 20.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a36f1e570584f9dd777a870e0fbbdef7aa9ff4583cee07e6046d3fade2b2156a
MD5 8a733ef5a74e6d17abba8eb530847fd8
BLAKE2b-256 ec76f42b07768a754cdc6438be05917d510f12a9cb50ddccdc46843310ce5464

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