core utilities/functions
Project description
Python functions that I like having installed globally so I can quickly import them from other scripts
pura.notify
notify(msg: str, *, title: str) -> None
Python wrapper to call out to notify shell script
pura.jsonfast: Speeds up JSON dump/load if orjson is installed. dumps also has a minifed flag which can compress JSON
loads(jsonstr: str, **kwargs: Any) -> Any
dumps(obj: Any, minified: bool = False, default: Optional[Any] = None, **kwargs: Any) -> str
pura.clipboard: Python wrappers for clipcopy and clippaste:
clipcopy(data: str) -> None
Sends 'data' to 'clipcopy'; saving to your clipboard
clippaste() -> str
Paste text from your clipboard
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pura_utils-0.1.0.tar.gz.
File metadata
- Download URL: pura_utils-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35581dd24331295a7dd1f6c9cff63930195053d303eab12de8a88ad189386121
|
|
| MD5 |
ff6ce558170f6fdb32a96bf0cbd0b688
|
|
| BLAKE2b-256 |
c9c72cbeef1134f75670cf9c0140faeec715904011a48a8dcf9afab9e17449c2
|
File details
Details for the file pura_utils-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pura_utils-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
862ad129f6f30f94842401570d8f4d18b90063391a3791ccac3219592e789f5a
|
|
| MD5 |
15bcd22eb4e17f6a66bc30a16899c5fb
|
|
| BLAKE2b-256 |
a0c80aa4a858c1aec9026da657936a2efba3b7d3df467e52ab8fe6d4066feade
|