semvec/pypi-packages huggingface dataset:
globtailer 0.1.1
A generator that yields lines from the most recently modified file matching a glob pattern
License: MIT
Keywords: generator,tail

python-globtailer
=================

.. image:: https://secure.travis-ci.org/msabramo/python-globtailer.png
   :target: http://travis-ci.org/msabramo/python-globtailer

The main class is ``FileTailer``, a generator that yields lines from the most
recently modified file matching a glob pattern.

Example:

.. code-block:: python

    from globtailer import FileTailer

    tailer = FileTailer("/path/to/*.log")

    for line in tailer:
        print(line)
djangotestxmlrpc 0.0.2
Utility classes for testing Django views that speak XML-RPC
License: MIT
Keywords: unittest,testing,Django,XML-RPC

djangotestxmlrpc
=======================================

.. image:: https://secure.travis-ci.org/msabramo/djangotestxmlrpc.png?branch=master
   :target: http://travis-ci.org/msabramo/djangotestxmlrpc

Test Django `XML-RPC <http://xml-rpc.com/>`_ views using the `Django test
client
<https://docs.djangoproject.com/en/1.4/topics/testing/#module-django.test.client>`_.
Because you're using the Django test client, you're not actually sending HTTP
requests and don't need a server running.

This is a slightly modified version of code taken from `this blog post
<http://www.alittletooquiet.net/blog/2009/11/01/testing-django-xml-rpc-interfaces/>`_
from Forest Bond.


Example usage:

.. code-block:: python

    from djangotestxmlrpc import DjangoTestClientXMLRPCTransport

    class TestXmlRpc(django.test.TestCase):
        ...

        def test_list_package(self):
            pypi = xmlrpclib.ServerProxy(
                "http://localhost/pypi/",
                transport=DjangoTestClientXMLRPCTransport(self.client))
            pypi_hits = pypi.list_packages()
            expected = ['foo']
            self.assertEqual(pypi_hits, expected)


Supported Python versions
-------------------------

- Python 2.5
- Python 2.6
- Python 2.7
- PyPy 1.9
- Python 3.1
- Python 3.2
- Python 3.3

or says `tox <http://tox.testrun.org/>`_::

    ~/dev/git-repos/djangotestxmlrpc$ tox
    ...
      py25: commands succeeded
      py26: commands succeeded
      py27: commands succeeded
      pypy: commands succeeded
      py31: commands succeeded
      py32: commands succeeded
      py33: commands succeeded
      congratulations :)

You also can check the `latest Travis CI results
<http://travis-ci.org/msabramo/djangotestxmlrpc>`_, but
Travis doesn't build all of the above platforms.


Issues
------

Send your bug reports and feature requests to https://github.com/msabramo/djangotestxmlrpc/issues