semvec/pypi-packages huggingface dataset:
xiaochuanhttpsproxy 0.0.2
https proxy api

# https代理ip
<p>
<img src='https://img.shields.io/badge/author-%E5%B0%8F%E5%B7%9D-ff69b4.svg'>
<img src='https://img.shields.io/github/license/2239559319/courseDownload.svg?style=flat'>
<img src='https://img.shields.io/badge/python-3.0%2B-blue.svg'>
<img src='https://img.shields.io/badge/python-3.6-blue.svg'>
</p>

-----------
- 运行python3
- 第三方包requests
- 安装
```bash
pip install xiaochuanhttpsproxy
```
- 使用
```python
import xiaochuanhttpsproxy
xiaochuanhttpsproxy.start(2)
print(xiaochuanhttpsproxy.getip())
```
- 每次提取的ip有接近20个,start的参数为2
- 函数解释:start()  开始提取，参数为提取的页面数，一页100个初始ip, getip()获取随机ip

- start(1)的运行时间大概为2分钟，以此类推

---------------
联系

github:[@github][1],pypi:[pypi][2]

mail:w2239559319@outlook.com

[1]:https://github.com/2239559319/xiaochuanhttpsproxy
[2]:https://pypi.org/project/xiaochuanhttpsproxy/
haka-mqtt 0.3.5
Weapons grade MQTT client.
Requires Python: >=2.7

==========
haka-mqtt
==========

The `haka_mqtt` package is reliable "weapons grade" MQTT client library.
It contains a core mqtt reactor class built with provable reliability,
and reproducibility as its fundamental goals.  A side effect is that the
library turns out to be speedy as well.

Status
=======

The project's core reactor is stable.  It has been tested on systems
with thousands of distributed nodes in difficult field conditions.  The
QoS=1 datapath is well field tested.  The QoS=0 and QoS=2 are not as
thoroughly field tested.

While the core reactor is very well tested the frontends are less
tested.  You should pay attention to notes on the different frontends
regarding their status and use.

The haka library is mostly tested on Linux derivatives.  It may work on
other platforms but this has not been tested by the authors and no
definite reports of success have been reported to the authors.


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

The haka-mqtt package can be installed from `pypi.org <https://pypi.org>`_
with `pip <https://pip.pypa.io/en/stable/>`_:

.. code-block:: bash

   pip install haka-mqtt

Usage
======

A quick example of how the package can be used:

.. code-block:: python

    # Standard python Packages
    import logging

    # 3rd-Party Packages
    from haka_mqtt.frontends.poll import (
        MqttPollClientProperties,
        BlockingMqttClient
    )
    from haka_mqtt.reactor import ACTIVE_STATES
    from mqtt_codec.packet import MqttTopic

    LOG_FMT='%(asctime)s %(name)s %(levelname)s %(message)s'
    logging.basicConfig(format=LOG_FMT, level=logging.INFO)

    properties = MqttPollClientProperties()
    properties.host = 'test.mosquitto.org'
    properties.port = 1883
    properties.ssl = False

    TOPIC = 'haka'

    c = BlockingMqttClient(properties)
    c.start()
    sub_ticket = c.subscribe([MqttTopic(TOPIC, 1)])
    c.on_suback = lambda c, suback: c.publish(TOPIC, 'payload', 1)
    c.on_publish = lambda c, publish: c.stop()

    while c.state in ACTIVE_STATES:
        c.poll(5.)


Project Infrastructure
=======================

The project is coordinated through public infrastructure available at
several places:

* `Releases (pypi) <https://pypi.org/project/haka-mqtt>`_
* `Documentation (readthedocs.io) <https://haka-mqtt.readthedocs.io/en/latest/>`_
* `Bug Tracker (github) <https://github.com/kcallin/haka-mqtt/issues>`_
* `Code Repository (github) <https://github.com/kcallin/haka-mqtt>`_