semvec/pypi-packages huggingface dataset:
mosaik-gridcontrollers 0.3
A suite of controllers for power grids implemented as mosaik simulators.

mosaik-gridcontrollers
======================
This is a suite of controllers for power grids implemented as mosaik simulators.

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

::

    $ pip install mosaik-gridcontrollers

Tests
-----

You can run the tests with::

    $ git clone https://gitlab.com/mosaik/mosaik-gridcontrollers.git
    $ cd mosaik-gridcontrollers
    $ pip install -r requirements.txt
    $ pip install -e .
    $ py.test
    $ tox


Changelog
=========

0.3 - 2021-05-05
------------------

- Improved packaging

0.2 - 2021-05-04
------------------

- [FEATURE] mosaik simulator which controls the transformer tap position based on a single grid node's voltage

0.1 - 2021-05-03
----------------

- Initial release
ytparser 2.1.0
With this module you can get information from YouTube
Requires Python: >=3.6

## What's new?
* __In 2.0.0 and 2.0.1 New system not working__
* New parser system
* Now module use pytube for get information
## About
It's module for parsing YouTube channels and search query

## In this project use
* Selenium
* Pytube
aroay-cloudscraper 1.5
scrapy的一个下载中间件，绕过cloudflare检测

# AroayCloudScraper
scrapy一个插件，绕过cloudflare检测，主要是封装 cloudscraper模块，并且将cloudscraper模块在scrapy中异步执行

# 使用，在setting添加

```
DOWNLOADER_MIDDLEWARES = {
    'aroay_cloudscraper.downloadermiddlewares.CloudScraperMiddleware': 543,
}

```

# 需setting设置

```
# 默认日志级别
AROAY_CLOUDSCRAPER_LOGGING_LEVEL = logging.DEBUG

默认超时
AROAY_CLOUDSCRAPER_DOWNLOAD_TIMEOUT = 30

# 默认延迟
AROAY_CLOUDSCRAPER_DELAY = 1

#必须设置，否则报错
COMPRESSION_ENABLED = False

RETRY_ENABLED: True
RETRY_TIMES: 3
```

# 代理使用

```
    def start_requests(self):
        for page in range(1, 2):
            yield CloudScraperRequest(self.base_url, callback=self.parse_index, dont_filter=True, proxy={
                "http": "http://username:password@ip:port",
                "https": "http://username:password@ip:port",
            },cookies={"over18":"1"},timeout=5)
```