Get work done when you need to, goof off when you don't.
Project description
Concentration
Stay focused on work when you want, and goof off when you don’t. Concentration is a simple console utility to block distracting sites when you need to focus, while allowing you to easily take timed breaks. Internally uses /etc/hosts file as the mechanism to block sites.
Installing Concentration
pip3 install concentration # Or if pip is already set to use Python 3 pip install concentration
Using Concentration
To keep focused (blocking distracting sites):
sudo concentration improve
To take a small 5 minute timed break:
sudo concentration break
To take a long 60 minute timed break:
sudo concentration break -m 60
To access all sites:
sudo concentration lose
Configuring Concentration
You can add more files to the blocked list by putting them in the following files (new line delimited): - ~/.concentration.distractors - /etc/concentration.distractors
You can make sure sites are visible even if concentration is enabled by putting them in the following files (new line delimited): - ~/.concentration.safe - /etc/concentration.safe
Thanks and I hope you find concentration useful in your effort to get more done!
~Timothy Crosley
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file concentration-1.0.2.tar.gz
.
File metadata
- Download URL: concentration-1.0.2.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e66838d0313740a5a56ed905e2633ea8fcb78a23c8d6c1daefd0f72531dd260a |
|
MD5 | 2ac48851e3b0d1eeb44c0d66fa435220 |
|
BLAKE2b-256 | 3834a79a857eceb6bcb29e7ba345d5658c14e69a32545340040e502ebbb59920 |
File details
Details for the file concentration-1.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: concentration-1.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f83851f248773011e08accef5d8d57d34a8cfcaf629b47b09e680e39f0a10009 |
|
MD5 | 373b6a32fcf5b4ae7fcd74c4cb693085 |
|
BLAKE2b-256 | 7ed42fa4dbbcd5917947ab495c502e640fb2fcc339151f801a32f1893bb094ad |