Skip to main content
Help us improve Python packaging – donate today!

Program to put your system to sleep/suspend

Project Description

sleep-after
-----------

A simple python script to put your system to sleep/suspend after
specified amount of time

Uses
----
`pm-suspend` system tool

Usage
-----

`sleep-after hh:mm:ss`


Example :

`sleep-after 10`

This will put your system to sleep after 10 seconds.


`sleep-after 15:10`

This will put your system to sleep after 15 minutes and 10 seconds.


`sleep-after 2:15:10`

This will put your system to sleep 2 hours 15 minutes and 10 seconds.


Installation
------------
Please install it in your system and not in a virtual environment.
`pm-suspend` tool requires root previlages to execute, so installing
this in a virtualenv wont work.

`pip install sleep-after`

Developers
----------
Alfred Dominic

Release history Release notifications

This version
History Node

0.3.0

History Node

0.2.0

History Node

0.1.0

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page