semvec/pypi-packages huggingface dataset:
python-servicecontainer 1.0.2
A simple and small service container
License: MIT
Keywords: container di service

Python Service Container
========================

This is a pretty trivial service container with the ability to register Services in it. On
retrieval of an registered service the class got instantiated and behaves as a singleton.

```
    from servicecontainer import Service, Container, ServiceInterface

    # This is a sample service
    class ExampleService(object):
        val = None
        def __init__(self, param1):
            self.val = param1

    class ExampleService2(ServiceInterface):
        val = None
        def __init__(self, param1):
            self.val = param1

        @classmethod
        def asService(cls, parameters):
            return Service("testservice2", cls, parameters)

    # Create the container
    c = Container()

    # build an service
    s = Service("testservice", ExampleService, {"param1": "param1_value"})

    # add the service to the container
    c.add(s)
    c.add(ExampleService2.asService({"param1": "param1_value"}))

    # retrive the service from the container (gots instantiated at this point)
    instance = c.get('testservice')
    self.assertEqual('param1_value', instance.val)

    # list all services
    list = c.list()
    self.assertEqual(2, len(list))
    self.assertEqual(list[0], 'testservice')

    # be sure its the same instance
    instance2 = c.get('testservice')
    assert instance is instance2
```
Flask-ServerInfo 0.1.2
Flask server info view for inspecting server app and user requests
License: MIT
Keywords: Flask,debug,info

# [Flask-ServerInfo](https://github.com/salsita/flask-serverinfo) <a href='https://github.com/salsita'><img align='right' title='Salsita' src='https://www.google.com/a/cpanel/salsitasoft.com/images/logo.gif?alpha=1' /></a>

Flask server info view for inspecting server app and user requests.

