semvec/pypi-packages huggingface dataset:
tenantpy 1.0.5
Tenant Management For Web Application
Requires Python: >=3.7.0

Tenant Management For Web Application
====
* Database Tenant Isolation
* Cache Tenant Isolation
* Customize Addons Tenant Meta Data Inject

e.g:
```
import flask
from flask import Flask
import json
import peewee

from tenantpy.contrib import flask as flask_tenc

app = Flask(__name__)

class User(flask_tenc.BaseModel):
    englishName = peewee.CharField()
    email = peewee.CharField()


class ConfigManager(flask_tenc.ConfigManager):

    def get_config(self, key: flask_tenc.ConfigKeys):
        # get config by any
        

@app.route("/random")
def random_pet():
    """A cute furry animal endpoint.
    ---
    get:
      description: Get a random pet
      security:
        - ApiKeyAuth: []
      responses:
        200:
          description: Return a pet
          content:
            application/json:
              schema: PetSchema
    """
    # Hardcoded example data
    flask.g.database.begin()
    ins = User.get()
    flask.g.database.rollback()
    pet_data = {
        "name": ins.englishName,
    }
    return flask.Response(json.dumps(pet_data), content_type="application/json")


flask_tenc.init_app(app, ConfigManager())
app.run()

```
fastapi-plus 0.1.4.20201125
This is a Python FastAPI project engineering library that includes tools and basic service classes.
Requires Python: >=3.6

#Fastapi Plus
这是一个Python FastAPI项目工程库，包含DB、Redis、MongoDB、JSON等工具和基础服务类。

[Github: Fastapi Plus](https://github.com/zhenqiang-sun/fastapi_plus/)

### 组件：
- FastAPI: https://fastapi.tiangolo.com/
- uvicorn: https://www.uvicorn.org/
- SQLAlchemy: https://www.sqlalchemy.org/
- PyMySQL: https://pymysql.readthedocs.io/
- REDIS: https://github.com/andymccurdy/redis-py