{"id":17685885,"url":"https://github.com/sepandhaghighi/pyshutdown","last_synced_at":"2025-06-23T10:34:24.714Z","repository":{"id":47160723,"uuid":"52085872","full_name":"sepandhaghighi/pyshutdown","owner":"sepandhaghighi","description":"📚 Python shutdown library","archived":false,"fork":false,"pushed_at":"2021-09-10T14:26:47.000Z","size":3817,"stargazers_count":31,"open_issues_count":4,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-08T21:11:30.812Z","etag":null,"topics":["hibernate","library","logoff","module","open","opensource","pypi","python","python-3","python-shutdown-library","pythonlib","restart","shutdown","sleep","unix","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sepandhaghighi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-19T12:21:18.000Z","updated_at":"2024-01-19T10:23:58.000Z","dependencies_parsed_at":"2022-09-10T03:43:32.790Z","dependency_job_id":null,"html_url":"https://github.com/sepandhaghighi/pyshutdown","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sepandhaghighi/pyshutdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sepandhaghighi%2Fpyshutdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sepandhaghighi%2Fpyshutdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sepandhaghighi%2Fpyshutdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sepandhaghighi%2Fpyshutdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sepandhaghighi","download_url":"https://codeload.github.com/sepandhaghighi/pyshutdown/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sepandhaghighi%2Fpyshutdown/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261462359,"owners_count":23161939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hibernate","library","logoff","module","open","opensource","pypi","python","python-3","python-shutdown-library","pythonlib","restart","shutdown","sleep","unix","windows"],"created_at":"2024-10-24T10:29:23.961Z","updated_at":"2025-06-23T10:34:19.700Z","avatar_url":"https://github.com/sepandhaghighi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyshutdown\n\n----------\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/sepandhaghighi/pyshutdown/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/sepandhaghighi/pyshutdown/?branch=master)\n[![Build Status](https://scrutinizer-ci.com/g/sepandhaghighi/pyshutdown/badges/build.png?b=master)](https://scrutinizer-ci.com/g/sepandhaghighi/pyshutdown/build-status/master)\n[![PyPI version](https://badge.fury.io/py/shutdown.svg)](https://badge.fury.io/py/shutdown)\t\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/sepandhaghighi/pyshutdown/blob/master/LICENSE)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/478dc165527b4c2fb67a336d7c88e7cd)](https://www.codacy.com/app/sepand-haghighi/pyshutdown?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=sepandhaghighi/pyshutdown\u0026amp;utm_campaign=Badge_Grade)\n\n\t\t\t\t\t\t\nPython shutdown library\n\n\nVersion : V1.1 \t\t\n\t\t\n\n[Download](https://github.com/sepandhaghighi/pyshutdown/archive/v1.1.zip)\n\n\u003cp style=\"color:red;\"\u003eThis version only work in windows\u003c/p\u003e\n\n\n----------\n## Installation ##\nFrom source file :\n\n`git clone https://github.com/sepandhaghighi/pyshutdown.git`\n\t\t\t\t\t\t\n `python setup.py install`\n\nFrom PyPI:\t\n\t\t\t\t\t\t\n `pip install shutdown`\t\t\t\t\t\t\n\n## Usage ##\n- import shutdown lib `python from shutdown import *`\n- shutdown function `shutdown(time=your_time,force=False,warning_off=False)`\n- restart function `restart(time=your_time,force=False)`\n- hibernate function `hibernate(force=False)`\n- logoff function `logoff(force=False)`\n- cancel any shutdown process `cancel()`\n![](http://www.shaghighi.ir/pyshutdown/shutdown.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsepandhaghighi%2Fpyshutdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsepandhaghighi%2Fpyshutdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsepandhaghighi%2Fpyshutdown/lists"}