semvec/pypi-packages huggingface dataset:
t_dict 0.1.1
Traversing and Querying Dicts the easy way
License: BSD
Keywords: t_dict

===============================
Traversable Dict
===============================

.. image:: https://badge.fury.io/py/t_dict.png
    :target: http://badge.fury.io/py/t_dict

.. image:: https://travis-ci.org/vandersonmota/t_dict.png?branch=master
        :target: https://travis-ci.org/vandersonmota/t_dict

.. image:: https://pypip.in/d/t_dict/badge.png
        :target: https://pypi.python.org/pypi/t_dict


Traversing and Querying Dicts the easy way

* Free software: BSD license

Install
=======

.. code-block:: console

    pip install t_dict

Why?
--------

Dealing with deep nested dicts can be a total pain. TDict aims to make less boring working with it, using jsonpointer syntax for that.

It stand on the shoulders of jsonpointer (https://pypi.python.org/pypi/jsonpointer), which implements the RFC - https://tools.ietf.org/html/rfc6901


Usage
--------

.. code-block:: python

    from t_dict.t_dict import TDict

    td = TDict({'nested': { 'dict': 'here', 'other': {'spam': 'eggs'} }})
    td.find('/nested/dict')
    >> 'here'
    td.find('/nested/notfound', 'defaultvalue')
    >> 'defaultvalue'

    td.setin('/nested/dict', 'new')
    td['nested']['dict'] == 'new'
    >> True

    # converts dict to TDict
    isinstance(td.find('/nested/other'), TDict)
    >> True




History
-------

0.1.0 (2014-01-11)
---------------------

* First release on PyPI.
httpie-akamai 0.1.5
Akamai utility plugins for HTTPie.
License: BSD

httpie-akamai
=============

`HTTPie <https://github.com/jkbr/httpie>`_ plugin to help with testing sites hosted on the Akamai content delivery network.

**Note: this software is not provided or endorsed by Akamai Technologies**

This plugin will add standard Akamai debugging headers to the request, and colorize Akamai informational headers in the response.

Optionally, the request can be forced to the Akamai production or staging networks (if the public hostname is the same as the edge hostname).

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

.. code-block:: bash

    $ pip install httpie-akamai

Usage
-----

Prefix the URL with *ak-*, *akp-* or *aks-* to activate the plugin. The plugin handles URLs starting with "ak" as an alternative schema.

Use *ak-* to activate debugging headers and syntax coloring without changing the request target:

.. code-block:: bash

    $ http -pHh ak-http://www.example.com/

Use *akp-* or *aks-* to force the request onto the Akamai production or staging network respectively. This only works if the public hostname and the edge hostname are the same.

.. code-block:: bash

    $ http -pHh akp-http://www.example.com
    # is equivalent to
    $ http -pHh http://www.example.com.edgesuite.net Host:www.example.com

.. code-block:: bash

    $ http aks-http://www.example.com
    # is equivalent to
    $ http -pHh http://www.example.com.edgesuite-staging.net Host:www.example.com
aiohttp-babel 0.0.3
Babel localisation support for aiohttp
License: BSD
Keywords: aiohttp locale babel localisation

aiohttp_babel
=============


aiohttp_babel adds i18n and l10n support to aiohttp.

Usage:

.. code-block:: python

    import aiohttp_jinja2
    from aiohttp.web import Application
    from aiohttp_babel.middlewares import babel_middleware
    from aiohttp_babel.middlewares import _

    jinja_loader = jinja2.FileSystemLoader('./templates')
    app = Application(middlewares=babel_middleware)

    aiohttp_jinja2.setup(app, loader=jinja_loader)
    jinja_env = aiohttp_jinja2.get_env(app)
    jinja_env.globals['_'] = _



Code from:
---------

.. _tornado-babel: https://github.com/openlabs/tornado-babel
.. _django-babel: https://github.com/python-babel/django-babel