semvec/pypi-packages huggingface dataset:
requests_html2 2.0.3
HTML Parsing for Humans
License: MIT
Requires Python: >=3.9

![Python Version](https://img.shields.io/badge/python-%3E%3D3.9-green)
# requests_html2
> HTML Parsing for Humans
> 项目衍生自[requests-html](https://github.com/kennethreitz/requests-html)
> 用法参考[expample](example/)

相比于[requests-html](https://github.com/kennethreitz/requests-html)有如下改进：
- async 请求改用[httpx](https://github.com/encode/httpx)
- 浏览器渲染改用[playwright](https://github.com/microsoft/playwright-python)
- 元素操作优化，对于元素查找`find()`、`xpath()`的返回结果，参照linq增加筛选`select()`、`where()`
## Install
```
pip install requests-html2
```
## Quick Start

```python
from requests_html2 import HTMLSession
with HTMLSession() as session:
    response = session.get('https://python.org/')
    print(response.html)
```
pystun3-fix 1.0.1
A Python STUN client for getting NAT type and external IP (RFC 3489)
License: MIT
Keywords: STUN NAT

PyStun3
=======
A Python STUN client for getting NAT type and external IP. Supports Python
versions 2 and 3.

This project has been forked several times:

- `original project by gaohawk`_
- `taken over by jtriley`_
- `forked and patched to support py3 by zoumi`_
- and, finally, forked by `TalkIQ`_

PyStun follows `RFC 3489`_. A server following STUN-bis hasn't been found on
internet so RFC3489 is the only implementation.

Installation
------------
To install the latest version::

    $ pip install pystun3

or download/clone the source and install manually using::

    $ cd /path/to/pystun3/src
    $ python setup.py install

If you're hacking on ``pystun3`` you should use the 'develop' command instead::

    $ python setup.py develop

This will make a link to the sources inside your site-packages directory so
that any changes are immediately available for testing.

Usage
-----
From command line::

    $ pystun3
    NAT Type: Full Cone
    External IP: <your-ip-here>
    External Port: 54320

Pass --help for more options::

    % pystun3 --help
    usage: pystun3 [-h] [-d] [-H STUN_HOST] [-P STUN_PORT] [-i SOURCE_IP]
                   [-p SOURCE_PORT] [--version]

    optional arguments:
      -h, --help            show this help message and exit
      -d, --debug           Enable debug logging (default: False)
      -H STUN_HOST, --host STUN_HOST
                            STUN host to use (default: None)
      -P STUN_PORT, --host-port STUN_PORT
                            STUN host port to use (default: 3478)
      -i SOURCE_IP, --interface SOURCE_IP
                            network interface for client (default: 0.0.0.0)
      -p SOURCE_PORT, --port SOURCE_PORT
                            port to listen on for client (default: 54320)
      --version             show program's version number and exit

From Python::

    import stun
    nat_type, external_ip, external_port = stun.get_ip_info()

This will rotate through an internal list of STUN servers until a response is
found. If no response is found you will get ``"Blocked"`` as the ``nat_type``
and ``None`` for ``external_ip`` and ``external_port``.

If you prefer to use a specific STUN server::

    nat_type, external_ip, external_port = stun.get_ip_info(stun_host='stun.ekiga.net')

If you prefer to use a specific STUN server port::

    nat_type, external_ip, external_port = stun.get_ip_info(stun_port=3478)

You may also specify the client interface and port that is used although this
is not needed::

    sip = "0.0.0.0" # interface to listen on (all)
    port = 54320 # port to listen on
    nat_type, external_ip, external_port = stun.get_ip_info(sip, port)

Read the code for more details...

LICENSE
-------
MIT

.. _forked and patched to support py3 by zoumi: https://github.com/zoumi/pystun
.. _original project by gaohawk: http://code.google.com/p/pystun/
.. _RFC 3489: http://www.ietf.org/rfc/rfc3489.txt
.. _taken over by jtriley: https://github.com/jtriley/pystun
.. _TalkIQ: https://github.com/talkiq
fodcm 0.2.0
Far-Out DCM file handler
License: MIT

.. These are examples of badges you might want to add to your README:
   please update the URLs accordingly

    .. image:: https://api.cirrus-ci.com/github/<USER>/fodcm.svg?branch=main
        :alt: Built Status
        :target: https://cirrus-ci.com/github/<USER>/fodcm
    .. image:: https://readthedocs.org/projects/fodcm/badge/?version=latest
        :alt: ReadTheDocs
        :target: https://fodcm.readthedocs.io/en/stable/
    .. image:: https://img.shields.io/coveralls/github/<USER>/fodcm/main.svg
        :alt: Coveralls
        :target: https://coveralls.io/r/<USER>/fodcm
    .. image:: https://img.shields.io/pypi/v/fodcm.svg
        :alt: PyPI-Server
        :target: https://pypi.org/project/fodcm/
    .. image:: https://img.shields.io/conda/vn/conda-forge/fodcm.svg
        :alt: Conda-Forge
        :target: https://anaconda.org/conda-forge/fodcm
    .. image:: https://pepy.tech/badge/fodcm/month
        :alt: Monthly Downloads
        :target: https://pepy.tech/project/fodcm
    .. image:: https://img.shields.io/twitter/url/http/shields.io.svg?style=social&label=Twitter
        :alt: Twitter
        :target: https://twitter.com/fodcm

.. image:: https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold
    :alt: Project generated with PyScaffold
    :target: https://pyscaffold.org/

|

=====
fodcm
=====


    Far-Out DCM file handler


A longer description of your project goes here...


.. _pyscaffold-notes:

Making Changes & Contributing
=============================

This project uses `pre-commit`_, please make sure to install it before making any
changes::

    pip install pre-commit
    cd fodcm
    pre-commit install

It is a good idea to update the hooks to the latest version::

    pre-commit autoupdate

Don't forget to tell your contributors to also install and use pre-commit.

.. _pre-commit: https://pre-commit.com/

Note
====

This project has been set up using PyScaffold 4.4. For details and usage
information on PyScaffold see https://pyscaffold.org/.
focdf 0.2.0
Add a short description here!
License: MIT

.. These are examples of badges you might want to add to your README:
   please update the URLs accordingly

    .. image:: https://api.cirrus-ci.com/github/<USER>/focdf.svg?branch=main
        :alt: Built Status
        :target: https://cirrus-ci.com/github/<USER>/focdf
    .. image:: https://readthedocs.org/projects/focdf/badge/?version=latest
        :alt: ReadTheDocs
        :target: https://focdf.readthedocs.io/en/stable/
    .. image:: https://img.shields.io/coveralls/github/<USER>/focdf/main.svg
        :alt: Coveralls
        :target: https://coveralls.io/r/<USER>/focdf
    .. image:: https://img.shields.io/pypi/v/focdf.svg
        :alt: PyPI-Server
        :target: https://pypi.org/project/focdf/
    .. image:: https://img.shields.io/conda/vn/conda-forge/focdf.svg
        :alt: Conda-Forge
        :target: https://anaconda.org/conda-forge/focdf
    .. image:: https://pepy.tech/badge/focdf/month
        :alt: Monthly Downloads
        :target: https://pepy.tech/project/focdf
    .. image:: https://img.shields.io/twitter/url/http/shields.io.svg?style=social&label=Twitter
        :alt: Twitter
        :target: https://twitter.com/focdf

.. image:: https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold
    :alt: Project generated with PyScaffold
    :target: https://pyscaffold.org/

|

=====
focdf
=====


    Add a short description here!


A longer description of your project goes here...


.. _pyscaffold-notes:

Note
====

This project has been set up using PyScaffold 4.4.1. For details and usage
information on PyScaffold see https://pyscaffold.org/.