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.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| srutil-1.0.3.tar.gz | 12.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|