notify
This uses ntfy.sh Read their docs on ntfy.sh To receive notifcations you must download the ntfy.sh app and select a 'route' id
Parameters
route
Route id
msg = ""
msg content
title="<>"
title
private = False
Only sends the notifcation once when enabled, if the phone is not connected to the internet it will not receive it
priority = 3
priority, only affects the app based on the settings chosen. Can be any integer from 1-5
action = None
Used to create buttons linking to a url
action = [("Google", "google.com"),("Example","example.com")] # [(label,url)]
delay=None
Creates a delay
markdown_enabled = True
Enables/Disables markdown
pretty print
This replaces the print function when imported.
The new syntax is:
print("Hello",end = " ",color=RED, move_cursor = START_OF_LINE)
plot
Just throw some values into it and it will plot them :)
plot([1,2,4,8])
Database
First initialize a new database
columns = [("name",str),("id",int),("score", float)]
data = Database("filename.db", columns)
Now data can be used as a list of dictionaries :)
data.append(("NAME1", 1, 1.1))
data[0]["id"] #-> 1
Retry
Decorator for use in debugging or web-requests
@retry(retries = 3, delay = 1, exponential_delay = True)
def myfunc():
pass
Timer
start_timer() - Stars/resets timer
get_timer() - Gets timer value as a datetime object
Metadata
Release files for utilscool 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| utilscool-1.0.0.tar.gz | 9.4 kB | Without provenance | Details for utilscool-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| utilscool-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for utilscool-1.0.0-py3-none-any.whl |
Total release size: 19.2 kB
Release files / utilscool-1.0.0.tar.gz
| Download URL | utilscool-1.0.0.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1edd316987424cb17077b52bb505b1156bf7c54c2e499af6e1e83a702c3ce34
|
|
BLAKE2b-256 checksum How to use checksums |
10f6e2dac030929f3b163dc6962bda0417038feca1b55a26dbd0a64eb92538fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Release files / utilscool-1.0.0-py3-none-any.whl
| Download URL | utilscool-1.0.0-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f9c7a3340e82d9c185b278a1c8b13479d89baf0aef2cbbfdefbcddcbe4f23d0
|
|
BLAKE2b-256 checksum How to use checksums |
db7b4b6ad28bbd2e97cc40f9c26cab307d4d704f5001df8ed26349b8f29b53a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Security for utilscool 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.