https://github.com/sepandhaghighi/pyshutdown
📚 Python shutdown library
https://github.com/sepandhaghighi/pyshutdown
hibernate library logoff module open opensource pypi python python-3 python-shutdown-library pythonlib restart shutdown sleep unix windows
Last synced: 27 days ago
JSON representation
📚 Python shutdown library
- Host: GitHub
- URL: https://github.com/sepandhaghighi/pyshutdown
- Owner: sepandhaghighi
- License: mit
- Created: 2016-02-19T12:21:18.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-09-10T14:26:47.000Z (over 3 years ago)
- Last Synced: 2024-06-11T17:44:14.984Z (11 months ago)
- Topics: hibernate, library, logoff, module, open, opensource, pypi, python, python-3, python-shutdown-library, pythonlib, restart, shutdown, sleep, unix, windows
- Language: Python
- Homepage:
- Size: 3.64 MB
- Stars: 31
- Watchers: 6
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyshutdown
----------
[](https://scrutinizer-ci.com/g/sepandhaghighi/pyshutdown/?branch=master)
[](https://scrutinizer-ci.com/g/sepandhaghighi/pyshutdown/build-status/master)
[](https://badge.fury.io/py/shutdown)
[](https://github.com/sepandhaghighi/pyshutdown/blob/master/LICENSE)
[](https://www.codacy.com/app/sepand-haghighi/pyshutdown?utm_source=github.com&utm_medium=referral&utm_content=sepandhaghighi/pyshutdown&utm_campaign=Badge_Grade)
Python shutdown libraryVersion : V1.1
[Download](https://github.com/sepandhaghighi/pyshutdown/archive/v1.1.zip)
This version only work in windows
----------
## Installation ##
From source file :`git clone https://github.com/sepandhaghighi/pyshutdown.git`
`python setup.py install`From PyPI:
`pip install shutdown`## Usage ##
- import shutdown lib `python from shutdown import *`
- shutdown function `shutdown(time=your_time,force=False,warning_off=False)`
- restart function `restart(time=your_time,force=False)`
- hibernate function `hibernate(force=False)`
- logoff function `logoff(force=False)`
- cancel any shutdown process `cancel()`
