semvec/pypi-packages huggingface dataset:
Flask-KVSession 0.6.2
Transparent server-side session support for flask
License: MIT

Flask-KVSession
===============

.. image:: https://travis-ci.org/mbr/flask-kvsession.svg?branch=master
           :target: https://travis-ci.org/mbr/flask-kvsession

Flask-KVSession is an `MIT-licensed
<https://github.com/mbr/flask-kvsession/blob/master/LICENSE>`_ server-side
session replacement for `Flask <http://flask.pocoo.org>`_'s signed
client-based session management. Instead of storing data on the client, only a
securely generated ID is stored on the client, while the actual session data
resides on the server.

This has two major advantages:

* Clients no longer see the session information
* It is possible to securely destroy sessions to protect against replay
  attacks.

Other things are possible with server side session that are impossible with
clients side sessions, like inspecting and manipulating data in absence of the
client.

Flask-KVSession uses the `simplekv <http://github.com/mbr/simplekv>`_-package
for storing session data on a variety of backends, including `redis
<http://redis.io>`_, `memcached <http://memcached.org>`_, SQL databases using
`SQLAlchemy <http://sqlalchemy.org>`_, `mongoDB <http://www.mongodb.org/>`_ or
just flat files.

Integration with Flask is seamless, once the extension is loaded for a Flask
application, it transparently replaces Flask's own Session management. Any
application working with sessions should work the same with Flask-KVSession
(if it does not, file a bug!).


Documentation and development
-----------------------------

Development `happens on github <https://github.com/mbr/flask-kvsession/>`_,
you can find the `documentation on PyPI
<http://pythonhosted.org/Flask-KVSession>`_.
pystrap 0.0.1
Interactively create a new Python skeleton project ready for PyPI deployment!
License: MIT

Pystrap |Build| |Health|
========================

Interactively create a new Python skeleton project ready for PyPI deployment!

  **Not yet ready for use!**

This is a thin, interactive wrapper around
`python-pypi-template <https://github.com/themattrix/python-pypi-template>`_.


Changelog
---------

**0.0.1**

- Initial release. Completely empty, does absolutely nothing.


.. |Build| image:: https://travis-ci.org/themattrix/python-pystrap.svg?branch=master
   :target: https://travis-ci.org/themattrix/python-pystrap
.. |Coverage| image:: https://img.shields.io/coveralls/themattrix/python-pystrap.svg
   :target: https://coveralls.io/r/themattrix/python-pystrap
.. |Health| image:: https://landscape.io/github/themattrix/python-pystrap/master/landscape.svg
   :target: https://landscape.io/github/themattrix/python-pystrap/master
.. |Version| image:: https://pypip.in/version/pystrap/badge.svg?text=version
   :target: https://pypi.python.org/pypi/pystrap
.. |Downloads| image:: https://pypip.in/download/pystrap/badge.svg
   :target: https://pypi.python.org/pypi/pystrap
.. |Compatibility| image:: https://pypip.in/py_versions/pystrap/badge.svg
   :target: https://pypi.python.org/pypi/pystrap
.. |Implementations| image:: https://pypip.in/implementation/pystrap/badge.svg
   :target: https://pypi.python.org/pypi/pystrap
.. |Format| image:: https://pypip.in/format/pystrap/badge.svg
   :target: https://pypi.python.org/pypi/pystrap
jsobject 0.10.2
Jsobject is simple implementation JavaScript-Style Objects                  in Python.
License: MIT
Keywords: jsobject,Object,json,chain,javascript

.. image:: https://pypip.in/version/jsobject/badge.svg
    :target: https://pypi.python.org/pypi/jsobject/
    :alt: Latest Version

.. image:: https://pypip.in/download/jsobject/badge.svg
    :target: https://pypi.python.org/pypi/jsobject/
    :alt: Downloads

.. image:: https://pypip.in/py_versions/jsobject/badge.svg
    :target: https://pypi.python.org/pypi/jsobject/
    :alt: Supported Python versions

.. image:: https://pypip.in/license/jsobject/badge.svg
    :target: https://pypi.python.org/pypi/jsobject/
    :alt: License

.. image:: https://pypip.in/status/jsobject/badge.svg
    :target: https://pypi.python.org/pypi/jsobject/
    :alt: Development Status

jsobject: Objects for Humans
============================

jsobject is simple implementation JavaScript-Style Objects in Python. It is distributed as a single file module and has no dependencies other than the `Python Standard Library <http://docs.python.org/library/>`_.

Homepage and documentation: https://mavier.github.io/jsobject


Example: "Hello World" with jsobject
------------------------------------

