semvec/pypi-packages huggingface dataset:
thepalette 0.2.0
A Color Palette...
Requires Python: >=3.8

## ThePalette
Convert Hex, RGB, CMYK, HSV, and HSL color units to each other with thePalette...
## Contact Us
- [Telegram](https://t.me/mpm_ms)
## Example
```python
from thepalette import Color, tools
clr = Color(name="xxx", cmyk=(45, 66, 71, 12))
print(clr.get_hsv())
```
## Installing

```bash
pip install thepalette==0.2.0
```
airflow-providers-navitia 0.1.3
Navitia hook and operator for Apache Airflow
Requires Python: >=3.10

# Navitia Provider Lokalise

This repository provides hook and operator to connect to the [Navitia API](https://doc.navitia.io/#getting-started) using the [Navitia Python library](https://github.com/jonperron/python-navitia-client).

## Installation

The package is available on [pip](https://pypi.org/project/airflow-providers-navitia/). It can be installed using

```bash
pip install airflow-providers-navitia
```

## Connection

Hook and operator are using the following parameter to connect to Lokalise API:

* `navitia_conn_id`: name of the connection in Airflow
* `auth_token`: personal API token to connect to the API. Can be obtained following [this documentation](https://doc.navitia.io/#authentication)

##  Repo organization

* Hook is located in the `navitia_provider/hooks` folder.
* Operator is located in the `navitia_provider/operator` folder.
* Tests for hook and operator are located in the `tests` folder.

## Dependencies

* Python >= 3.11
* Airflow >= 2.7
* python-lokalise-api>=1.1.4

Additional dependencies are described in the [pyproject.toml file](pyproject.toml).
scrape-simple 0.1.3
A web scraper that uses Tor for anonymity and supports media extraction
Requires Python: >=3.6

# Scrape Simple

A web scraper that uses Tor for anonymity and supports text and media extraction.

## Features

- Tor integration for anonymous web scraping
- Extract text content from web pages
- Extract media files (images, videos) above a specified size
- Optional Russian text simplification using Natasha
- Optional AI-based image description using BLIP

## Installation

```bash
pip install scrape-simple
```

### Optional Dependencies

For Russian text simplification:
```bash
pip install scrape-simple[russian]
```

For AI image descriptions:
```bash
pip install scrape-simple[ai]
```

For all features:
```bash
pip install scrape-simple[russian,ai]
```

## Usage

### Command Line
```bash
# Basic usage
scrape-simple https://example.com

# Advanced usage
scrape-simple https://example.com --depth 3 --min-media-size 20480 --simplify-ru --ai-describe-media
```

### Python API
```python
from scrape_simple import WebScraper, SiteContent

# Create scraper
scraper = WebScraper(
    root_url="https://example.com",
    max_depth=2,
    use_existing_tor=True,
    min_media_size=10240,  # 10KB minimum for media files
    simplify_ru=False,
    ai_describe_media=False
)

# Start scraping
site_content = scraper.start()

# Access results
for page in site_content.TextPages:
    print(f"Page: {page.url}, Content length: {len(page.content)}")

for media in site_content.MediaContentList:
    print(f"Media: {media.url}, Type: {media.media_type}, Description: {media.description}")

# Create scraper with media extraction disabled
scraper = WebScraper(
    root_url="https://example.com",
    max_depth=2,
    use_existing_tor=True,
    skip_media=True  # Disable media extraction
)
```

## Requirements
- Python 3.6+
- Tor (must be installed separately)

## Command Line Arguments

| Argument | Description |
|----------|-------------|
| `url` | The URL of the site to scrape |
| `--depth`, `-d` | The depth level for crawling (default: 2) |
| `--use-existing-tor`, `-t` | Use existing Tor instance if available |
| `--output`, `-o` | Output JSON file (default: output.json) |
| `--history-file` | File to store visited URLs for this run (default: .scrape_history) |
| `--simplify-ru` | Simplify Russian text using Natasha |
| `--min-media-size` | Minimum file size for media in bytes (default: 100KB) |
| `--ai-describe-media` | Use AI to generate descriptions for media files |
| `--skip-media` | Disable media extraction completely |
| `--max-retries` | Maximum number of retries for failed requests (default: 3) |

## Anti-Bot Protection Handling

Scrape Simple includes features to bypass common anti-bot protections:

- Browser-like request headers
- Random delays between requests
- Tor IP rotation for 403/429 errors
- Configurable retry mechanism
frogtab 2.0.4
Frogtab Local

# Frogtab Local

Frogtab Local is a version of the [Frogtab](https://frogtab.com) task manager that runs on localhost. This package provides:

  - The Frogtab Local server
  - A Python interface for configuring, starting, and interacting with the server
  - A command `frogtab`, which wraps the Python interface, for managing the server and sending tasks to Frogtab

For details, see the [Frogtab Local docs](https://github.com/dwilding/frogtab/blob/main/local/README.md#frogtab-local).

This package also provides a command `serve-frogtab /path/to/config.json`, which enables other service managers to run the server as a daemon. 

## License

Frogtab Local is licensed under the MIT License.

Frogtab Local uses OpenPGP.js for PGP encryption. The source code of OpenPGP.js is available at https://github.com/openpgpjs/openpgpjs. OpenPGP.js is licensed under the GNU Lesser General Public License.