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
srutil-1.0.3.tar.gz
(12.1 kB
view hashes)
Built Distribution
srutil-1.0.3-py3-none-any.whl
(14.0 kB
view hashes)