semvec/pypi-packages huggingface dataset:
django-gibson-sessions 0.8
Gibson session backend for Django
License: MIT
Keywords: django,gibson,sessions,

django-gibson-sessions
======================

`Gibson <http://gibson-db.in/>`__ session backend for `Django <https://www.djangoproject.com/>`__

1. Set proper engine
~~~~~~~~~~~~~~~~~~~~

::

    SESSION_ENGINE = 'gibson_sessions.sessions'

2. Set common settings
~~~~~~~~~~~~~~~~~~~~~~

::

    SESSION_GIBSON_TIMEOUT = 100
    SESSION_GIBSON_PREFIX = 'session'

3. Set connection settings
~~~~~~~~~~~~~~~~~~~~~~~~~~

::

    SESSION_GIBSON_UNIX_SOCKET = '/var/run/gibson.sock'

OR

::

    SESSION_GIBSON_HOST = '127.0.0.1'
    SESSION_GIBSON_PORT = 10128

4. Enjoy
~~~~~~~~
TBGXMLUtils 0.1.3
Easy XML utility.
License: MIT
Keywords: xml

===========
TBGXMLUtils
===========

This package makes it easy to construct xml files.


Examples
--------

e = add('TBGRoot')

i = add('LevelOne', e, attrs={'type':'default', 'class':'toplevel'})
add('ID', i, txt='1234')
add('FirstName', i, text='Jack')
add('LastName', i, text='Smith')

i = add('LevelTwo', e, attrs={'type':'default', 'class':'secondlevel'})
add('ID', i, txt='12345')
add('Address', i, text='1 Main Street')
add('City', i, text='New York')

print pretty(xml=etree2xml(e))