Git Product home page Git Product logo

stay-awake's Introduction

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

Installing Package

pip3 install stay-awake

Running

python3 -m stay-awake

You can also give custom timeouts Eg: for 5 minutes (default is 1 min) python3 -m stay-awake 5

Virtual Environment

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

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.

stay-awake's People

Contributors

singhsidhukuldeep avatar dependabot-preview[bot] avatar

Stargazers

Mahesh Ruparel avatar Roman avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.