semvec/pypi-packages huggingface dataset:
Linear-Congruential-Generator 0.1.5
The random number generator.
License: MIT
Requires Python: >=3


# Linear Congruential Generator | ![Made_with_python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg) ![Licence](https://img.shields.io/github/license/onuratakan/Linear_Congruential_Generator.svg)

# Installing
```console
pip install Linear-Congruential-Generator
```

# Import
```python
from lcg import LCG
```
insee-number-translator 0.3.1
Translate french INSEE number to meaningful data
License: MIT
Requires Python: >=3.7,<4.0

# INSEE number translator

Extract data from INSEE number (France)

## Getting started
### From package
```shell
# activate your venv
python -m pip install insee-number-translator
insee 269059913116714 168127982980507
```

### From sources
```shell
pyenv virtualenv 3.7.9 insee
pyenv local insee
poetry install
# restart your shell
insee 269059913116714 168127982980507
```

## Data sources

* cities : https://public.opendatasoft.com/explore/dataset/correspondance-code-insee-code-postal/export/
* countries : https://www.insee.fr/fr/information/2028273
* departments : https://www.data.gouv.fr/fr/datasets/regions-departements-villes-et-villages-de-france-et-doutre-mer/
web-app-health-check 1.0
wen app health plugin
License: MIT

Description
===========

Checks web apps health.

`VERSION  <web_app_health_check/VERSION>`__

Install
=======

Linux::

    sudo pip3 install web_app_health_check --upgrade

Also is possible to use::

    sudo python3 -m pip install web_app_health_check --upgrade

On windows with python3.5::

    pip install web_app_health_check --upgrade

For proxies add::

    --proxy='http://user:passw@server:port'

Usage
=====

Use the command line::

    > web_app_health_check --help
      usage: web_app_health_check [-h] [-u [URL]] [-a [APP_NAME]] [-e [EXTRA_ARGS]]

        optional arguments:
        -h, --help            show this help message and exit
        -u [URL], --url [URL]
                              url to check 		
        -a [APP_NAME], --app_name [APP_NAME]
                              app_name is the key entry where the description is located
        -e [EXTRA_ARGS], --extra_args [EXTRA_ARGS]
                              extra args


Example usage
=============

Example use:

    > web_app_health_check -u "https://xxx/" -a process_app_name

    {"status":"Healthy","totalDuration":"00:00:02.4136092","entries":{"process_app_name":{"data":{},"description":"Process health check was successful.","duration":"00:00:02.4106469","status":"Healthy"}}}     

Nagios config
=============

Example command::

    define command{
        command_name  web_app_health_check
        command_line  /usr/local/bin/web_app_health_check -u "$ARG1$" -a "$ARG2$" --extra_args='$ARG3$'
    }

Example service::

    define service {
            host_name                       SERVERX
            service_description             service_name
            check_command                   web_app_health_check!http://url/!process_app_name
            use				                generic-service
            notes                           some useful notes
    }

You can use ansible role that already has the installation and command: https://github.com/CoffeeITWorks/ansible_nagios4_server_plugins