semvec/pypi-packages huggingface dataset:
coffee-list-app 1.0.15
lists the types of coffee
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4

# app-version3
A simple django app to demonstarate my understanding of django


### Prerequisites

What things you need to install the software 
atomicwrites==1.3.0
attrs==19.1.0
certifi==2019.6.16
chardet==3.0.4
coverage==4.5.3
Django==2.2.2
entrypoints==0.3
flake8==3.7.7
gunicorn==19.9.0
idna==2.8
importlib-metadata==0.18
mccabe==0.6.1
meld3==1.0.2
more-itertools==7.1.0
packaging==19.0
pluggy==0.12.0
psycopg2==2.8.3
py==1.8.0
pycodestyle==2.5.0
pyflakes==2.1.1
pyparsing==2.4.0
pytest==5.0.0
pytest-cov==2.7.1
pytz==2019.1
requests==2.22.0
setproctitle==1.1.10
six==1.12.0
sqlparse==0.3.0
urllib3==1.25.3
wcwidth==0.1.7
zipp==0.5.1
django-prometheus==1.0.15

### Installing

A step by step series of examples that tell you how to get a development env running
install a virtual env
clone this project to your virtual
run docker 

## Running the tests
run tox
run coverage run --source='.' manage.py test
coverage report htm

## Deployment


## Built With


## Versioning
1.0.0
## Authors
cuttice odhiambo

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
fortimail 0.1.0
Fortimail Rest API Client
Requires Python: >=3.6

# Fortimail Rest API Client

This package is used to communicate with the fortimail rest api

## Install

    pip install fortimail

## Usage

    from fortimail.client import FortiMailClient

    client = FortiMailClient(
        baseurl='myfortimail.com',
        username='hello',
        password='world'
    )

    domains = client.get_domains()

## Developing

As per the [pytest best practices](https://docs.pytest.org/en/latest/goodpractices.html#test-discovery)

Create your environment

    python3.7 -m venv env
    pip install -r requirements/dev.txt
    # Install the package in editable mode
    pip install -e .

this is similar to running: `python setup.py develop`

## Run Tests

We use pytest, To run tests do: `pytest -s`

Soon to bring in tox - test automation - for different python versions
async-cached 3.11.2
Decorator to cache async function results

# Caching decorator for async functions

This is a replacement for `@cached()` decorator from `cachetools`. `cachetools` does not support async at the time of writing.


# Installation

```
    pip install async-cached
```


# Example

```
    from cachetools import LRUCache
    from asynccached import asynccached

    
    _cache = LRUCache(maxsize=1)


    @asynccached(cache=_cache, key=lambda arg: arg)
    async def func(arg):
        pass

```
flask-jwt-consumer 1.1.0
Flask JWT consumer with multi public key support
Keywords: jwt,jwt-consumer,jwt-validation,authentication,autherization,multi-issuer

[![CircleCI](https://circleci.com/gh/dmi3y/flask-jwt-consumer.svg?style=svg)](https://circleci.com/gh/dmi3y/flask-jwt-consumer) [![Maintainability](https://api.codeclimate.com/v1/badges/2012c48af0e1d47d7f3a/maintainability)](https://codeclimate.com/github/dmi3y/flask-jwt-consumer/maintainability)

## Flask JWT consumer

> Flask extension for JWT token validation

Based on [pyJWT](https://github.com/jpadilla/pyjwt). Supports multi public key validation in form of simplified `authorized_keys` format, with only keys, and comments, no options. Good for key rotations or when you need multi issuer support.

### Rational
Inspired by [Flask JWT Simple](https://github.com/vimalloc/flask-jwt-simple), nice package I was enjoying until the need for multi key support. So that's where many backward compatible settings came from.

### Configuration

- `JWT_ALGORITHM` default `RS256`, algorithm used to decode JWT. As current iteration only asymmetric algorithms are considered. So anything symmetric will likely fail.
- `JWT_HEADER_NAME` default `Authorization`, header where JWT expected to be.
- `JWT_HEADER_TYPE` default `Bearer`, type of the token, part of the header's value.
- `JWT_IDENTITY` optional, if provided JWT will use it.
- `JWT_AUTHORIZED_KEYS` new line separated list of OpenSSH formatted keys.
- `VERIFY_AUD` disable verification of `aud` during JWT decoding.

### Decorators

*@requires_jwt* - use on the flask endpoint that is desired to be protected, accepts additional parameter `pass_token_payload` which will add named parameter `token_payload` at the very end of the parameters accepted by decorated function.

```py
@requires_jwt
def get(search):
    # ...GET logic with search parameter

@requires_jwt(pass_token_payload=True)
def post(data, token_payload):
    # ...POST logic with data parameter and token payload
```