Skip to main content

A Public Loitd Python Utility Library

Project description


codecov lutils

A Loitd's Public Python Utilities Library.

JS: - Not equivalent


You can easily install this library with command pip or pipenv:
pip install lutils
With specific version (pip will automatically uninstall older version & install specific version):
pip install lutils~=2.11.73
Install with pipenv:
pipenv install lutils~=2.11.73
Update existing installation: pipenv update lutils Update existing installation (manually): pipenv uninstall lutils
and then:
pipenv install lutils


  • Works with Python 3.x. Recommended Python 3.x for performance and full support features
  • Support Unicode from version Then please update to newest version.
  • Backward compatible with Python 2.7 (recommended for 2.x) from version From, lutils works on both 2.x and 3.x
  • Any suggestions are welcome with pull request or email at loitranduc[at]
  • Introduction or guide (docs) if available will be at


In your python file:

from lutils.utils import printlog, printwait
printlog("abc", "test.log")
printwait("Please wait while doing things", 5, "logfile.log")

To connect SSH to Linux servers and get disk space status

from lutils.utils import LServer
srv = LServer()
srv.connect(ip="", uname="root", pwd="123456")

For developers

To build this package:

  • pip install --upgrade pip setuptools wheel
  • pip install tqdm
  • pip install --user --upgrade twine keyring

Compiling this package:

  • python sdist bdist_wheel

Upload to PyPI:

  • python -m twine upload --skip-existing dist/*
  • python -m twine upload --skip-existing -u loitd --repository-url dist/*

Easy upload with keyring:

  • python -m keyring set loitd

CI/CD Automated with Pytest and Circle CI



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

lutils-2.11.74.tar.gz (18.6 kB view hashes)

Uploaded source

Built Distribution

lutils-2.11.74-py3-none-any.whl (25.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page