Common Utils.
Project description
Srutil
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.
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
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 srutil-1.0.3.tar.gz.
File metadata
- Download URL: srutil-1.0.3.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c98b5bcde8455e72aba03b830f2d536122b4fe400fef8f2004918798d731803
|
|
| MD5 |
01ab04a6a8c2ec04f4c13c7fa7373381
|
|
| BLAKE2b-256 |
f19e5d6e1b17d375d404134ac438ac70b8c34fad70381140fa929f5a76654486
|
File details
Details for the file srutil-1.0.3-py3-none-any.whl.
File metadata
- Download URL: srutil-1.0.3-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73d49981c4995ea37db17f7c074f6bf6a9ee18fb7cc0cfce32fc279831dd4442
|
|
| MD5 |
22916dcf798345a94d508420d283c768
|
|
| BLAKE2b-256 |
e18a78bc6a55e12e2d090eae8ba6586dc5227027792a677648fd0ebebf58c91e
|