semvec/pypi-packages huggingface dataset:
functions-wrapper-av1m 1.0.0
Run multiple endpoints on Google Cloud Functions and Amazon Lambda
Requires Python: >=3.6

# Run multiple endpoints on Google Cloud Functions and Amazon Lambda

This example show how to run multiple endpoints on Google Cloud Functions and Amazon Lambda.

By default, [functions-framework-python](https://github.com/GoogleCloudPlatform/functions-framework-python) can't run multiple endpoints on the same function.

I present two examples here:

* By using only [one file](examples/onefile/simple.py)
* By using [flask blueprints](examples/blueprint/main.py)

## Get started

Install the dependencies:

```bash
pip install functions_wrapper
```

```python
# main.py 
from flask import Flask
from functions_wrapper import entrypoint

app = Flask(__name__)

@app.route("/")
def home():
    return "Hello World!"

@app.route("/test")
def test():
    return "Hello Test!"

app_wrap = lambda request: entrypoint(app, request)
```

Run this file with functions-framework:

```bash
functions_framework --target app_wrap
```
dorianUtilsModulaire 4.3.2
Utilities package
Requires Python: >=3.8

This package contains utilities for :
- mplExtended : functions extending the matplotlib package
- configFilesD : a template configuration source code that runs backend computations for dash server
- dccExtendedD : functions that extend the dash packages
- templateDashD : dash Template.
- templateTabsD : predefined dash tabs
- utilsD : convenient functions that speed up and help building codes more concise