semvec/pypi-packages huggingface dataset:
table2dicts 0.2
Python module for converting a html table to a list of dictionaries.
License: MIT

.. image:: https://travis-ci.org/moagstar/table2dicts.svg?branch=master
    :target: https://travis-ci.org/moagstar/table2dicts

table2dicts
=========== 
Python module for converting a html table to a list of dictionaries.

Installation
------------
Installing from PyPI using ``pip``:
    
.. code-block:: bash

    $ pip install table2dicts

Installing from source:
    
.. code-block:: bash

    $ python setup.py install
    
Usage
-----

Give it some html with a :code:`table`:

    >>> table2dicts('''
    ...    <table>
    ...         <thead>
    ...             <tr><th>a</th><th>b</th><th>c</th></tr>
    ...         </thead>
    ...         <tbody>
    ...             <tr><td>1</td><td>2</td><td>3</td></tr>
    ...             <tr><td>4</td><td>5</td><td>6</td></tr>
    ...         </tbody>
    ...    </table>
    ... ''')
    [OrderedDict([('a', '1'), ('b', '2'), ('c', '3')]), OrderedDict([('a', '4'), ('b', '5'), ('c', '6')])]
    
No :code:`thead` or :code:`tbody`, no problem:

    >>> table2dicts('''
    ...    <table>
    ...        <tr><th>a</th><th>b</th><th>c</th></tr>
    ...        <tr><td>1</td><td>2</td><td>3</td></tr>
    ...        <tr><td>4</td><td>5</td><td>6</td></tr>
    ...    </table>
    ... ''')
    [OrderedDict([('a', '1'), ('b', '2'), ('c', '3')]), OrderedDict([('a', '4'), ('b', '5'), ('c', '6')])]

When no :code:`th` is present, the first row of :code:`td` elements is used as a header:

    >>> table2dicts('''
    ...    <table>
    ...        <tr><td>a</td><td>b</td><td>c</td></tr>
    ...        <tr><td>1</td><td>2</td><td>3</td></tr>
    ...        <tr><td>4</td><td>5</td><td>6</td></tr>
    ...    </table>
    ... ''')
    [OrderedDict([('a', '1'), ('b', '2'), ('c', '3')]), OrderedDict([('a', '4'), ('b', '5'), ('c', '6')])]
easy_logger 1.0
A python package for logging easily
License: MIT

Easy Logger
===========

A python package for logging easily.

Installation
------------

::

    $ pip install easy_logger

Usage
-----

.. code:: python

    from easy_logger import Logger

    logger = Logger().get_logger(__name__)
    logger.info('logger')

API
---

.. code:: python

    class Logger(object):

        def get_logger(name):
            """The same as get_stream_logger."""
            pass

        def get_stream_logger(name):
            """Get logger which has add streamHandler. Output log message to stream.

            :param str name: logger name
            """
            pass

        def get_file_logger(name, filepath):
            """Get logger which has add fileHandler. Output log message to specify file.

            :param str name: logger name
            :param str filepath: the log file path
            """
            pass

        def get_both_logger(name, filepath):
            """Get logger which has both add streamHandler and fileHandler.
            Output log message to stream and specify file.

            :param str name: logger name
            :param str filepath: the log file path
            """
            pass


Better
------

If you feel anything wrong, feedbacks or pull requests are welcomed.
pymetabiosis 0.0.1
A way of using CPython 2's C extension modules on other cffi compatible Python implementations
License: MIT

PyMetabiosis
============

A bridge between PyPy and CPython that works by embedding CPython, its main purpose it to allow you to use any CPython module on PyPy (including C extensions).

* PyMetabiosis tries to link with the python command available on $PATH, however you can override this (if you want to use a virtualenv and/or if "python" points to PyPy) by setting the ``PYTHON_EMBED`` environment variable to a virtualenv (or /usr)

* Use pymetabiosis.module.import_module to import cpython modules on PyPy

Installation
------------

Before pip installing the package, you must set the ``PYTHON_EMBED`` environment variable to a Python virtualenv (or /usr) and then do ``pip install git+https://github.com/rguillebert/pymetabiosis``