semvec/pypi-packages huggingface dataset:
txgeocodio 0.1.3
Simple Twisted interface to http://geocod.io
License: BSD
Keywords: txgeocodio

===============================
txgeocodio
===============================
An extremely bland Twisted client for http://geocod.io. It's really bland because their api is SO EASY TO USE.

Usage
------
Nothing too fancy here::

    import txgeocodio

    txgecodio.configure('YOURAPIKEYHERE')

    # Geocode some address and get a list of results
    d = txgecodio.geocode('123 Main ST, 91702')
    # d is a deferred with a list of results

    # Parse an address into parts (no geo lookup is made)
    d = txgecodio.parse('42370 Bob Hope Dr, Rancho Mirage, CA')
    # d is a deferred with the results in a dict that look something like:
    {
        "address_components":
            {"number": "42370",
            "street": "Bob Hope",
            "suffix": "Dr",
            "city": "Rancho Mirage",
            "state": "CA"
        },
        "formatted_address": "42370 Bob Hope Dr, Rancho Mirage, CA"
    }




History
-------

0.1.3 ()
++++++++++++++++++

* Geocoding errors in batch mode now return an empty list for that query
* ^^^ This will surely change in the future.

0.1.2 ()
++++++++++++++++++

* Fixed missing batch method in __init__.py

0.1.1 ()
++++++++++++++++++

* Added batch mode

0.1.0 ()
++++++++++++++++++

* First release on PyPI.
Flask-ReportableError 0.4.3
handle errors that can be reported to the web client
License: BSD

=====================
        Flask-ReportableError
        =====================
        
        Introduction
        ------------
        
        Flask-ReportableError is a Flask extension for handling errors that can
        be reported to the web client.
        
        
        Documentation
        -------------
        
        In order to use Flask-ReportableError, you must include the following
        statement in you application start script::
        
            from flask import Flask
            import flask_reportable_error
        
            app = Flask(__name__)
            app.config.from_envvar('FLASK_SETTINGS', silent=True)
            flask_reportable_error.init(app)
        
        
        API
        ---
        
        - ``flask_reportable_error.init()``:
          context initializer, it must receive the application as parameter.
        
        
        - ``flask_reportable_error.mixin``:
          class decorator that declares the decorated class as mixin with
          reportable exceptions.
        
        
        - ``flask_reportable_error.reportable()``:
          factory to create reportable exception classes. For example::
        
            raise reportable(ValueError)('invalid data received')
        
        
        - ``flask_reportable_error.ReportableErrorMixin``:
          mixin for reportable exception classes.
        
          - ``report()``:
            method that returns the reportable string – can be overridden.
        
          - ``status_code``:
            property representing the numeric status code – can be set at
            instance level.
        
          - ``template``:
            attribute refering to custom template name.
        
          - ``headers``:
            attribute refering to custom headers.
        
          - ``type_name``:
            attribute set by ``reportable()`` on inheritance, with the name of
            the original exception class.
        
        
        Settings
        --------
        
        The Flask settings may contain the key ``REPORTABLE_ERROR``, that’s a
        dictionary with the following keys:
        
        - ``LOGLEVEL``:
          the logging level. If not supplied, Flask-ReportableError uses
          ``logging.ERROR``.
        
        - ``DEFAULT_STATUS_CODE``:
          the default numeric status code for reportable exception classes. By
          default it’s 500.
        
        - ``TEMPLATE``:
          the name of a template to be used instead of none. The context of the
          template will contain the exception as value of the ``exc`` key.
        
        - ``HEADERS``:
          a dictionary to be used as default headers instead of ``{}``.
bash_quote 1.0.1
Browse quotes on bash.org from the comfort of your shell.
License: BSD
Keywords: bash_quote

===============================
bash.org quote viewer
===============================

.. image:: https://badge.fury.io/py/bash_quote.png
    :target: http://badge.fury.io/py/bash_quote
    
