semvec/pypi-packages huggingface dataset:
grayscale-to-rgb 1.1.0
Mapping grayscale images to RGB
License: MIT
Requires Python: >=3.8

# Grayscale to RGB Python script

Maps grayscale images to RGB based on a custom `jet`-like colormap. Outputs an images of the same size as the input file. Output image type can be defined by user, outputs png by default.

## How to use

### Dependencies

`argparse 1.4.0`

`matplotlib 3.8.x`

### Windows example using cmd
`python .\grayscale_to_rgb.py --input-picture-path .\images_input\grayscale_example.tif --output-picture-path \images_output\grayscale_example_colormapped.png`

### Linux

Replace every `\`  with `/`.

## Colormap


| Normalized Quantile | Mapped color name | Mapped color HEX code
| ------ | ------ | ------ |
|    `0`    |    `black`    | `#000000`   |
|    `0.03`    |    `blue`    | `#0000FF`   |
|    `0.25`   |    `cyan`    | `#00FFFF`   |
|    `0.50`    |    `lime`    | `#00FF00`   |
|    `0.75`   |    `yellow`    | `#FFFF00`   |
|    `0.97`    |   `red`     | `#FF0000`   |
|    `1`      |      `white`     | `#FFFFFF`   |

## Example Grayscale to RGB image

Based on the example command

![Grayscale original](https://gitlab.bfabric.org/jens/grayscale-to-rgb/-/blob/main/input_images/grayscale_example.tif)

![Grayscale colormapped](https://gitlab.bfabric.org/jens/grayscale-to-rgb/-/blob/main/output_images/grayscale_example_colormapped.png)

![Original colormapped](https://gitlab.bfabric.org/jens/grayscale-to-rgb/-/blob/main/output_images/rgb_original.jpg)
faucetpay 1.1
Unofficial Python Library For Faucetpay API
License: MIT


    FaucetPay API Python Lib
    How to use :
    ```python
    pip install faucetpay
    ```
    ```python
    from faucetpay import FaucetPay
    f = FaucetPay("Your Faucetpay API Key")
    ```

    get Faucet Balance
    ```python
    print(f.balance())
    #this will show bitcoin balance
    ```

    get Faucet Balance custom crypto
    ```python
    print(f.balance(crypto="trx"))
    #this will show tron balance
    ```

    Show Faucet Supported Coins
    ```python
    print(f.supported_coins())
    ```

    Check If Address Valid In FaucetPay
    ```python
    print(f.checkaddress("faucetpay email or linked address"))
    ```

    Send Crypto To FaucetPay Account
    ```python
    print(f.send(amount="amount in satoshi",to="email or wallet",crypto="crypto symbol",ref="ref email or address (optional)",ip="Optional"))
    ```

    example send :
    ```python
    print(f.send(amount="100000",to="vboxvm512@gmail.com",crypto="trx"))
    #this will send 0.001 trx to vboxvm512@gmail.com
    ```

    Recent Payout :
    ```python
    print(f.recent_payout(crypto="trx",count=10))
    #this will show recent 10 tron rewards
    ```

    Get Faucet Lists :
    ```python
    print(f.faucetlist())
    ```

    My info :
    ```python
    print(f.info())
    #show tips and my email
    ```

    Happy Using :)

    Contact me : @mrwebsupport (Telegram)