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.2.tar.gz (19.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.2-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cozy_kit-1.0.2.tar.gz
  • Upload date:
  • Size: 19.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.2.tar.gz
Algorithm Hash digest
SHA256 99a9dc54c97fb1a1349eac1df2c73475193e4771a2524bc6708fe7cc92689af8
MD5 32baa2727cb3990cd2892de0a6eccd12
BLAKE2b-256 4d13339da6c138023cb3b588718918d62ad659c0400cd4384834212cfdae8f01

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cozy_kit-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 21.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cfece25c95160484a8a311487f395f0e792a860a25c19fcc3d6f6561c3251c0f
MD5 dc4300e54b00713aa753ae2687cf7c9f
BLAKE2b-256 4c42bee6a9e9c2e156b89b1960e9e00ccc964c2ccf00902b5fbeace704dca3fe

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