semvec/pypi-packages huggingface dataset:
http-request-args 0.1.31
This library is to validate the request body and query string arguments. This library is implemented to be used with flask-restplus library.
License: MIT
Requires Python: >=3.6

<h6 align="left">
    <img src="https://cdn.sealr.app/quaking+aspen+logo+teal+full-02.png"  />
</h6>

# http_request_args
[Introduction](#Introduction)\
[Getting Started](#Started)\
[Example](#Example)\
[Contributors](#Contributors)\
[License](#License)
<h2 id="Introduction">Introduction</h2>
This library helps to validate the request body and query string arguments. And it's implemented to be used with flask-restplus library.
 
<h2 id="Started">Getting Started</h2>
In order to install, open the command prompt and type ✌️:

```
pip install http-request-args
```


<h2 id="Example">Example</h2>

In order to use refer to the following [Example](https://github.com/Quakingaspen-codehub/http-request-args/blob/master/example/test.ipynb)

<h2 id="">Contributors</h2>

This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
<a href="https://github.com/Quakingaspen-codehub/http-request-args/graphs/contributors">
""
</a>

<h2 id="License">License</h2>

This library is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details.
socket-io-driver 0.0.5
Socket IO Broadcast Driver for Masonite
License: MIT
Keywords: masonite,socket-io,broadcast,masonite-socket-io-broadcast-driver

#### Project description

**What is Broadcast-SocketIO-Driver?**

It's an extra broadcast driver for masonite. It adds support for socketio. Because our emitter depends on Redis, installation of redis is required beforehand.

**Setup**

Install package using pip:

```shell
pip install socket-io-driver
```

Add provider inside config/providers.py.

```python
from socket_io_driver.SocketioBroadcastProvider import SocketioBroadcastProvider

PROVIDERS = [
    ...,
    # Application Providers
    SocketioBroadcastProvider,
]
```

**Storage Config**

Add following configuration inside config/broadcast.py.

```python
"socketio": {
    "host": env("SOCKET_HOST", "localhost"),
    "port": env("SOCKET_PORT", "6379"),
},
```

Add following keys in `.env`.

```
SOCKET_HOST=
SOCKET_PORT=
```

And finally update your broadcast driver in `.env`.

```
BROADCAST_DRIVER=socketio
```

**Example**

```python

from masonite.request import Request
from masonite import Broadcast

def your_function(request: Request, broadcast: Broadcast):
    channels = ['admin', 'chat'] # can be single or multiple channels
    broadcast.channel(channels, {
        'message': "Hello SocketIo!", # your data
    }, 'message') # event-name
```

Enjoy ;)
pyodide-importer 0.0.2
Import hook for Pyodide
License: MIT
Requires Python: >=3.8
Keywords: pyodide

# pyodide-importer

[Pyodide](https://pyodide.org) + external file import support

## Installation

Inside Pyodide:

```py
import micropip
await micropip.install("pyodide-importer")
```

## Basic Usage

```py
from pyodide_importer import register_hook
register_hook("<Base URL where python scripts are in>")
import external_module
```

__Example__

```py
import micropip
await micropip.install("pyodide-importer")
from pyodide_importer import register_hook
register_hook("https://raw.githubusercontent.com/ryanking13/pyodide-importer/main/test_modules/")

# https://raw.githubusercontent.com/ryanking13/pyodide-importer/main/test_modules/file_module.py
import file_module
file_module.hello()

# https://raw.githubusercontent.com/ryanking13/pyodide-importer/main/test_modules/regular_module/__init__.py
import regular_module
regular_module.hello()
```

## Advanced Usage

__Whitelisting modules to import__

Whitelisting modules will prevent from generating redundant HTTP requests when looking for not existing modules.

```py
register_hook(
    "<Base URL where python scripts are in>",
    modules=["module1", "module2"]
)
```

__Changing path where modules will be downloaded__

`download_path` option changes the path where modules will be downloaded inside the virtual file system,
default is set to the current working directory.

```py
register_hook(
    "<Base URL where python scripts are in>",
    download_path="/path/to/be/downloaded",
)
```