.. code-block:: python

  from jsobject import Object
  data = {
    "boolean": True,
    "null": None,
    "number": 123,
    "objectA": {'a': 'b', 'c': {'d': 'e', 'f': {'g': 'h'}}}
    }

  jso = Object(data)

  print(jso.boolean)       # True
  print(jso.null)          # None
  print(jso.number)        # 123
  print(jso.objectA)       # {'a': 'b', 'c': {'d': 'e', 'f': {'g': 'h'}}}
  print(jso.objectA.a)     # b
  print(jso.objectA.c.d)   # e
  print(jso.objectA.c.f.g) # h

Download and Install
--------------------

Install the latest stable release with ``pip install jsobject``, ``easy_install -U jsobject`` or download `jsobject.py <https://github.com/mavier/jsobject/raw/master/jsobject.py>`__ (unstable) into your project directory. There are no hard dependencies other than the Python standard library. Jsobject runs with **Python 2.6+ and 3.x**.

Testing
_______

To run the tests use the `nosetest`.

.. image:: https://travis-ci.org/mavier/jsobject.png?branch=master
    :target: https://travis-ci.org/mavier/jsobject

.. image:: https://coveralls.io/repos/mavier/jsobject/badge.png
    :target: https://coveralls.io/r/mavier/jsobject


License
-------

Code and documentation are available according to the `MIT License <https://raw.github.com/mavier/jsobject/master/LICENSE>`__.

https://docs.python.org/3/library/json.html
https://docs.python.org/2/library/functions.html
https://docs.python.org/2/library/collections.html
https://docs.python.org/2/library/json.html
nagios-nvidia-smi-plugin 0.4.0
Nagios plugin to check Nvidia GPU status using nvidia-smi
License: MIT
Keywords: nagios nvidia smi gpu plugin

========================
Nagios Nvidia-Smi Plugin
========================

This plugin for checks Nvidia GPU stats via the nvidia-smi executable provided
by nvidia-current.

Setup
=====
1. pip install nagios-nvidia-smi-plugin
2. /usr/local/bin/check_nvidiasmi.py -h::

		usage: check_nvidiasmi.py [-h] [-w RANGE] [-c RANGE] [-W RANGE] [-C RANGE]
		                          [-t RANGE] [-T RANGE] [-d DEVICE] [-v]

		Nagios plugin to check Nvidia GPU status using nvidia-smi
		
		optional arguments:
		  -h, --help            show this help message and exit
		  -w RANGE, --gpu_warning RANGE
		                        warning if threshold is outside RANGE
		  -c RANGE, --gpu_critical RANGE
		                        critical if threshold is outside RANGE
		  -W RANGE, --mem_warning RANGE
		                        warning if threshold is outside RANGE
		  -C RANGE, --mem_critical RANGE
		                        critical if threshold is outside RANGE
		  -t RANGE, --gputemp_warning RANGE
		                        warning if threshold is outside RANGE
		  -T RANGE, --gputemp_critical RANGE
		                        critical if threshold is outside RANGE
		  -d DEVICE, --device DEVICE
		                        Device ID (starting from 0)
		  -v, --verbose         increase verbosity (use up to 3 times)

Releases
========
0.4.0 - May 06, 2015: Specify device to check, and added check for temperature; thanks @gslongo!
0.2.0 - Jan 16, 2013: Initial release

Develop
=======
Fork me on `Github <https://github.com/FastSociety/nagios-nvidia-smi-plugin>`_.
pixhostuploader 1.0.10
Unofficial uploader to pixhost.org image sharing site.
License: MIT

pixhost-uploader
================

Unofficial Python 3.2+ upload client for pixhost.org image sharing
website.

Usage
-----

.. code::

    import pixhostuploader as pixhost

    uploaded = pixhost.upload('image.jpg')

    print(uploaded)

Uploader returns 3 URLs for each image: thumbnail, full size image and a
its page on pixhost.org.

.. code::

    {
        'thumb_image': '...',
        'full_size_image': '...',
        'page_url': '...',
    }

You can also upload multiple images at once.

.. code::

    images = [
        'image.jpg',
        'another_image.jpg',
    ]
    uploaded = pixhost.upload(images)

Uploader then returns a ``list`` of URLs for each uploaded image.

.. code::

    [
        {
            'thumb_image': '...',
            'full_size_image': '...',
            'page_url': '...',
        }, {
            'thumb_image': '...',
            'full_size_image': '...',
            'page_url': '...',
        }
    ]

Maximum image size on pixhost.org is 10 MB so if you try to upload a
larger file the upload function throws ``TooLargeImageFormat``
exception.

Also in case the upload fails for some reason (upload page doesn't
return ``200`` code) ``UploadFailed`` is thrown.