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



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.5.tar.gz (18.8 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.5-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cozy_kit-1.0.5.tar.gz
  • Upload date:
  • Size: 18.8 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.5.tar.gz
Algorithm Hash digest
SHA256 386585475f7374e100a09a680df7424c7b35e7f37cd73886684cbc4ff4fc84cd
MD5 bee573d192b70a6fd237dafac96f0b34
BLAKE2b-256 cd03050757f5189b721016e4d7c84f9f61e9d1097f3da481a57044aaf3e71044

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cozy_kit-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 21.2 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a23171778fca90853531e1c152354c974516e0340b02f3e6d6420dfe591a847d
MD5 c91c965847f67837575c982500f476da
BLAKE2b-256 3cb63526ebe5dfba7b140d07fea4a8ebe893dfbb193c6fb9e38ae1d918dbbdb4

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