Metadata-Version: 2.0
Name: cookie-eater
Version: 1.0.0
Summary: Browser Cookie Management
Home-page: https://github.com/cdgriffith/CookieEater
Author: Chris Griffith
Author-email: chris@cdgriffith.com
License: MIT
Platform: any
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.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Development Status :: 4 - Beta
Classifier: Natural Language :: English
Classifier: Environment :: Web Environment
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Utilities
Classifier: Topic :: Documentation :: Sphinx
Requires-Dist: reusables
Provides-Extra: testing
Requires-Dist: coverage (>=3.6); extra == 'testing'
Requires-Dist: pytest; extra == 'testing'
Requires-Dist: pytest-cov; extra == 'testing'
Requires-Dist: reusables; extra == 'testing'
Requires-Dist: tox; extra == 'testing'

CookieEater
===========

|BuildStatus| |CoverageStatus|

**Browser Cookie Management**

Overview
--------

Firefox and Chrome Cookie management. (Chrome requires SQLite 3.8 or greater.)

Install
-------

.. code::

        pip install cookie-eater

CI tests run on:

* Python 2.6+
* Python 3.3+
* Pypy


Example Usage
~~~~~~~~~~~~~

.. code:: python

        import cookie_eater

        fox = cookie_eater.FirefoxCookies()
        # Automatically uses the DB of the default profile, can specify db=<path>

        fox.add_cookie("example.com", "MyCookie", "Cookie contents!")

        fox.find_cookies(host="Example")
        # [{'host': u'example.com', 'name': u'MyCookie', 'value': u'Cookie contents!'}]

        fox.delete_cookie("example.com", "MyCookie")




.. |CoverageStatus| image:: https://coveralls.io/repos/github/cdgriffith/CookieEater/badge.svg?branch=master
   :target: https://coveralls.io/github/cdgriffith/CookieEater?branch=master
.. |BuildStatus| image:: https://travis-ci.org/cdgriffith/Reusables.svg?branch=master
    :target: https://travis-ci.org/cdgriffith/Reusables


