semvec/pypi-packages huggingface dataset:
odbm 0.5.6
Object wrapper for dbms
License: BSD
Keywords: dbm

odbm
====

Links
-----

- repository: https://bitbucket.org/imbolc/odbm/
- russian docs: http://pysi.org/lab/odbm/

Installation
------------

    $  pip install odbm

Usage
-----

::

    >>> from datetime import datetime
    >>> import odbm
    
    >>> class User(odbm.Model):
    ...     username = odbm.UnicodeProperty(primary_key=True)
    ...     friends  = odbm.Property(default=[], key='f')
    ...     created  = odbm.DateTimeProperty(key='c')
    ...
    ...     __backend__ = staticmethod(lambda: dict())
    
    >>> User(
    ...     username = 'foo',
    ...     friends  = ['bar', 'baz'],
    ...     created = datetime.now(),
    ... ).save()
    >>> User(username='bar', created = datetime.now()).save()
    >>> User(username='baz', created = datetime.now()).save()
    
    >>> User.get('foo').friends
    ['bar', 'baz']
    
    >>> [u.username for u in User.find(
    ...     filter  = lambda u: not u.friends,
    ...     order   = lambda x: x.created)]
    [u'bar', u'baz']

    >>> User.count()
    3
    >>> User.count(lambda u: 'baz' in u.friends)
    1
    >>> User.find_one().delete()
    >>> User.count()
    2
sphinxcontrib-autojs 0.1dev-20110917
Sphinx "Auto JavaScript Document" extension
License: BSD

Sphinx "Auto JavaScript Document" extension
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This package contains the auto JavaScript documentation Sphinx extension. See
the example: `The jDoctest documentation <http://jdoctest.lunant.org/>`_
that was generated from `jdoctest.js source file
<https://raw.github.com/lunant/jdoctest/master/jdoctest.js>`_.

Links
`````

* `GitHub repository <http://github.com/lunant/sphinxcontrib-autojs>`_
* `development version
  <http://github.com/lunant/sphinxcontrib-autojs/zipball/master#egg=sphinxcontrib-autojs-dev>`_