semvec/pypi-packages huggingface dataset:
uiro 0.2
le Web framework.
License: MIT
Keywords: web wsgi

====
Uiro
====

le Web framework for Python.

Uiro provides a foundation to create a pluggable Web application.

* For creating a database-driven web application.
* Providing basict to create pluggable application.
* Designed to make user enable to use a lot of great WSGI libraries.

A simple Uiro application will be like this.

.. code-block:: python

    from wsgiref.simple_server import make_server
    from matcha import Matching, make_wsgi_app
    from uiro.controller import BaseController
    from uiro.view import view_config


    class Controller(BaseController):
        @view_config(method='get')
        def get_view(self, request, context):
            return 'Hello {name}!'.format(**request.matched_dict)

     matching = Matching('/hello/{name}', Controller())

    if __name__ == '__main__':
        app = make_wsgi_app(matching)
        server = make_server('0.0.0.0', 8888, app)
        server.serve_forever()

And setup.

.. code-block:: sh

    pip install uiro
    python hello.py

Now, you can visit http://localhost:8888/hello/world in a browser, you will see the text 'Hello world!'.

Next step
---------

Above example is too tiny to create a common-sensible Web application.
You can see `Uiro documentation <https://uiro.readthedocs.org/en/latest/>`_ and
learn more about Uiro

Dependents
----------

Uiro is Deciding necessary packages to avoid version collisions:

  * webob==1.2.3
  * gearbox==0.0.2
  * matcha==0.3
  * mako==0.9.0
  * SQLAlchemy==0.8.3

To use these packages, Uiro (and it's third party app) users can
be free by version collisions.

.. warning::

  Uiro 0.2 is still Pre-alpha, not for production usage.

Resources
=========
* `Repository <https://github.com/hirokiky/uiro/>`_
* `PyPI <http://pypi.python.org/pypi/uiro/>`_
* `Docs <https://uiro.readthedocs.org/>`_.

Changes
=========

0.2 (2013-11-8)
---------------

* Feature handling Resources.
* Entry point to apply predicates/wrappers by users to view_config
* Fixed Controller to consider primaries of views
* Changed depending SQLAlchemy version.

0.1 (2013-10-29)
----------------

Initial release.

* Basic request/response handling

  * Controller/View
  * Configuation by view_config decorator
  * Creating WSGI application by matcha's matching object.

* Basic support for using mako template.
* Basic support for SQLAlchemy.
* Necessary commands

  * create: Starting for project using scaffolding.
  * initdb: Creating tables to databases.
  * serve: Running your application.

* Automatically creating of apps publishing static files.
pipimport 0.2.5
Automatically install missing modules using pip at import time. Best used with virtualenv.
License: MIT
Keywords: pip virtualenv import hook

Pipimport automatically installs missing modules using pip at import time.
It is best used with virtualenv.

Just import pipimport and call install():

>>> import pipimport
>>> pipimport.install()

Now you can normally import modules that are not currently installed.
Pipimport will call pip (form your virtualenv) and install it before importing.

>>> import unipath
Will install module unipath
Downloading/unpacking unipath
  Downloading Unipath-1.0.tar.gz
  Running setup.py egg_info for package unipath  
Installing collected packages: unipath
  Running setup.py install for unipath
Successfully installed unipath
Cleaning up...
>>> unipath
<module 'unipath' from '/home/carles/Projectes/piphook/ve/local/lib/python2.7/site-packages/unipath/__init__.pyc'>

The modules that can't be found are remembered so sequential imports don't try to
download them again. This list is saved in the virtualenv directory ( sys.prefix )
or in the working directory (the first with writing permissions) with the name
of .pipimport-ignore . The list is loaded in subsequent sessions.