semvec/pypi-packages huggingface dataset:
ipython-mongo 0.3.3
MONGODB access via IPython
License: MIT
Keywords: database,ipython,mongodb,shell,imongo

<img src="https://travis-ci.org/Bloodevil/ipython_mongo.svg?branch=master"/>

ipython mongo magic
=============

    :Info: ipython mongo shell extension
    :Author: Yeaji Shin ( yeahjishin@gmail.com )

Install
=======

use github:

    In [1]: %install_ext https://github.com/Bloodevil/ipython_mongo/edit/master/imongo.py
    In [2]: %load_ext imongo.py

    git clone https://github.com/Bloodevil/ipython_mongo.git
    cd ipython_mongo
    python setup.py install

use pip:

    pip install ipython_mongo
    In [1]: %load_ext imongo

import error when load_ext
=============

1. check sys.path 
2. check imongo under '/usr/lib/python2.7/dist-packages/IPython/extensions'

Usage
=============

%mongo_connect [mongodb://localhost:27017]
```sql
In [1]: con = %mongo_connect

In [2]: con
Out[2]: MongoClient('localhost', 27017)

In [3]: %mongo_connect mongodb://127.0.0.1:27017
Out[3]: MongoClient(u'127.0.0.1', 27017)
```

%show_dbs
```sql
In [10]: %show_dbs
Out[10]: 
[u'local',
 u'tumblr',
 u'admin',
 u'movie',
 u'theater',
 u'a',
 u'daa',
 u'dbs',
 u'test']
```

%show_collections [dbname]
```sql
In [11]: %show_collections movie
Out[11]: [u'system.indexes', u'kobis']
```

%insert db.collection {data}
```sql
In [29]: %insert test.test {"test": "test1"}
{u'test': u'test1'}

In [31]: conn.test.test.find_one()
Out[31]: {u'_id': ObjectId('544a20e5eb5e7b1ccdb7ca54'), u'test': u'test'}
```

%drop db.collection
%drop db


%find imongo.find1 {data}
```sql
In [9]: %find imongo.find1 {}
Out[9]: [{u'_id': ObjectId('546d7192eb5e7b1cfbdf12cb'), u'test': u'abcdef'}]

In [10]: %find imongo.find1 {'test': /c/}
Out[10]: [{u'_id': ObjectId('546d7192eb5e7b1cfbdf12cb'), u'test': u'abcdef'}]

In [11]: %find imongo.find1 {'test': /^a/}
Out[11]: [{u'_id': ObjectId('546d7192eb5e7b1cfbdf12cb'), u'test': u'abcdef'}]

In [17]: %find imongo.find1 {'test': /f$/}
Out[17]: [{u'_id': ObjectId('546d7192eb5e7b1cfbdf12cb'), u'test': u'abcdef'}]

In [21]: %find imongo.find1 {'test': > 120}
Out[21]:
[{u'_id': ObjectId('546d71f4eb5e7b1cfbdf12cc'), u'test': 123},
 {u'_id': ObjectId('546d71fbeb5e7b1cfbdf12ce'), u'test': 1920}]

In [22]: %find imongo.find1 {'test': < 120}
Out[22]: [{u'_id': ObjectId('546d71f7eb5e7b1cfbdf12cd'), u'test': 100}]

In [7]: %find imongo.find1 {'test': <= 100}
Out[7]: [{u'_id': ObjectId('546d71f7eb5e7b1cfbdf12cd'), u'test': 100}]

In [3]: %find imongo.find1 {'test': > 120, 'test': < 1000 }
Out[3]: [{u'_id': ObjectId('546d71f4eb5e7b1cfbdf12cc'), u'test': 123}]
```


News
====

0.1
---

*Release date: 26-Aug-2014*

* Initial release
* Release to PyPI

0.2
---

*Release date: 22-Oct-2014*

* #7 new way to make autocomplete.
* #9 insert data

0.3
---

*Release date: 20-Nov-2014*

* #17 make drop function for drop db or collection
* #19 make find query
* #20 find query support slash like query just like mongodb server shell.
* #21, #23 find query support comparison query more easy way.
django-debug-toolbar-multilang 1.0.1
Language panel for django-debug-toolbar
License: MIT

Django-debug-toolbar-multilang
==============================

|Build Status| |Coverage Status|

Django-debug-toolbar-multilang aims to help you internationalize and
localized Django apps. It adds a "Language" panel to the toolbar and
shows you the current language as well as all available languages. It
also lets you quickly change the language to the selected one.

Screenshots
===========

.. figure:: http://media.matt3o12.de/djdt-multilang/v1.0/panel-max.png
   :alt: panel preview1

   panel preview1

Install
-------

The recommended way to install djdt-multilang is by using pip:

::

    pip install django-debug-toolbar-multilang

If you'd like to test an upcoming release, use instead:

::

    pip install -e git+https://github.com/Matt3o12/django-debug-toolbar-multilang#egg=django-debug-toolbar-multilang

Next, you will need to add djdt-multilang to add
``debug_toolbar_multilang.panels.multilang.MultiLangPanel`` to
``DEBUG_TOOLBAR_PANELS`` and ``debug_toolbar_multilang`` to
``INSTALLED_APPS``:

::

    DEBUG_TOOLBAR_PANELS = [
        ...
        'debug_toolbar_multilang.panels.multilang.MultiLangPanel',
    ]

    INSTALLED_APPS = [
        ...
        'debug_toolbar_multilang'
    ]

If you haven't already set, ``DEBUG_TOOLBAR_PANELS`` make sure not to
forget `the
defaults <http://django-debug-toolbar.readthedocs.org/en/latest/configuration.html#debug-toolbar-panels>`__:

::

    DEBUG_TOOLBAR_PANELS = [
        'debug_toolbar.panels.versions.VersionsPanel',
        'debug_toolbar.panels.timer.TimerPanel',
        'debug_toolbar.panels.settings.SettingsPanel',
        'debug_toolbar.panels.headers.HeadersPanel',
        'debug_toolbar.panels.request.RequestPanel',
        'debug_toolbar.panels.sql.SQLPanel',
        'debug_toolbar.panels.staticfiles.StaticFilesPanel',
        'debug_toolbar.panels.templates.TemplatesPanel',
        'debug_toolbar.panels.cache.CachePanel',
        'debug_toolbar.panels.signals.SignalsPanel',
        'debug_toolbar.panels.logging.LoggingPanel',
        'debug_toolbar.panels.redirects.RedirectsPanel',
        'debug_toolbar_multilang.panels.multilang.MultiLangPanel',
    ]

You will also need to enable the `Locale
middleware <https://docs.djangoproject.com/en/dev/ref/middleware/#module-django.middleware.locale>`__.

.. |Build Status| image:: https://travis-ci.org/Matt3o12/django-debug-toolbar-multilang.svg?branch=master
   :target: https://travis-ci.org/Matt3o12/django-debug-toolbar-multilang
.. |Coverage Status| image:: https://img.shields.io/coveralls/Matt3o12/django-debug-toolbar-multilang.svg
   :target: https://coveralls.io/r/Matt3o12/django-debug-toolbar-multilang?branch=master
bea 0.2.2
Blogger Export Analyzer
License: MIT

=======================
Blogger Export Analyzer
=======================

Blogger Export Analyzer (BEA) is a simple analyzer for Blogger Export XML file. BEA is intended to be used for generating one long page of analysis.


Usage
=====

Go to Blogger blog's dashboard, *Settings* » *Other* » *Blog tools*, click on *Export blog* to download an export XML file, then run:

.. code:: sh

  bea.py [options] blog-MM-DD-YYYY.xml


Options
=======

``-d``, ``--dump``
------------------

Dump cache content into a file in prettyprint format.

``--pubdate d1 d2``
-------------------

``pubdate`` allows you to filter on published dates of posts, pages, and comments. The date format is::

  %Y-%m-%dT%H:%M:%S%z

A sample date string is like ``2012-01-01T00:00:00-0800``.

You can use empty string ``''`` to indicate infinite endpoint.


Sample output
=============

You can see the `sample output`_.

.. _sample output: https://bitbucket.org/livibetter/bea/wiki/Sample%20output


More information
================

* Source_
* PyPI_

.. _Source: https://bitbucket.org/livibetter/bea
.. _PyPI: https://pypi.python.org/pypi/bea


License
=======

::

  Copyright (c) 2012-2014 Yu-Jie Lin
  This program is licensed under the MIT License, see COPYING
django-ssl-admin 1.1.4
Django middleware to make the admin https only.
License: MIT
Keywords: django https secure admin ssl

================
django-ssl-admin
================
.. image:: https://travis-ci.org/Matt-Deacalion/django-ssl-admin.png?branch=master
    :target: https://travis-ci.org/Matt-Deacalion/django-ssl-admin
    :alt: Build Status
.. image:: https://coveralls.io/repos/Matt-Deacalion/django-ssl-admin/badge.png?branch=master
    :target: https://coveralls.io/r/Matt-Deacalion/django-ssl-admin?branch=master
    :alt: Test Coverage
.. image:: https://pypip.in/version/django-ssl-admin/badge.png
    :target: https://pypi.python.org/pypi/django-ssl-admin/
    :alt: Latest Version
.. image:: https://pypip.in/wheel/django-ssl-admin/badge.png?new
    :target: https://pypi.python.org/pypi/django-ssl-admin/
    :alt: Wheel Status
.. image:: https://pypip.in/license/django-ssl-admin/badge.png
    :target: https://pypi.python.org/pypi/django-ssl-admin/
    :alt: License

Make the Django admin only available via https. For Django versions >= 1.7.

Installation
------------
You can install `django-ssl-admin` using pip::

    $ pip install django-ssl-admin

Usage
-----
To enable `django-ssl-admin` you need to add it to MIDDLEWARE_CLASSES:

.. code-block:: python

    MIDDLEWARE_CLASSES = (
        ...
        'ssladmin.middleware.SSLAdmin',
        ....
    )

If your admin path is not `/admin/` you can change the `ADMIN_PATH` setting like so:

.. code-block:: python

    ADMIN_PATH = '^/staff/'

If you have a reverse proxy set up remember to let Django know how it can detect a secure connection, e.g.:

.. code-block:: python

    SECURE_PROXY_SSL_HEADER = ('HTTP_X_SCHEME', 'https')

License
-------
Copyright © 2015 `Matt Deacalion Stevens`_, released under The `MIT License`_.

.. _Matt Deacalion Stevens: http://dirtymonkey.co.uk
.. _MIT License: http://deacalion.mit-license.org