semvec/pypi-packages huggingface dataset:
check-rq 0.1.5
Icinga/Nagios check for RQ (Redis Queue)
License: MIT
Requires Python: >=3.5

# check_rq

> Icinga/Nagios check for RQ (Redis Queue)

[![PyPI](https://img.shields.io/pypi/v/check-rq?color=blue)](https://pypi.org/project/check-rq/)

## Usage

```
usage: check_rq/check_rq.py [-h] [--queue QUEUE] [--host HOST] [--port PORT] [--password PASSWORD]
                            -w WARNING -c CRITICAL [-v]

Nagios/icinga plugin for checking a RQ redis queues

optional arguments:
  -h, --help            show this help message and exit
  --queue QUEUE         RQ Queue
  --host HOST           Redis host
  --port PORT           Redis port
  --password PASSWORD   Redis password
  -w WARNING, --warn WARNING
                        WARNING trigger
  -c CRITICAL, --critical CRITICAL
                        CRITICAL triger
  -v, --version         Print version
```

## License

Released under the [MIT license](https://github.com/crafterwerkbon/check_rq/blob/main/LICENSE).
l2x-synthetic 2.0.1
4 simple customizable synthetic datasets from Chen et al., 2018 (L2X): Orange Skin, XOR, Non-linear Additive and Switch.
License: MIT

# l2x_synthetic

[![build status](https://github.com/dunnkers/l2x_synthetic/actions/workflows/python-app.yml/badge.svg)](https://github.com/dunnkers/l2x_synthetic/actions/workflows/python-app.yml) [![pypi badge](https://img.shields.io/pypi/v/l2x_synthetic.svg?maxAge=3600)](https://pypi.org/project/l2x_synthetic/)


Exposes synthetic dataset generation code from [L2X](https://arxiv.org/pdf/1802.07814.pdf) as a **pip** package. To install, run:

```shell
pip install l2x-synthetic
```

You can now create the synthetic datasets like:

```python
from l2x_synthetic import XORGenerator
generator = XORGenerator(n_samples=100)
X, y = generator.get_data()
```

Which generates new data every time you call `get_data()` ✨. Use `random_state` to create reproducible data generation.

## API
Available generators:

**XORGenerator**
```python
from l2x_synthetic import XORGenerator
```

**Orange Skin generator**
```python
from l2x_synthetic import OrangeGenerator
```

**Non-linear additive generator**
```python
from l2x_synthetic import AdditiveGenerator
```

**Switch generator: combines orange labels and non-linear additive**
```python
from l2x_synthetic import SwitchGenerator
```

### Generator API

All generators are of the following type:

```python
class l2x_synthetic.DataGenerator:
    name: str = None # contains a human-friendly name for the generator.
    n_samples: int = 100
    random_state: Optional[int] = None

    def get_data(self) -> Tuple[np.ndarray, np.ndarray]:
        ...

    def get_dataframe(self) -> pd.DataFrame:
        ...

```


## Development dependencies
```shell
pip install -r requirements.txt
```

## About
See the original repo:

[https://github.com/Jianbo-Lab/L2X/](https://github.com/Jianbo-Lab/L2X/)
pywps-json 4.4.3.15
PyWPS is an implementation of the Web Processing Service standard from the Open Geospatial Consortium. PyWPS is written in Python.
License: MIT
Requires Python: >=3.6, <4
Keywords: PyWPS WPS OGC processing

# PyWPS

PyWPS is an implementation of the Web Processing Service standard from
the Open Geospatial Consortium. PyWPS is written in Python.

[![Documentation Status](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://pywps.readthedocs.io/en/latest/?badge=latest)
[![Build Status](https://github.com/geopython/pywps/actions/workflows/main.yml/badge.svg)](https://github.com/geopython/pywps/actions/workflows/main.yml)
[![Coverage Status](https://coveralls.io/repos/github/geopython/pywps/badge.svg?branch=master)](https://coveralls.io/github/geopython/pywps?branch=master)
[![PyPI](https://img.shields.io/pypi/dm/pywps.svg)](https://pypi.org/project/pywps/)
[![GitHub license](https://img.shields.io/github/license/geopython/pywps.svg)]()

[![Join the chat at https://gitter.im/geopython/pywps](https://badges.gitter.im/geopython/pywps.svg)](https://gitter.im/geopython/pywps?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

# License

As of PyWPS 4.0.0, PyWPS is released under an
[MIT](https://en.wikipedia.org/wiki/MIT_License) license
(see [LICENSE.txt](LICENSE.txt)).

# Dependencies

See [requirements.txt](requirements.txt) file

# Run tests

```bash
pip install -r requirements-dev.txt
# run unit tests
python -m unittest tests
# run code coverage
python -m coverage run --source=pywps -m unittest tests
python -m coverage report -m
```

# Run web application

## Example service

Clone the example service after having installed PyWPS:

```bash
git clone git://github.com/geopython/pywps-flask.git pywps-flask
cd pywps-flask
python demo.py
```

## Apache configuration

1. Enable WSGI extension

2. Add configuration:

    ```apache
    WSGIDaemonProcess pywps user=user group=group processes=2 threads=5
    WSGIScriptAlias /pywps /path/to/www/htdocs/wps/pywps.wsgi

    <Directory /path/to/www/htdocs/wps/>
        WSGIProcessGroup group
        WSGIApplicationGroup %{GLOBAL}
        Order deny,allow
        Allow from all
    </Directory>
    ```

3. Create wsgi file:

    ```python
    #!/usr/bin/env python3
    import sys
    sys.path.append('/path/to/src/pywps/')

    import pywps
    from pywps.app import Service, WPS, Process

    def pr1():
        """This is the execute method of the process
        """
        pass


    application = Service(processes=[Process(pr1)])
    ```

4. Run via web browser

    `http://localhost/pywps/?service=WPS&request=GetCapabilities&version=1.0.0`

5. Run in command line:

    ```bash
    curl 'http://localhost/pywps/?service=WPS&request=GetCapabilities&version=1.0.0'
    ```


# Issues

On Windows PyWPS does not support multiprocessing which is used when making
requests storing the response document and updating the status to displaying
to the user the progression of a process.