Skip to main content

A package used for minor annoyances that I experience throught coding.

Project description

carrier.py

carrier.py is a Python package/module that's used to save time when programming, it helps with functions such as 24 and 12 hour time, Discord webhooks, etc. These are all mainly things that I've been annoyed by because I keep forgetting the code and so I've just bundle it up into carrier.py

Installation

You will need Python 3.6+

# Linux/macOS
python3 -m pip install carrier.py

# Windows
py -3 -m pip install carrier.py

Example

import carrier
import time

while True:
    if carrier.Timecheck("22:30", "HM") == True: 
        print("It is 22:30 aka 10:30 PM.")
        exit()
    else:
        print("It is not 22:30 aka 10:30PM.")
    
    time.sleep(1) 

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

carrier.py-0.0.2.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

carrier.py-0.0.2-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

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