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: about 1 year 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 (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-09-10T14:26:47.000Z (almost 5 years ago)
- Last Synced: 2025-06-08T21:11:30.812Z (about 1 year 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: 5
- 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 library
Version : 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()`
