semvec/pypi-packages huggingface dataset:
auto-sql-gen 0.1.0
A package that generates and optimizes SQL queries.
Requires Python: >=3.6

# auto_sql_gen: Query Generator and Optimizer

auto_sql_gen is a Python package that generates optimized SQL queries based on user input data.

## Features
- Automatically generate SQL queries.

## Installation
pip install auto_sql_gen

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
cognito-token-validator 0.1.3
A package for validating AWS Cognito tokens and using them as decorators in Flask routes or standalone Python functions
Requires Python: >=3.9

# Token Validator

A Python package for validating AWS Cognito tokens and using them as decorators.
You can use this package with Flask or any other Python framework.

## Installation

```bash
pip install cognito-token-validator
```
# Usage
### Initialization
First, initialize the TokenValidator with the necessary parameters:

* region: The AWS region where your Cognito user pool is located.
* user_pool_id: The ID of your Cognito user pool.
* client_id: The client ID of your Cognito application.
* get_auth_header: A function that retrieves the token from the request context.
* whitelisted_emails (optional): A List of string containing the whitelist of emails. if the list is empty, all emails are allowed. If the list is not empty, only the emails in the list are allowed.
* cache_max_size (optional): The maximum number of tokens to cache. Default is 10.
* ttl (optional): The time-to-live for cached tokens in seconds. Default is 3600.
        

```python
from cognito_token_validator import TokenValidator

# Initialize the TokenValidator
token_validator = TokenValidator(
    region='us-east-1',
    user_pool_id='your_user_pool_id',
    client_id='your_client_id',
    get_auth_header=lambda: request.headers.get('Authorization'),
    whitelisted_emails=['example@example.com']
)
```

### Using with Flask
To use the TokenValidator in a Flask app, apply the token_required decorator to your routes:

```python
from flask import Flask, request, jsonify

app = Flask(__name__)

@app.route('/protected')
@token_validator.token_required
def protected():
    return 'This is a protected route'

if __name__ == '__main__':
    app.run(debug=True)
```

# License
This project is licensed under the MIT License - see the LICENSE file for details.
annot-attrs 0.1.4
MOVED INTO CLASSES_AUX
Requires Python: >=3.6

![Ver/TestedPython](https://img.shields.io/pypi/pyversions/annot_attrs)
![Ver/Os](https://img.shields.io/badge/os_development-Windows-blue)  
![repo/Created](https://img.shields.io/github/created-at/centroid457/annot_attrs)
![Commit/Last](https://img.shields.io/github/last-commit/centroid457/annot_attrs)
![Tests/GitHubWorkflowStatus](https://github.com/centroid457/annot_attrs/actions/workflows/test_linux.yml/badge.svg)
![Tests/GitHubWorkflowStatus](https://github.com/centroid457/annot_attrs/actions/workflows/test_windows.yml/badge.svg)  
![repo/Size](https://img.shields.io/github/repo-size/centroid457/annot_attrs)
![Commit/Count/t](https://img.shields.io/github/commit-activity/t/centroid457/annot_attrs)
![Commit/Count/y](https://img.shields.io/github/commit-activity/y/centroid457/annot_attrs)
![Commit/Count/m](https://img.shields.io/github/commit-activity/m/centroid457/annot_attrs)

# annot_attrs (current v0.1.4/![Ver/Pypi Latest](https://img.shields.io/pypi/v/annot_attrs?label=pypi%20latest))

## DESCRIPTION_SHORT
MOVED INTO CLASSES_AUX

## DESCRIPTION_LONG



## Features


********************************************************************************
## License
See the [LICENSE](LICENSE) file for license rights and limitations (MIT).


## Release history
See the [HISTORY.md](HISTORY.md) file for release history.


## Installation
```commandline
pip install annot-attrs
```


## Import
```python
from annot_attrs import *
```


********************************************************************************
## USAGE EXAMPLES
See tests, sourcecode and docstrings for other examples.  

------------------------------
### 1. example1.py
```python

```

********************************************************************************