semvec/pypi-packages huggingface dataset:
cmsplugin-feedparser 0.3.0
django-feedparser plugin for DjangoCMS
License: MIT

.. _Django: https://www.djangoproject.com/
.. _DjangoCMS: https://www.django-cms.org
.. _django-feedparser: https://github.com/sveetch/django-feedparser

====================
cmsplugin-feedparser
====================

`django-feedparser`_ plugin for DjangoCMS

.. Warning::
    Version 0.3.0 has dropped support for ``DjangoCMS<=3.3.1``.

Links
*****

* Download his `PyPi package <https://pypi.python.org/pypi/cmsplugin-feedparser>`_;
* Clone it on his `repository <https://github.com/sveetch/cmsplugin-feedparser>`_;

Requires
********

* Django >= 1.8;
* `DjangoCMS`_ >= 3.3.1;
* `django-feedparser`_ >= 0.1.2;

Install
*******

First install the package ::

    pip install cmsplugin-feedparser

Add it to your installed Django apps in settings : ::

    INSTALLED_APPS = (
        ...
        'django_feedparser',
        'cmsplugin_feedparser',
        ...
    )

Then import their settings: ::

    from django_feedparser.settings import *
    from cmsplugin_feedparser.settings import *

Finally install plugin models in your database using migrations: ::

    python manage.py migrate

.. Note::
    Note than since version ``0.2.0``, this plugin has moved to Django migrations system, previous South migration will be freezed in their current state and have been moved to ``south_migrations`` directory as recommended since `South 1.0.x <http://south.readthedocs.org/en/latest/releasenotes/1.0.html>`_.
Flask-Arangodb 1.0.4
Flask extension for ArangoDB using python-arango
License: MIT

Flask-ArangoDB
==============

This is Flask extension for integration ArangoDB using `python-arango`_.
It's inspired by `Flask-Arango`_, an extension for the `pyArango`_ library.

.. _python-arango: https://github.com/joowani/python-arango
.. _flask-arango: https://github.com/grucin/flask-arango
.. _pyArango: http://pyarango.tariqdaouda.com/


Usage
-----
Install using pip:

    pip install flask-arangodb


Example
-------

Typical usage looks like this:


.. code-block:: python

    from flask import Flask

    from flask_arangodb import ArangoDB

    # Configuration
    ARANGO_SETTINGS = {'host': 'localhost', 'port': 8529}
    ARANGO_DB = 'mydatabase'

    app = Flask(__name__)
    app.config.from_object(__name__)
    arango = ArangoDB(app)

    @app.route('/')
    def index():
        # refer to python-arango for more information

        # Set up some test data to query against
        arango.db.collection('students').insert_many([
            {'_key': 'Abby', 'age': 22},
            {'_key': 'John', 'age': 18},
            {'_key': 'Mary', 'age': 21}
        ])

        # Execute the query
        cursor = db.aql.execute(
            'FOR s IN students FILTER s.age < @value RETURN s',
            bind_vars={'value': 19}
        )

        # Iterate through the result cursor
        return([student['_key'] for student in cursor])



Links
-----

* [python-arango documentation](http://python-driver-for-arangodb.readthedocs.io/en/master/intro.html)