.. image:: https://travis-ci.org/ruairif/bash_quote.png?branch=master
        :target: https://travis-ci.org/ruairif/bash_quote

.. image:: https://pypip.in/d/bash_quote/badge.png
        :target: https://crate.io/packages/bash_quote?version=latest


Browse quotes on bash.org from the comfort of your shell.

* Free software: BSD license
* Documentation: http://bash_quote.rtfd.org.

Installation
------------
If you have pip installed all you have to do is::

    pip install bash_quote

Usage
-----
If you have bash_quote installed in your environment you can view quotes 
by running the command::

    bashquote [-h] [-n [NUM_QUOTES]] [-t [{random,r,top,t,latest,l}]]

To use bash quote viewer in a project::

    import bash_quote

    # get a list of 10 random quotes with rating > 0
    bash_quote.get_quotes(option='r', num_quotes=10)

    # get the latest quote
    bash_quote.get_quotes(option='l', num_quotes=1)

    # get the top 100 quotes
    bash_quote.get_quotes(option='t', num_quotes=100)



Features
--------

* View the latest, top or random quotes on bash.org from the comfort of your
  shell
* Return a single quote or return up to 100 quotes if you really need to
  procrastinate


.. :changelog:

History
-------

1.0.1 (27-01-2014)
++++++++++++++++++

* Fixed sorting bug

* First release on PyPI.
webassets2 0.10.dev-fork-renderer.7
Media asset management for Python, with glue code for various web frameworks
License: BSD

Fork of `webassets <https://pypi.python.org/pypi/webassets>`_
with the following differences:

* PR#283 (`feature/renderer <https://github.com/miracle2k/webassets/pull/283>`_)
* PR#293 (`feature/conditional-yaml <https://github.com/miracle2k/webassets/pull/293>`_)
gevent-socketio 0.3.6
SocketIO server based on the Gevent pywsgi server, a Python network library
License: BSD

Presentation
============

.. image:: https://secure.travis-ci.org/abourget/gevent-socketio.png?branch=master

``gevent-socketio`` is a Python implementation of the Socket.IO
protocol, developed originally for Node.js by LearnBoost and then
ported to other languages.  Socket.IO enables real-time web
communications between a browser and a server, using a WebSocket-like
API.  One aim of this project is to provide a single ``gevent``-based
API that works across the different WSGI-based web frameworks out
there (Pyramid, Pylons, Flask, web2py, Django, etc...).  Only ~3 lines
of code are required to tie-in ``gevent-socketio`` in your framework.
Note: you need to use the ``gevent`` python WSGI server to use
``gevent-socketio``.


Technical overview
==================

Most of the ``gevent-socketio`` implementation is pure Python.  There
is an obvious dependency on ``gevent``, and another on
``gevent-websocket``.  There are integration examples for Pyramid, Flask,
Django and BYOF (bring your own framework!).


Documentation and References
============================

You can read the renderered Sphinx docs at:

* http://readthedocs.org/docs/gevent-socketio/en/latest/

Discussion and questions happen on the mailing list:

* https://groups.google.com/forum/#!forum/gevent-socketio

or in the Github issue tracking:

* https://github.com/abourget/gevent-socketio/issues

You can also contact the maintainer:

* https://twitter.com/#!/bourgetalexndre
* https://plus.google.com/109333785244622657612


Installation
============

You can install with standard Python methods::

   pip install gevent-socketio

or from source::

   git clone git://github.com/abourget/gevent-socketio.git
   cd gevent-socketio
   python setup.py install

For development, run instead of ``install``::

   python setup.py develop

If you want to do all of that in a virtualenv, run::

   virtualenv env
   . env/bin/activate
   python setup.py develop   # or install
python-s3file 1.3
Read and write to Amazon S3 using a file-like object
License: BSD

=============
python-s3file
=============

Read and write files to S3 using a file-like object. Refer to S3 buckets and keys using full URLs.

