semvec/pypi-packages huggingface dataset:
flask-jwt-auth 0.0.10
This module contains a simple class to implement authentication and authorization in a Flask app using JSON Web Token (JWT)
License: MIT
Requires Python: >=3.6

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

# flask_jwt_auth
[Introduction](#Introduction)\
[Getting Started](#Started)\
[Example](#Example)\
[Contributors](#Contributors)\
[License](#License)
<h2 id="Introduction">Introduction</h2>
This module contains a simple class to implement authentication and authorization in a Flask app using JSON Web Token (JWT)
 
<h2 id="Started">Getting Started</h2>
In order to install, open the command prompt and type ✌️:

```
pip install flask_jwt_auth
```

In order to import:
```
from flask_jwt_auth import AuthFilters
```

<h3 id="Token">Token Validation using an SQL Database</h3>
This library supports using an SQL database for token validation. 
The basic idea is that you store all your tokens in DB, 
and flag the invalidated tokens (e.g. when a user logs out).  
To use this feature:
- Set the environment variable containing the DB connection string, called `JWT_SESSION_TOKEN_DB_URI`.
- Create a table in that DB, called `session_token`. It must have the following fields:
  - `access_token` : string
  - `refresh_token` : string
  - `is_invalid` : boolean

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

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

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

This library is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details.
fastapi-healthcheck-uri 0.1.0
A module to have a FastAPI HealthCheck reach out to a URI to validate external service health.
License: MIT
Requires Python: >=3.9,<4.0

# fastapi_healthcheck_uri

A module to have a FastAPI HealthCheck reach out to a URI to validate external service health.

## Adding Health Checks

Here is what you need to get started.

```python
from fastapi import FastAPI
from fastapi_healthcheck import HealthCheckFactory, healthCheckRoute
from fastapi_healthcheck_uri import HealthCheckUri

app = FastAPI()

# Add Health Checks
_healthChecks = HealthCheckFactory()
_healthChecks.add(
    HealthCheckUri(
        alias='reddit', 
        connectionUri="https://www.reddit.com/r/aww.json", 
        tags=('external', 'reddit', 'aww'),
        healthyCode=200,
        unhealthyCode=500
    )
)
app.add_api_route('/health', endpoint=healthCheckRoute(factory=_healthChecks))

```