semvec/pypi-packages huggingface dataset:
GOESVisualizer 0.0.6
A simple tool to visualize GOES16/17
License: MIT

[![DOI](https://zenodo.org/badge/389640097.svg)](https://zenodo.org/badge/latestdoi/389640097)

# GOESVisualizer

A simple toolbox to retrieve/visualize/save GOES16(east) and GOES17(west) RGB image over a region of interest

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install GOESVisualizer.

```bash
pip install GOESVisualizer
```

## Usage

see example.py

or

```bash
from GOESVisualizer import GSVis

GSobj = GSVis('west', 2021, 7, 20, 12, -125, -117, 35, 45, gamma = 2.5)

```
you have two options here: either make a snapshot for the given time or loop over days/hour;
if you just want a snapshot follow this:

```bash
GSobj.snapshot()

GSobj.savepics()

```

if you are interested in animating a series of images, follow this:

```bash
GSobj.loop(21,4)
GSobj.savepics()
GSobj.animate()

```

Pictures or animated gif will be stored under /pics/


## License
[MIT](https://choosealicense.com/licenses/mit/)
pvv 1.0.0
Minimal Python decorator to enforce type validation from type hints
License: MIT
Requires Python: >=3.8,<4.0
Keywords: typing,validator,decorator,validate

# pvv

Minimal Python decorator to enforce type validation from type hints

## Installation

This library has been created to have zero dependencies, and work with native Python. Use your favorite package manager to install `pvv` from PyPI.

```
pip install pvv
```

## Usage

There are two ways to use the `validate` decorator from `pvv`:

### Validate all parameters

Just use the decorator. A `TypeError` will be raised if the function is called with parameters of incorrect type.

> [!NOTE]
> `pvv` will check if the given parameters to a function are instances of the class annotated as a parameter. If one parameter has no type hints, it will be ignored in the validation.

> [!WARNING]
> `pvv` will only work with type hints that can be used with class and instance checks.

```python
from pvv import validate

@validate
def function(a: str, b: int, c):
    pass
```

```
>>> function("a", 3, 2)
>>> function(c=2, a="a", b=2)
>>> function(3, "a", 2)
TypeError: Incorrect type of function arguments: 'a' must be of type 'str', 'b' must be of type 'int'
```

### Validate some parameters

```python
from pvv import validate

@validate('a', 'c')
def function(a: str, b: int, c: bool | None):
    pass
```

```
>>> function("a", 3, True)
>>> function(3, "b", 0)
TypeError: Incorrect type of function arguments: 'a' must be of type 'str', 'c' must be of type 'bool | None'
```

### An important note

The parameters of the `validate` decorator must all be of type `str`, otherwise a `ValidatorError` will be raised:

```
>>> @validate('a', 1)
... def func(*args, **kwargs):
...     pass
pvv.exceptions.ValidatorError: All arguments of decorator must be of type 'str'
```
elephant-sock5 0.0.12
Elephant sock5 tunnel client
License: MIT
Requires Python: >=3.7, <4
Keywords: proxy,http,non-blocking,py-netty,socks5

# elephant-sock5-client-py
python client of Elephant(L4) tunnel for SOCK5 empowered by [py-netty](https://github.com/ruanhao/py-netty).

[Elephant Server](https://github.com/ruanhao/elephant-sock5-tunnel) should be deployed first, which is a L4 tunnel server designed to provide a secure and high-performance tunneling solution for TCP traffic.

## Usage

```
$ elephant -h
Usage: elephant [OPTIONS]

Options:
  -p, --port INTEGER             Local port to bind  [default: 1080]
  -s, --server TEXT              Elephant tunnel server URL (like: ws[s]://localhost:4443/elephant/ws)  [required]
  -q, --quiet                    Quiet mode
  -l, --log-record               Save log to file (elephant-client.log)
  -t, --request-timeout INTEGER  Session request timeout (seconds)  [default: 3]
  --no-color                     Disable color output
  -v, --verbose                  Verbose mode
  -n, --tunnels INTEGER RANGE    Number of tunnels to achieve load balance  [default: 1; 1<=x<=8]
  --proxy-ip TEXT                Proxy IP
  --proxy-port INTEGER           Proxy port  [default: -1]
  --version                      Show the version and exit.
  -h, --help                     Show this message and exit.
```