semvec/pypi-packages huggingface dataset:
together-forever 1.0.6
A Python package capable of crawling Facebook page information.
License: MIT
Requires Python: >=3.10
Keywords: facebook scraping, scraping, facebook crawler, facebook page, selenium, crawler, scraper, facebook

<a href="https://www.buymeacoffee.com/sp0t__" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a> ici
pyspark-prometheus 0.1.3
Prometheus instrumentation for Spark Streaming metrics.
License: MIT
Requires Python: <4.0,>=3.9
Keywords: prometheus, spark, streaming, metrics

# Spark Streaming Metrics Prometheus Instrumentation

This project provides a seamless integration between PySpark and Prometheus for monitoring Spark **Structured Streaming** applications.

> *Note:* this project focuses on better metrics for Spark Structured Streaming specifically. If you would like other Spark metrics such as executor memory, CPU, GC times, etc. in Prometheus please refer to Spark's monitoring guide and its support for Prometheus using JMX (Java Management Extensions).

## Features

- Collects metrics from PySpark Streaming Queries
- Exposes metrics in Prometheus format
- Easy integration with existing PySpark applications

## Installation

To install the required dependencies, run:

```bash
pip install -r requirements.txt
```

## Usage

1. Import the necessary modules in your PySpark application:

    ```python
    from pyspark_prometheus import with_prometheus_metrics
    ```

2. Initialize the Prometheus metrics:

    ```python
    spark = SparkSession.builder.master("local").appName("MySparkApp").getOrCreate()
    spark = with_prometheus_metrics(spark, 'http://localhost:9091')
    ```

3. Start your PySpark job as usual. Metrics will be collected and exposed automatically.

## Contributing

Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Contact

For any questions or support, please open an issue in the repository.
****