semvec/pypi-packages huggingface dataset:
py-auth-header-parser 1.0.2
Small and simple Python library to parse JWT tokens embedded in http auth. headers.
Requires Python: >=3.5

Python Auth. Header Parser
==========================
A small and simple library to parse JWT tokens embedded in Authorization or Authentication HTTP headers.

_Note: This library does not decode the JWT token. It simply extracts the JWT token string from the header string._  


## Usage

```
from py_auth_header_parser import parse_auth_header

header = "Authorization: Bearer AAA, Refresh BBB"
parsed = parse_auth_header(header)

# 'parsed' will then contain:
{
  "access_token": "AAA",
  "refresh_token": "BBB",
}
```

`parse_auth_header()` will always return a dict with two keys: `access_token` and `refresh_token`.  
When a refresh token is no present in the header, the `refresh_token` key will be `None`.
redkyn-grader 0.1.1
A grading framework for evaluating programming assignments
Requires Python: >=3.4

<img src="docs/grader.png" alt="Grader"/>

[![PyPi](https://badge.fury.io/py/redkyn-grader.svg)](https://badge.fury.io/py/redkyn-grader)
[![Build Status](https://travis-ci.org/redkyn/grader.svg?branch=master)](https://travis-ci.org/redkyn/grader)

This program uses Docker and Python to easily grade many assignments in an encapsulated, safe manner. The general process starts by creating an image for a class or an assignment. That image can be given a payload, a protected grading script, which has a grading hooks. The grade module, when ran, creates an individual container for each student's assignment and runs a payload hook. The payload then returns a JSON response with stdin, stdout, and additional response information depending on the image ran.

Getting Started
---------------

See [the tutorial](TUTORIAL.md) for an idea of how to get started using `grader`.

Setup
-----

This project is setup using [buildout](http://www.buildout.org/en/latest/). It's super easy to get `grader` up and running:

You'll probably need the following libraries...

- build-essential
- libncurses-dev
- python3-dev

And, of course, you'll want Docker if you plan to do anything interesting at all. Grader requires docker with **API version >= 1.20**. We use `put_archive` (`PUT /containers/(id)/archive`) from docker-py.

```shell
# Bootstrap buildout
python3 bin/bootstrap-buildout.py

# Setup your development environment with buildout
bin/buildout
```

Now you're done! When it sets up your environment, buildout creates a couple of executables and places them in `bin/` for you. They are:

- **buildout** : That's buildout. Run it whenever you add eggs to `grader/setup.py` or modify `buildout.cfg`
- **grader** : That's `grader`!
- **python** : "What? Another Python!?" Yeah... This is an ipython interpreter. It's handy because it has access to all the same packages that were installed for `grader`.

Check your style
----------------

It's important to keep our code looking consistent. There's a tool installed by buildout called `flake8` that will check your Python source for issues in style. Simply run it like this:

```shell
  # Make sure you run this in your grader directory. flake8 will recursively check source files for style issues.
  bin/flake8 grader/
```
wordsearchutils 1.0.1
A library to solve word searches.
Requires Python: >=3.6

# wordsearchutils
A utility package to help with word search solving applications.

This module arose because I wanted to make a program to solve word searches, and needed custom classes in order to do it. I thought I would make my effort available to the general public. Enjoy!

© David Bootle 2019

Protected under CC Attribution 4.0 International