Skip to main content

Srutil

PyPI Pypi - License PyPI - Python Version

Common Utils.

Installation

pip install -U srutil

Usage

Few usages of srutil package,

To get home directory

from srutil import util

home_dir = util.home() 

To get random number between 6 and 30

from srutil import util

num = util.rand_num(6, 30)

To check if network is available

from srutil import util

is_connected = util.isnetworkconnected()

To paste data from clipboard

from srutil import util

data = util.from_clipboard()

To get current time in milliseconds

from srutil import util

time_in_millis = util.current_in_millis()

Issues:

If you encounter any problems, please file an issue along with a detailed description.

Metadata

Release files for srutil 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for srutil 1.0.3
File Size Uploaded
srutil-1.0.3.tar.gz 12.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for srutil 1.0.3
File Interpreter ABI Platform
srutil-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 26.1 kB

Release files / srutil-1.0.3.tar.gz

Download URL srutil-1.0.3.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8c98b5bcde8455e72aba03b830f2d536122b4fe400fef8f2004918798d731803
BLAKE2b-256 checksum
How to use checksums
f19e5d6e1b17d375d404134ac438ac70b8c34fad70381140fa929f5a76654486
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / srutil-1.0.3-py3-none-any.whl

Download URL srutil-1.0.3-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73d49981c4995ea37db17f7c074f6bf6a9ee18fb7cc0cfce32fc279831dd4442
BLAKE2b-256 checksum
How to use checksums
e18a78bc6a55e12e2d090eae8ba6586dc5227027792a677648fd0ebebf58c91e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page