semvec/pypi-packages huggingface dataset:
nbawebstats 0.1.2
Python interface to stats.nba.com HTTP API.
License: MIT
Keywords: nbawebstats

========
Overview
========

NBAWebStats is a Python interface to the stats.nba.com HTTP API, compatible with
Python 3.3-3.5.

NBAWebStats was developed from existing packages for the same purpose such as
py-goldsberry_, without which NBAWebStats would not be possible. Compared to
py-goldsberry, NBAWebStats offers the following attributes:

.. _py-goldsberry: http://github.com/bradleyfay/py-Goldsberry

* Interface adherent to :pep:`8`.
* Smaller, more maintainable code footprint due to reduced boilerplate (single
  ~200 line python file vs 10 files totalling ~2350 lines).
* Centralized documentation of permitted request types and parameters online_.
* Descriptive package name.
* Support for Python 3 (but not for Python 2).

.. _online: http://nbawebstats.readthedocs.org/en/master/requests.html

Details
-------

* Source repository: http://github.com/agirardeaudale/nbawebstats
* Documentation: https://nbawebstats.readthedocs.org.
* Free software: MIT license
qrc-pathlib 1.0.2
Extension for pathlib that implements Path and PurePath for Qt Resources System.
License: MIT
Keywords: qt qrc pyqt pathlib

.. image:: https://travis-ci.org/GreatFruitOmsk/qrc_pathlib.svg?branch=master

qrc_pathlib
===========

`Qt Resource System <http://doc.qt.io/qt-5/resources.html>`_ allows to store files
inside binaries and read them by using Qt's file system abstraction (QFile, QDir etc).

This package extends `pathlib <https://docs.python.org/3/library/pathlib.html>`_ introduced in Python 3.4
by implementing ``Path`` and ``PurePath`` for QRS:

.. code-block:: python

    from qrc_pathlib import QrcPath
    
    QrcPath(':my_resource.svg').read_bytes()
    
    with QrcPath(':hello.txt').open() as f:
        print(f.read())

Since QRS is read-only all methods that are supposed to modify files raise ``PermissionError``. Other inapplicable methods
such as ``stat`` will raise ``NotImplementedError``.
tomb_routes 0.0.8
A set of sane routing defaults for the Pyramid web framework
License: MIT

tomb_routes
=================================

.. image:: https://img.shields.io/pypi/v/tomb_routes.svg
    :target: https://pypi.python.org/pypi/tomb_routes

.. image:: https://img.shields.io/travis/tomborine/tomb_routes.svg
    :target: https://travis-ci.org/tomborine/tomb_routes

.. image:: https://coveralls.io/repos/tomborine/tomb_routes/badge.png?branch=master
           :target: https://coveralls.io/r/tomborine/tomb_routes?branch=master

Intro
=================================

A set of simple defaults for Pyramid_ routing.

Pyramid's `URL dispatch`_ has separate concepts for **routes** and **views**.
This gives additional flexibility in that you can one route map to multiple
views, using different predicates (e.g.: predicates depending on `Accept`
header, whether request is XHR or not, etc.). In many applications, this
flexibility is not needed and having both **routes** and **views** adds a bit
of complexity and duplication, and reduces DRYness. This module implements some
easy-to-use mechanisms that create a route and a view in one step, resulting in
simpler, easier to understand code. This kind of makes Pyramid's routing look a
bit more like Flask_, albeit without Flask's controversial `thread locals`_.

You can use ``simple_route`` as a decorator:

.. code-block:: python

    from tomb_routes import simple_route
    from pyramid.response import Response

    @simple_route('/hello/{name}')
    def my_route(request, name):
        return Response('Hello %s' % name)

or you can use it from the configurator:

.. code-block:: python

    config.include('tomb_routes')
    config.add_simple_route(
        '/hello/{name}', view_callable,
        renderer='json'
    )


Inspirations
=========================

Frameworks with very simple routing (including so-called "microframeworks") are
nothing new. Here are a few in the Python world:

- minion_
- Klein_
- Flask_

Pyramid is a very powerful and extensible web framework and it's a framework
that we love, but sometimes we want very simple routing. This package brings
the simplified routing from microframeworks to Pyramid, so we can have our cake
and eat it too.


.. _Pyramid: http://www.trypyramid.com/
.. _URL dispatch: http://docs.pylonsproject.org/docs/pyramid/en/latest/narr/urldispatch.html
.. _minion: https://pypi.python.org/pypi/minion
.. _Klein: https://github.com/Twisted/Klein
.. _Flask: http://flask.pocoo.org/
.. _thread locals: http://flask.pocoo.org/docs/latest/design/#thread-locals