Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pura_utils-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pura_utils-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for pura_utils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 35581dd24331295a7dd1f6c9cff63930195053d303eab12de8a88ad189386121
MD5 ff6ce558170f6fdb32a96bf0cbd0b688
BLAKE2b-256 c9c72cbeef1134f75670cf9c0140faeec715904011a48a8dcf9afab9e17449c2

See more details on using hashes here.

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

Hashes for pura_utils-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 862ad129f6f30f94842401570d8f4d18b90063391a3791ccac3219592e789f5a
MD5 15bcd22eb4e17f6a66bc30a16899c5fb
BLAKE2b-256 a0c80aa4a858c1aec9026da657936a2efba3b7d3df467e52ab8fe6d4066feade

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