Simple Platform Independent Python package to keep your system awake without affecting workflow!
Project description
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
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
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
File details
Details for the file stay-awake-0.3.tar.gz
.
File metadata
- Download URL: stay-awake-0.3.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e191b734db12fa3781d1a71e9d6d2775e85dece104e1e2abfe5d7c8496c9fac |
|
MD5 | f5759b3a23e7bea2e48cbe2c41d8d38f |
|
BLAKE2b-256 | c42dc498b73bb288b367d2a2326383fe817d504971ae895ad163e709308f3f8c |