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 | Provenance | Actions |
|---|---|---|---|---|
| srutil-1.0.3.tar.gz | 12.1 kB | Without provenance | Details for srutil-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| srutil-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for srutil-1.0.3-py3-none-any.whl |
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
|
Security for srutil 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.