[![Latest Version](https://pypip.in/version/Flask-ServerInfo/badge.svg)]
(https://pypi.python.org/pypi/Flask-ServerInfo/)
[![Downloads](https://pypip.in/download/Flask-ServerInfo/badge.svg)]
(https://pypi.python.org/pypi/Flask-ServerInfo/)
[![Supported Python versions](https://pypip.in/py_versions/Flask-ServerInfo/badge.svg)]
(https://pypi.python.org/pypi/Flask-ServerInfo/)
[![License](https://pypip.in/license/Flask-ServerInfo/badge.svg)]
(https://pypi.python.org/pypi/Flask-ServerInfo/)


## Supported Platforms

* [Python](http://www.python.org/) >= 2.6, 3.3
* [Flask](http://flask.pocoo.org/) >= 0.5


## Get Started

Install using [pip](https://pip.pypa.io/) or [easy_install](http://pythonhosted.org/setuptools/easy_install.html):
```bash
pip install Flask-ServerInfo
easy_install Flask-ServerInfo
```

## Features

- Provide a view that dumps the server app object and user request object in JSON.


## Changelog

### 0.1.2

#### Fixes

- Fix inspecting dictionaries with non-string keys.
- Fix package setup on Python 3.

### 0.1.1

#### Fixes

- Fix package setup to not require dependencies preinstalled.

### 0.1.0

#### Features

- Initial release.
PyRAML 0.2.0
RAML (REST API Markup Language) enhanced loader, parameter converter, and API wrapper
License: MIT
Keywords: API,RAML,validate

# [PyRAML](https://github.com/salsita/pyraml) <a href='https://github.com/salsita'><img align='right' title='Salsita' src='https://www.google.com/a/cpanel/salsitasoft.com/images/logo.gif?alpha=1' /></a>

[RAML (REST API Markup Language)](http://raml.org/) enhanced loader, parameter converter, and API wrapper.

[![Latest Version](https://pypip.in/version/PyRAML/badge.svg)]
(https://pypi.python.org/pypi/PyRAML/)
[![Downloads](https://pypip.in/download/PyRAML/badge.svg)]
(https://pypi.python.org/pypi/PyRAML/)
[![Supported Python versions](https://pypip.in/py_versions/PyRAML/badge.svg)]
(https://pypi.python.org/pypi/PyRAML/)
[![License](https://pypip.in/license/PyRAML/badge.svg)]
(https://pypi.python.org/pypi/PyRAML/)


## Supported Platforms

* [Python](http://www.python.org/) >= 2.6, 3.3


## Get Started

Install using [pip](https://pip.pypa.io/) or [easy_install](http://pythonhosted.org/setuptools/easy_install.html):
```bash
pip install PyRAML
easy_install PyRAML
```

Optionally, you can specify `yaml` or `raml` extras to install related dependencies:
```bash
pip install "PyRAML[yaml,raml]"
easy_install "PyRAML[yaml,raml]"
```

## Features

- Load [RAML](http://raml.org/) API specification stored in any of supported markup languages using [PyDataLoader](https://github.com/salsita/pydataloader).
  - Support [YAML](http://yaml.org/) using [PyYAML](http://pyyaml.org/wiki/PyYAML).
  - Support [RAML](http://raml.org/) using [pyraml-parser](https://github.com/an2deg/pyraml-parser).
  - Support [JSON](http://json.org/) using [Python 2.6+ json module](https://docs.python.org/2/library/json.html), or [Python 3.x json module](https://docs.python.org/3/library/json.html).
- Provide extensible API model with access to resources and methods.
- Provide extensible parameter converter and validator.

## Changelog


### 0.2.0

#### Features

- Add AuthError exception.

#### Fixes

- Fix API options issues.
- Update dependencies to support Python 3.
- Fix package setup on Python 3.

### 0.1.9

#### Fixes

- Fix Python 2.6 support with updated PyDataLoader 0.1.2.

### 0.1.8

#### Fixes

- Fix Python 2.6 support.

### 0.1.7

#### Fixes

- Fix RAML loader to not fail on method-less resources, or empty responses and bodies.

### 0.1.6

#### Features

- Add default option to ignore empty parameters unless '' is specified in enum.

### 0.1.5

#### Fixes

- Fix package setup to not require dependencies preinstalled.

### 0.1.4

#### Features

- Initial release.

#### Fixes

- PyPI package structure.
PyDataLoader 0.1.3
Extensible JSON/YAML/RAML/... data loader
License: MIT
Keywords: data,load,YAML,RAML,JSON

# [PyDataLoader](https://github.com/salsita/pydataloader) <a href='https://github.com/salsita'><img align='right' title='Salsita' src='https://www.google.com/a/cpanel/salsitasoft.com/images/logo.gif?alpha=1' /></a>

Extensible JSON/YAML/RAML/... data loader.

[![Latest Version](https://pypip.in/version/PyDataLoader/badge.svg)]
(https://pypi.python.org/pypi/PyDataLoader/)
[![Downloads](https://pypip.in/download/PyDataLoader/badge.svg)]
(https://pypi.python.org/pypi/PyDataLoader/)
[![Supported Python versions](https://pypip.in/py_versions/PyDataLoader/badge.svg)]
(https://pypi.python.org/pypi/PyDataLoader/)
[![License](https://pypip.in/license/PyDataLoader/badge.svg)]
(https://pypi.python.org/pypi/PyDataLoader/)


## Supported Platforms

* [Python](http://www.python.org/) >= 2.6, 3.3


## Get Started

Install using [pip](https://pip.pypa.io/) or [easy_install](http://pythonhosted.org/setuptools/easy_install.html):
```bash
pip install PyDataLoader
easy_install PyDataLoader
```

Optionally, you can specify `yaml` or `raml` extras to install related dependencies:
```bash
pip install "PyDataLoader[yaml,raml]"
easy_install "PyDataLoader[yaml,raml]"
```

## Features

- Load data stored in any of supported markup languages.
  - Support [YAML](http://yaml.org/) using [PyYAML](http://pyyaml.org/wiki/PyYAML).
  - Support [RAML](http://raml.org/) using [pyraml-parser](https://github.com/an2deg/pyraml-parser).
  - Support [JSON](http://json.org/) using [Python 2.6+ json module](https://docs.python.org/2/library/json.html), or [Python 3.x json module](https://docs.python.org/3/library/json.html).
- Allow extending supported markup languages.
- Allow extending with data postprocessing.

## Changelog

### 0.1.3

#### Fixes

- Update dependencies to support Python 3.
- Fix package setup on Python 3.

### 0.1.2

#### Fixes

- Fix Python 2.6 support.

### 0.1.1

#### Fixes

- Fix package setup to not require dependencies preinstalled.

### 0.1.0

#### Features

- Initial release.
Flask-Ecstatic 0.3.0
Serves static files with optional directory index
License: MIT
Keywords: flask,static

Files in static folder are automatically served on static URL by Flask.
See http://flask.pocoo.org/docs/0.10/api/#application-object.

It's recommended to specify static folder and URL path directly on Flask application object,
unless you need additional static folders, or have multiple route handlers for the URL path,
e.g. when serving static files on root URL ('') for any path unmatched with previous routes.