semvec/pypi-packages huggingface dataset:
Pyforms-Lite 3.0.4
Pyforms-Lite is a Python 2.7 and 3.5 framework to develop GUI applications based on PyQt
License: MIT

# PyForms-Lite

PyForms-Lite provides all the features of PyForms without the extra controls like `ControlVisVis(Volume)` and `ControlOpenGL` and others. A more detailed list will be available later.

Go checkout [PyForms](https://github.com/UmSenhorQualquer/pyforms) for more info, all the tutorials should give a good idea on how to work with it.

# Note
This module will not work with PyForms installed.
django-rest-framework-queryset 0.0.15
Mimicking the Django ORM queryset over rest framework api
License: MIT

[![Build Status](https://travis-ci.org/variable/django-rest-framework-queryset.svg?branch=master)](https://travis-ci.org/variable/django-rest-framework-queryset)
# Django Rest Framework QuerySet
Mimicking the Django ORM queryset over rest framework api

## Usage:

### normal operation
```python
    from rest_framework_queryset import RestFrameworkQuerySet
    from django.core.paginator import Paginator

    qs = RestFrameworkQuerySet('http://localhost:8082/api/')
    qs.all()

    # filter
    boys = qs.filter(gender='boy')
    girls = qs.filter(gender='girls')

    # slicing
    first_100_boys = boys[:100]

    # pagination
    p = Paginator(qs, 10)
    print p.count
    print p.num_pages
    page1 = p.page(1)
```

### class based view
```python
from django.views.generic import ListView
from rest_framework_queryset import RestFrameworkQuerySet

class ListDataView(ListView):
    paginate_by = 10
    template_name = 'list.html'

    def get_queryset(self, *args, **kwargs):
        return RestFrameworkQuerySet('http://localhost:8082/api/').filter(**self.request.GET.dict())
```

## Dependencies
The queryset is dependent on the API that uses [LimiteOffsetPagination](http://www.django-rest-framework.org/api-guide/pagination/#limitoffsetpagination)
If you are using [PageNumberPagination](http://www.django-rest-framework.org/api-guide/pagination/#pagenumberpagination) then you can use the included `rest_framework_queryset.pagination.HybridPagination` which will switch pagination class depends on the query param is passed.
Flask-Env 2.0.0
Easily set Flask settings from environment variables
License: MIT

Flask-Env
=========

.. image:: https://badge.fury.io/py/Flask-Env.svg
    :target: https://badge.fury.io/py/Flask-Env
.. image:: https://travis-ci.org/brettlangdon/flask-env.svg?branch=master
    :target: https://travis-ci.org/brettlangdon/flask-env

Easily set `Flask <http://flask.pocoo.org/>`_ settings from environment variables.

The reason for using :code:`flask-env` is to be able to follow the `12-factor app <http://12factor.net/>`_ suggestions for configuring your application.

With :code:`flask-env` you can define your default configuration options in code and very easily override via environment variables.


Installation
~~~~~~~~~~~~

.. code:: bash

   pip install Flask-Env


Usage
~~~~~

With :code:`flask-env` you will define your configuration as an object and load it into your Flask application via `app.config.from_object <http://flask.pocoo.org/docs/0.11/api/#flask.Config.from_object>`_ method.

Python 2
--------

.. code:: python

   from flask import Flask
   from flask_env import MetaFlaskEnv


   class Configuration(object):
       __metaclass__ = MetaFlaskEnv

       DEBUG = False
       PORT = 5000


   app = Flask(__name__)
   app.config.from_object(Configuration)


Python 3
--------

.. code:: python

   from flask import Flask
   from flask_env import MetaFlaskEnv


   class Configuration(metaclass=MetaFlaskEnv):
       DEBUG = False
       PORT = 5000


   app = Flask(__name__)
   app.config.from_object(Configuration)


Overriding environment variables
--------------------------------

.. code:: bash

    # Export environment variable for shell session
    export DEBUG=true

    # Set explicitly for a specific command execution
    PORT=8000 python app.py


Configuring flask-env
~~~~~~~~~~~~~~~~~~~~~

:code:`flask-env` offers two configuration options to determine how/which environment variables are loaded.

ENV_PREFIX
  Only consider environment variables that start with this prefix.
  The prefix will be removed from the environment variable name when setting in the configuration.
  (default: :code:`''`, example: :code:`ENV_PREFIX = 'MYAPP_'`)

ENV_LOAD_ALL
  Whether or not to load all environment variables for the configuration object.
  When :code:`False` only settings predefined on the configuration object are loaded, all others are ignored.
  When :code:`True` all environment variables defined in :code:`os.environ` will get loaded into your configuration object.
  (default :code:`False`)


Setting configuration values
----------------------------

You can set the :code:`flask-env` configuration settings directly on your Flask configuration object.

.. code:: python

   from flask_env import MetaFlaskEnv


   class Configuration(metaclass=MetaFlaskEnv):
       ENV_PREFIX = 'MYAPP_'
       ENV_LOAD_ALL = False