<commit_before>django-iron-sessions
====================

:Info: `iron.io <http://www.iron.io/>`_ cache backend for your Django sessions

Why new sessions backend with non free solution?!
-------------------------------------------------

Why not! `iron.io <http://www.iron.io/>`_ is great service with
awesome live support :)

`iron.io <http://www.iron.io/>`_ provides 100mb and 10M API requests
per month for free


10 000 000 / 30 / 24 / 60 / 60 it's about 4 requests per seconds
with 24/7 loading for your Django appliction

quick start
-----------

run:
^^^^

    heroku addons:add iron_cache:developer

    pip install django-iron-sessions

configure:
^^^^^^^^^^

set ``iron_sessions.session`` as your session engine:

    SESSION_ENGINE = 'iron_sessions.session'

options:
^^^^^^^^

    IRON_CACHE_PROJECT_ID=<YOUR_PROJECT_ID>
    IRON_CACHE_TOKEN=<YOUR_TOKEN>

*if you are on heroku, just skip it*

tests:
^^^^^^

    export IRON_CACHE_PROJECT_ID=<YOUR_PROJECT_ID>

    export IRON_CACHE_TOKEN=<YOUR_TOKEN>
    tox<commit_msg>Correct rst syntax<commit_after>====================
django-iron-sessions
====================

:Info: `iron.io <http://www.iron.io/>`_ cache backend for your Django sessions

Why new sessions backend with non free solution?!
-------------------------------------------------

Why not! `iron.io <http://www.iron.io/>`_ is great service with
awesome live support :)

`iron.io <http://www.iron.io/>`_ provides 100mb and 10M API requests
per month for free


10 000 000 / 30 / 24 / 60 / 60 it's about 4 requests per seconds
with 24/7 loading for your Django appliction

quick start
-----------

run::

    heroku addons:add iron_cache:developer

    pip install django-iron-sessions

configure set ``iron_sessions.session`` as your session engine::

    SESSION_ENGINE = 'iron_sessions.session'

options::

    IRON_CACHE_PROJECT_ID=<YOUR_PROJECT_ID>
    IRON_CACHE_TOKEN=<YOUR_TOKEN>

*if you are on heroku, just skip it*

tests::

    export IRON_CACHE_PROJECT_ID=<YOUR_PROJECT_ID>

    export IRON_CACHE_TOKEN=<YOUR_TOKEN>
    tox
{'fraction_non_alphanumeric': 0.18362403100775193, 'fraction_numerical': 0.02422480620155039, 'mean_word_length': 3.1717171717171717, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6974161', 'n_tokens_mistral': 727, 'n_tokens_neox': 648, 'n_words': 194}