semvec/pypi-packages huggingface dataset:
middleware-service 0.1.1
for data authentication by middleware
License: MIT

# Middleware Service Package

**Middleware Service Package to manage the validation of client or server side requests.**

- Note: Please populate the .env file with own SECRET_KEY value into your local development root directory then import the Middleware Service Package for use in local development.

*set the secret key value in .env file in following way, and changes the value in place of set_own_key_value*
- SECRET_KEY = set_own_key_value 


## For Local Development Setup

**System Requirements for Middleware Service package**
- Python 3.9+
- Pip 21.2.4+

**Install and Create the virtual environment on current Operating System**
```
$ pip install virtualenv
$ virtualenv myenv
```
Note: Above command create the myenv virtual environment folder and we can also set another name instead of   myenv. then activate your virtual environment.


**Check and Upgrade the pip and setuptool packages**
```
$ python -m pip install --upgrade pip setuptools wheel
```

**Install the Middleware Service Package in your virtual environment**
```
$ pip3 install git+https://github.com/adcuratio/folks-middleware-service
```

**For Succesfully Uninstall the Middleware Package**
```
$ pip3 uninstall middleware_service
``` 


## For Use Middleware Package In Local Developement  

**Use Middleware Package for all the api endpoints.**

*1. Import Middleware Package in following way*
- import middleware_service
- from middleware_service import CustomMiddleware

*2. Add the Middleware package with your FastApi app inside main.py File, like this*
- app = FastAPI()
- app.add_middleware(CustomMiddleware)

*3. Add all api router in main.py file by using ,*
- app.include_router(add_api_router)


Note: If you want to use Middleware Package for the particular router of the FastApi, then use mount option inside main.py file and add middleware inside sub_main.py file in following way:

**Use Middleware Package for Paticular api endpoints.**

*1. Import Middleware Package in following way*
- import middleware_service
- from middleware_service import CustomMiddleware

*2. Add the Middleware package with your FastApi app inside main.py File if you wants to add for particular api routes, like this*
- app = FastAPI()
- middleware_object = CustomMiddleware
- middleware_object.add_router(router=add_api_router_name)
- app.add_middleware(middleware_object)

*3. Add all api router in main.py file by using ,*
- app.include_router(add_api_router)
pysmore 0.0.1
Python version of SMORe: Modularize Graph Embedding for Recommendation
License: MIT
Requires Python: >=3.9,<4.0

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square)](https://conventionalcommits.org)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Github Actions](https://github.com/josix/pysmore/actions/workflows/python-check.yaml/badge.svg)](https://github.com/josix/pysmore/wayback-machine-saver/actions/workflows/python-check.yaml)

[![PyPI Package latest release](https://img.shields.io/pypi/v/pysmore.svg?style=flat-square)](https://pypi.org/project/pysmore/)
[![PyPI Package download count (per month)](https://img.shields.io/pypi/dm/pysmore?style=flat-square)](https://pypi.org/project/pysmore/)
[![Supported versions](https://img.shields.io/pypi/pyversions/pysmore.svg?style=flat-square)](https://pypi.org/project/pysmore/)


# pysmore

Python version of SMORe: Modularize Graph Embedding for Recommendation

## Getting Started

### Prerequisites
* [Python](https://www.python.org/downloads/)

## Usage


## Contributing
See [Contributing](contributing.md)

## Authors
Josix Wang <josixwang@gmail.com>


Created from [Lee-W/cookiecutter-python-template](https://github.com/Lee-W/cookiecutter-python-template/tree/1.1.2) version 1.1.2