Skip to main content

Common Utils.

Project description

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.

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

srutil-1.0.3-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

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

Hashes for srutil-1.0.3.tar.gz
Algorithm Hash digest
SHA256 8c98b5bcde8455e72aba03b830f2d536122b4fe400fef8f2004918798d731803
MD5 01ab04a6a8c2ec04f4c13c7fa7373381
BLAKE2b-256 f19e5d6e1b17d375d404134ac438ac70b8c34fad70381140fa929f5a76654486

See more details on using hashes here.

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

Hashes for srutil-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 73d49981c4995ea37db17f7c074f6bf6a9ee18fb7cc0cfce32fc279831dd4442
MD5 22916dcf798345a94d508420d283c768
BLAKE2b-256 e18a78bc6a55e12e2d090eae8ba6586dc5227027792a677648fd0ebebf58c91e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page