caffeinate-0.1.0


توضیحات

Don't let your computer go to sleep while you're busy thinking
ویژگی مقدار
سیستم عامل -
نام فایل caffeinate-0.1.0
نام caffeinate
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Subash Poudyal
ایمیل نویسنده subash.poudyal8@gmail.com
آدرس صفحه اصلی https://github.com/subash774/Caffeinate
آدرس اینترنتی https://pypi.org/project/caffeinate/
مجوز MIT
# Caffeinate Don't let your computer go to sleep while you're busy thinking. # Why would I need this? Software engineering is more about thinking than typing. And it's very annoying when you're whiteboarding or just thinking and your work machine goes to sleep. Most of the times, we don't have admin access to change the settings so this helps prevent the computer from going to sleep. # Installation Using pip: ``` pip install caffeinate ``` Using pip3: ``` pip3 install caffeinate ``` # Usage | :memo: | Tested on OSX and Windows | |---------------|:------------------------| On windows, you might need to create a simple python file (code below) as path variable seems to be admin restricted. ``` from caffeinate import caffeinate caffeinate.run() ``` On Linux or Mac OSX, you can simply type ```awake``` in the terminal. # Termination To terminate the process, press ```Esc``` key 3 consecutive times (doesn't have to be terminal focused key presses). # TODO * [ ] Add good documentation to the usage with params explained * [ ] Cleanup the code, maybe use classes for extentibility


زبان مورد نیاز

مقدار نام
>=3.6.3 Python


نحوه نصب


نصب پکیج whl caffeinate-0.1.0:

    pip install caffeinate-0.1.0.whl


نصب پکیج tar.gz caffeinate-0.1.0:

    pip install caffeinate-0.1.0.tar.gz