The underlying mechanism is a lazy read and write using ``cStringIO`` as the file emulation. This is an in memory buffer so is not suitable for large files (larger than your memory).

As S3 only supports reads and writes of the whole key, the S3 key will be read in its entirety and written on ``close``. Starting from release 1.2 this read and write are deferred until required and the key is only read from if the file is read from or written within and only updated if a write operation has been carried out on the buffer contents.


More tests and docs are needed.

Requirements
============

boto

Usage
=====

Basic usage::

	from s3file import s3open

	f = s3open("http://mybucket.s3.amazonaws.com/myfile.txt")
	f.write("Lorem ipsum dolor sit amet...")
	f.close()

``with`` statement::

	with s3open(path) as remote_file:
	    remote_file.write("blah blah blah")

S3 authentication key and secret may be passed into the ``s3open`` method or stored in the `boto config file <http://code.google.com/p/boto/wiki/BotoConfig>`_.::

	f = s3open("http://mybucket.s3.amazonaws.com/myfile.txt", key, secret)

Other parameters to s3open include:

expiration_days
	Sets the number of days that the remote file should be cached by clients. Default is 0, not cached.

private
	If True, sets the file to be private. Defaults to False, publicly readable.

content_type
	The content_type of the file will be guessed from the URL, but you can explicitly set it by passing a content_type value.

create
	**New in version 1.1** If False, assume bucket exists and bypass validation. Riskier, but can speed up writing. Defaults to True.
mts 0.3
Miratuserie.tv on the command line
License: BSD
Keywords: mts

===========================================
mts, miratuserie.tv on the command line
===========================================


.. image:: https://pypip.in/v/mts/badge.png
   :target: https://pypi.python.org/pypi/mts
   :alt: Latest PyPI version

.. image:: https://pypip.in/d/mts/badge.png
   :target: https://pypi.python.org/pypi/mts
   :alt: Number of PyPI downloads


`miratuserie.tv <http://miratuserie.tv>`_ is a site to stream tv shows with spanish subtitles. ``mts`` do the same, but in a geek (yonkie) way.


.. attention::

    At this moment, only episodes having a source in Pinit.tv or uptobox.com could be played.


Install
----------

::

    $ pip install mts

Usage
------

This will show the whole 3º season of *How I met your mother*::

    $ mts 'how i met' s03e01

The complete inline help looks like this::

    (mts)tin@morochita:~$ mts -h
    mts -- miratuserie.tv in your command line

    Usage:
        mts [-i] [-ns] [-d] <show> <start>
        mts -i


    Arguments:
      title                 Looks for a show. Like 'how i met' or 'big bang'

      start                 Specifies a season/episode of a show to start play.
                            Examples: S01 (a whole season), s02e04 or 9x13

    optional arguments:
      -i, --info            Show info about available shows and episodes
      -h, --help            Show this help message and exit
      -ns, --no_subtitle    Don't download subtitles (TO DO)
      -d, --download        Download the episode instead play it (TO DO)


Configuration
--------------

Not so much by the moment, but you can set your prefered player
in ``~/.mts/config.ini``.

By default, ``mts`` tries to use ``mplayer`` in full-screen,
with this config file::

    [main]
    player = mplayer -fs {episode} [-sub {subs}]


The substring between ``[]`` is used only if the ``-ns`` (no subtitles) flag isn't present in the command line

For example, if you want to use ``vlc``, something like this should work::

    [main]
    player = vlc -f {episode} [:sub-file={subs}]

you got the idea.



* Free software: BSD license




History
-------

0.3 (2014-02-02)
++++++++++++++++++

* Added uptobox handler
* Fixed `#1 <https://github.com/mgaitan/mts/issues/1>`_

0.2 (2014-01-29)
++++++++++++++++++

* Added ``--no-subtitle`` flag (update your config file!)


0.1.2 (2014-01-27)
++++++++++++++++++

* First release on PyPI.