Skip to main content

Simple Platform Independent Python package to keep your system awake without affecting workflow!

Project description

stay-awake

Go to https://pypi.org/project/stay-awake/

Go to https://pypi.org/project/stay-awake/ Go to https://pypi.org/project/stay-awake/ Go to https://pypi.org/project/stay-awake/ Go to https://pypi.org/project/stay-awake/

Stay-Awake is a Simple Platform Independent Python package to keep your system awake without affecting workflow!

  • Does this affect workflow?

No, this only get's triggered when you don't do any mouse movements!

  • Is there a GUI?

This was intended to be a light weight solution, so as of now it only has a CLI!

  • How does it work?

If in a span of 60 seconds you don't move your mouse, this script will automatically move your mouse for about 1 to 4 pixels randomly. There won't be any mouse displacement! If you are working, this will do absolutely nothing!

Current Status

Maintenance GitHub up-time BOT Commits DependaBot

Issues Total Commits Contributors Forks Stars Watchers Branches

License: AGPL v3 made-with-python made-with-Markdown repo- size Followers

Setup

Important: Virtual Environment is recommended

  • Linux Systems:

    python3 -m venv ./venv
    
    source venv/bin/activate
    
    pip3 install -r requirements.txt
    
    deactivate
    
  • Windows Systems:

    python3 -m venv ./venv
    
    venv\Scripts\activate
    
    pip3 install -r requirements.txt
    
    venv\Scripts\deactivate
    

    If getting issue in installing virtualenv on windows, use administrator privileges

Installing Package

pip3 install stay-awake

Running

python3 -m stay-awake

Steps for publishing to pypi [This is just for me, Maybe!]

  • pip3 install setuptools twine
  • Go to project folder
  • python3 setup.py sdist
  • twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

OR

Go to your project folder and:

pip3 install setuptools twine

python3 setup.py sdist
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

Credits

Maintained by

Kuldeep Singh Sidhu

Github: github/singhsidhukuldeep https://github.com/singhsidhukuldeep

Website: Kuldeep Singh Sidhu (Website) http://kuldeepsinghsidhu.com

LinkedIn: Kuldeep Singh Sidhu (LinkedIn) https://www.linkedin.com/in/singhsidhukuldeep/

Contributors

The full list of all the contributors is available here

website

Say Thanks

If this helped you in any way, it would be great if you could share it with others.

CHANGE LOG

0.1 (24/10/2020)

  • Released first version(stable) of stay-awake.

0.2 (27/11/2020)

  • Second stable version
  • Added absolute control by allowing to interrupt the process mid-way.
  • Added functionality to add custom wait time.

0.2.1 (27/11/2020)

  • Fixed Issues

0.3 (27/11/2020)

  • Fixed Issues in .md files

Read more at https://github.com/singhsidhukuldeep/stay-awake

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

stay-awake-0.3.tar.gz (6.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page