Metadata-Version: 2.0
Name: concentration
Version: 1.0.5
Summary: Get work done when you need to, goof off when you don't.
Home-page: https://github.com/timothycrosley/concentration
Author: Timothy Crosley
Author-email: timothy.crosley@gmail.com
License: MIT
Keywords: Focus,Python,Python2,Python3,Firewall,Filter,Utility,Concentration
Platform: UNKNOWN
Classifier: Development Status :: 6 - Mature
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.0
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Requires: hug
Requires-Dist: hug (>=2.0.0)

Concentration
=============

|Join the chat at https://gitter.im/timothycrosley/concentration|

Stay focused on work when you want, and goof off when you don't.
Concentration is a simple Python 3 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.

.. figure:: https://raw.github.com/timothycrosley/concentration/develop/example.gif
   :alt: Concentration Example

   Concentration Example

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

.. |Join the chat at https://gitter.im/timothycrosley/concentration| image:: https://badges.gitter.im/Join%20Chat.svg
   :target: https://gitter.im/timothycrosley/concentration?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge


