semvec/pypi-packages huggingface dataset:
tendril-devtooling 0.2.1
Generic Development Tooling from Tendril
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Keywords: tendril

.. image:: https://img.shields.io/pypi/v/tendril-devtooling.svg?logo=pypi
    :target: https://pypi.org/project/tendril-devtooling

.. image:: https://img.shields.io/pypi/pyversions/tendril-devtooling.svg?logo=pypi
    :target: https://pypi.org/project/tendril-devtooling

.. image:: https://img.shields.io/travis/tendril-framework/tendril-devtooling.svg?logo=travis
    :target: https://travis-ci.org/tendril-framework/tendril-devtooling

.. image:: https://img.shields.io/coveralls/github/tendril-framework/tendril-devtooling.svg?logo=coveralls
    :target: https://coveralls.io/github/tendril-framework/tendril-devtooling

.. image:: https://img.shields.io/codacy/grade/0809ebc61faa4e0e9e5365e001d41975?logo=codacy
    :target: https://www.codacy.com/app/chintal/tendril-devtooling

.. image:: https://img.shields.io/requires/github/tendril-framework/tendril-devtooling.svg
    :target: https://requires.io/github/tendril-framework/tendril-devtooling/requirements

.. image:: https://img.shields.io/pypi/l/tendril-devtooling.svg
    :target: https://www.gnu.org/licenses/agpl-3.0.en.html



.. inclusion-marker-do-not-remove

Introduction
------------

TODO Some brief introduction


Package Information
-------------------

The latest version of the documentation, including installation, usage, and
API/developer notes can be found at
`ReadTheDocs <https://tendril-devtooling.readthedocs.io/en/latest/index.html>`_.

The latest version of the sources can be found at
`GitHub <https://github.com/tendril-framework/tendril-devtooling>`_. Please use 
GitHub's features to report bugs, request features, or submit pull/merge requests.

The principle author for ``tendril-devtooling`` is Chintalagiri Shashank. The 
author can be contacted if necessary via the information on the
`author's github profile <https://github.com/chintal>`_ . See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.

``tendril-devtooling`` is distributed under the terms of the
`AGPLv3 license <https://www.gnu.org/licenses/agpl-3.0.en.html>`_ .
A copy of the text of the license is included along with the sources.
html2obj-genwch 0.0.8
A small example package
Requires Python: >=3.7

# Format HTML to python object

Support xpath

# Sample config

```
ep_conf = {"url": "{{video_url}}",
            "root": "{{root}}",
            "items": "//div[@class=\"container\"]/div[2]/div/div[@class=\"myui-panel-bg\"]/div/div[2]/div[@id=\"playlist{{st_cde}}\"]/ul/li[*]/a",
            #    "items": "//div[@class=\"myui-panel-bg\"]/div/div[@class=\"tab-content\"]/div[@id=\"playlist{{st_cde}}\"]/ul/li[*]/a",
            "data": {"root": {"fix": "{{root}}"},
                    "menu_desc": {"fix": "{{menu_desc}}"},
                    "smenu_desc": {"fix": "{{smenu_desc}}"},
                    "video_desc": {"fix": "{{video_desc}}"},
                    "video_img": {"fix": "{{video_img}}"},
                    "st_cde": {"fix": "{{st_cde}}"},
                    "st_desc": {"fix": "{{st_desc}}"},
                    "ep_cde": {"_attr": "href", "_act": [{"split": {"-": 3}}, {"re": ".html$"}, {"check": {"type": "int"}}]},
                    "ep_url": {"_attr": "href", "_act": [{"pfx": "{{root}}"}]},
                    "ep_desc": {"get": "_text"}
                    }}
```

# Execution

```
import html2obj
ext = html2obj.extract()
obj = ext.extract(conf=ep_conf)
```