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.6.tar.gz (22.5 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.6-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cozy_kit-1.0.6.tar.gz
  • Upload date:
  • Size: 22.5 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.6.tar.gz
Algorithm Hash digest
SHA256 fcc13cfc429e7f282b02078136a73abafbfdbbff933c35edfd83d89161aaf5bd
MD5 7bbf1dac4f4ee1a18734441fa61eec2c
BLAKE2b-256 f7d0c98b9ecd8db2c7e26682ee9446f22a5545aa2baf59b923f3cb2779837109

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cozy_kit-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 27.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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d3ac4ee3400e57396ec5cad91f92fb7202ab1d20a4ae782c0d69509443d666e6
MD5 ea46b1c967f5751553ae9fca05a7565f
BLAKE2b-256 7cfdccb2edad258f875613cef437792500b63b0d5cb7e63c9a30dc7ad9922a32

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