semvec/pypi-packages huggingface dataset:
acrawler-cfscrape 0.0.5
The handler working with aCrawler and cloudscraper
Requires Python: >=3.6.0

# acrawler-cfscrape

The handler works with [aCrawler](https://github.com/wooddance/aCrawler) and [cloudscraper](https://github.com/VeNoMouS/cloudscraper)

## Installation

```bash
$ pip install acrawler_cfscrape
```

## Usage

Add Handler:

```python
class MyCrawler(Crawler):
    middleware_config = {
        "acrawler_cfscrape.CfscrapeHandler": True,
    }

    config = {
        "CFS_COOKIES_FILE": Path.home() / ".cfscookies",
        "CFS_URL": "http://www.example.com",
        "CFS_PROXIES": None,
    }
```
pbiapi 0.1.4
A Python library for working with the Power BI API

# PowerBI-API-Python
This python package consists of helper functions for working with the Power BI API. To use this first make sure you have a Service Principal set up in Azure that has access to Power BI API. This [guide](https://cognitedata.atlassian.net/wiki/spaces/FORGE/pages/1003814928/Power+BI+API+Set+Up) shows how to set up a SP App.

## Basic Usage

Install using pip
```sh
pip install pbiapi
```

Add the client to your project with:

```python
from pbiapi import PowerBIAPIClient
```

Initiate the client by running:
```python
pbi_client = PowerBIAPIClient(
    <Tenant Id>,
    <Application Id>,
    <Service Principal Secret>,
)
```

You can then get all the workspaces the Service Principal is admin of by running:
```python
pbi_client.get_workspaces()
```