semvec/pypi-packages huggingface dataset:
iocapture 0.1.2
Capture stdout, stderr easily.
License: MIT

.. -*- restructuredtext -*-

.. highlight:: python

.. image:: https://secure.travis-ci.org/oinume/iocapture.png?branch=master

Capture stdout, stderr easily with iocapture.

How to use
==========

With Python >= 2.5 ::

  import iocapture

  with iocapture.capture() as captured:
      print("hello stdout")
      print(captured.stdout)
  # >>> hello stdout

With Python < 2.5 ::

  import iocapture

  captured = iocapture.capture()
  captured.start()
  print("hello stdout")
  captured.close()
  print(captured.stdout)
  # >>> hello stdout

ChangeLog
=========

https://github.com/oinume/blob/master/changes.rst


For developers
==============
Install iocapture in develop mode. ::

  $ python setup.py develop

Install following modules for testing. ::

  $ pip install -r requirements-dev.txt

Run tests ::

  $ py.test tests
cidrtrie 0.1
Prefix Tree (trie) for manipulating CIDR sets
License: MIT

`cidrtrie` is a simplistic implementation of a prefix tree and a library for classifying IP addresses based on prefix matching. Unlike other implementations (such as [py-radix](http://www.mindrot.org/projects/py-radix/)), this is pure-Python and aims to be as simple as possible.

## Why? ##
This implementation offers asymptotic performance improvement for problems that look like Internet routing.

`bench.py` contains a simple and used-elsewhere _O(n)_ implementation ("`NaiveCidrClassifier`) of this same functionalify. Some sample numbers for inserting 100,000 cidrs into the tree and then looking up 10,000 IPs on a 3GHz Intel i7-4578U:

    insert CidrClassifier 5.16s
    insert NaiveCidrClassifier 0.11s
    lookup CidrClassifier 0.25s
    lookup NaiveCidrClassifier 92.11s

An example use case would be to efficiently map IP addresses (from logs or some other source) to the originating network (and, eventually, to the owner) without using a commercial library like MaxMind or bringing in any native-code dependencies.
Mopidy-Subsonic 1.0.0
Subsonic extension for Mopidy
License: MIT

***************
Mopidy-Subsonic
***************

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

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


`Mopidy <http://www.mopidy.com/>`_ extension for playing music from
`Subsonic <http://www.subsonic.org/>`_.


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

Install by running::

    sudo pip install mopidy-subsonic

Or, if available, install the Debian/Ubuntu package from `apt.mopidy.com
<http://apt.mopidy.com/>`_.


Configuration
=============

Before starting Mopidy, you must tell it where to find Subsonic by adding the
following to your Mopidy configuration::

    [subsonic]
    hostname = some.website.com (leave off http/https)
    port = 8888
    username = USER
    password = PASS
    ssl = (yes/no)
    context = my-subsonic (if your subsonic is accessible on http://some.website.com:8888/my-subsonic/index.view)

Searches in Mopidy will now return results from your Subsonic library.


Project resources
=================

- `Source code <https://github.com/rattboi/mopidy-subsonic>`_
- `Issue tracker <https://github.com/rattboi/mopidy-subsonic/issues>`_
- `Download development snapshot <https://github.com/rattboi/mopidy-subsonic/tarball/master#egg={{ cookiecutter.dist_name }}-dev>`_


Changelog
=========

v1.0.0 (UNRELEASED)
-------------------

- Require Mopidy >= 1.0

- Update to work with new playback API in Mopidy 1.0

- Update to work with new search API in Mopidy 1.0

v0.3.1 (2014-01-28)
-------------------

- Removed last_modified field from Playlist generation, to avoid problem in Mopidy core

v0.3 (2014-01-19)
-----------------

- Require Mopidy >= 0.18.

- Fixed: ``ext.conf`` was missing from the PyPI package, stopping Mopidy from
  working as long as Mopidy-Subsonic is installed.

v0.2 (2013-11-13)
-----------------

- Fixed: Crash when starting Mopidy-Subsonic with zero playlists on server

v0.1 (2013-08-29)
-----------------

- Initial release.