semvec/pypi-packages huggingface dataset:
xmlunittestbetter 0.1
Library using lxml and unittest for unit testing XML. This is an actively maintained and PEP8 compliant fork of xmlunittest.
License: MIT

Python XML-Unittest
===================
[![Build Status](https://travis-ci.org/richardasaurus/python-xmlunittest-better.png?branch=master)](https://travis-ci.org/richardasaurus/python-xmlunittest-better)
[![Downloads](https://pypip.in/d/xmlunittestbetter/badge.png)](https://crate.io/packages/xmlunittestbetter/)

This is a spork of [https://github.com/Exirel/python-xmlunittest](https://github.com/Exirel/python-xmlunittest).
With wider lxml support and Python 2.7, 3.4 & 3.4 support.


Examples
======

- Extend xmlunittest.XmlTestCase
- Write your tests, using the function or method that generate XML document
- Use xmlunittest.XmlTestCase‘s assertion methods to validate
- Keep your test readable

Example:

```

    from xmlunittest import XmlTestCase


    class CustomTestCase(XmlTestCase):

        def test_my_custom_test(self):
            # In a real case, data come from a call to your function/method.
            data = """<?xml version="1.0" encoding="UTF-8" ?>
            <root xmlns:ns="uri">
                <leaf id="1" active="on" />
                <leaf id="2" active="on" />
                <leaf id="3" active="off" />
            </root>"""

            # Everything starts with `assert_xml_document`
            root = self.assert_xml_document(data)

            # Check namespace
            self.assert_xml_namespace(root, 'ns', 'uri')
            # Check
            self.assert_xpaths_unique_value(root, ('./leaf@id', ))
            self.assert_xpath_values(root, './leaf@active', ('on', 'off'))
```

Running the tests
======

To run the unit tests for this package::

```
    pip install tox
    tox
```
pynaut 0.2.13
A tool for recursively exploring arbitrary python objects.
License: MIT
Keywords: introspection,debugging

``pynaunt`` allows you to deeply explore and introspect arbitrary python objects.

As an example, we can explore the ``os`` module just a bit:

    >>> from pynaut import Container
    >>> import os
    >>> obj = Container(os)
    >>> len(list(obj.children))
    203
    >>> w = list(obj.grep_attr_names('wait'))
    >>> len(w)
    23
    >>> [a.name for a in w]
    ['wait',
      'wait4',
      'wait3',
      'wait',
      'wait4',
      'wait3',
      'waitpid',
      'wait',
      'wait4',
      'wait3',
      'waitpid',
      'wait',
      'wait4',
      'wait3',
      'wait',
      'wait4',
      'wait3',
      'waitpid',
      'waitpid',
      'waitpid',
      'waitget',
      'waitget',
      'waitget']
    >>> from types import ModuleType
    >>> test = lambda c: isinstance(c.obj, (bool, list, ModuleType))
    >>> foo = list(obj.get_attr_matches(test))
    >>> len(foo)
    620
    >>> [a.name for a in foo][:10]
    ['UserDict',
      'errno',
      'path',
      'auto_magic',
      'genericpath',
      'stat',
      'os',
      'UserDict',
      'errno',
      'path']

Additionally, there is support for searching an entire object tree for a (name, attribute) pair that meets an arbitrary
condition.

``pynaut`` also includes a very basic curses based interface (``pynaut_curses``) that lets you explore objects by
descending through the attribute tree.
kishimenpy 0.1.1
The niconico Downloader
License: MIT

===========
kishimen.py
===========

The niconico Downloader.

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

- Python 3.4
- requests

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

::

   $ cd <directory containing this file>
   $ python setup.py develop

Usage
=====

::

   $ kishimenpy download -m <your niconico account's mail address> -p <your password> -d <destination directory> <nicovideo url>...