semvec/pypi-packages huggingface dataset:
pypfm 1.4.4
Python pfm files reader
License: MIT

Pypfm
=====

Python pfm files reader. Fast and python3 compatible, with compression
included

Install

::

    pip install pypfm

If you know the size upfront, specify it:

.. code:: python

    from pypfm import PFMLoader
    loader = PFMLoader((width, height), color=False, compress=False)

Otherwise it will find it by itself (slower):

.. code:: python

    from pypfm import PFMLoader
    loader = PFMLoader(color=False, compress=False)

Read a pfm file

.. code:: python

    pfm = loader.load_pfm('test.pfm')

Save a pfm file:

.. code:: python

    loader.save_pfm('test.pfm', pfm)

Using zfp compression:

.. code:: python

    from pypfm import PFMLoader
    loader = PFMLoader(color=False, compress=True)
    pfm = loader.load_pfm('test.pfm')
    loader.save_pfm('test.pfm', pfm)
Flask-AWSCognito 1.3
Authenticate users with AWS Cognito
License: MIT
Requires Python: >=3.6

[![Build Status](https://travis-ci.org/cgauge/Flask-AWSCognito.svg?branch=master)](https://travis-ci.org/cgauge/Flask-AWSCognito)
[![Documentation Status](https://readthedocs.org/projects/flask-awscognito/badge/?version=latest)](https://flask-awscognito.readthedocs.io/en/latest/?badge=latest)

# AWS Cognito for authentication in Flask

Documentation https://flask-awscognito.readthedocs.io

## Example App
```python
from flask import Flask, redirect, request, jsonify
from flask_awscognito import AWSCognitoAuthentication
app = Flask(__name__)

app.config['AWS_DEFAULT_REGION'] = 'eu-west-1'
app.config['AWS_COGNITO_DOMAIN'] = 'domain.com'
app.config['AWS_COGNITO_USER_POOL_ID'] = 'eu-west-1_XXX'
app.config['AWS_COGNITO_USER_POOL_CLIENT_ID'] = 'YYY'
app.config['AWS_COGNITO_USER_POOL_CLIENT_SECRET'] = 'ZZZZ'
app.config['AWS_COGNITO_REDIRECT_URL'] = 'http://localhost:5000/aws_cognito_redirect'


aws_auth = AWSCognitoAuthentication(app)


@app.route('/')
@aws_auth.authentication_required
def index():
    claims = aws_auth.claims # also available through g.cognito_claims
    return jsonify({'claims': claims})


@app.route('/aws_cognito_redirect')
def aws_cognito_redirect():
    access_token = aws_auth.get_access_token(request.args)
    return jsonify({'access_token': access_token})


@app.route('/sign_in')
def sign_in():
    return redirect(aws_auth.get_sign_in_url())


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

```
wrktools-xlsx 0.0.5
XLSX spreadsheet reports for wrktoolbox.
License: MIT
Keywords: wrk runner benchmarks load performance tests xlsx results

[![Build status](https://robertoprevato.visualstudio.com/wrktoolbox/_apis/build/status/wrktoolbox-xlsx-CI)](https://robertoprevato.visualstudio.com/wrktoolbox/_build/latest?definitionId=20) [![pypi](https://img.shields.io/pypi/v/wrktools-xlsx.svg?color=blue)](https://pypi.org/project/wrktools-xlsx/) [![Test coverage](https://img.shields.io/azure-devops/coverage/robertoprevato/wrktoolbox/20.svg)](https://robertoprevato.visualstudio.com/wrktoolbox/_build?definitionId=20)

# wrktoolbox-xlsx
XLSX spreadsheet reports for [wrktoolbox](https://github.com/RobertoPrevato/wrktoolbox).

```bash
pip install wrktools-xlsx
```

## Example configuration

**YAML**
```yaml
# importers read benchmarks results
importers:
  - type: json
    root_folder: data/results

# reports generation supports plugins, like benchmarks logic
plugins:
  - wrktoolboxxlsx.xlsx

# writers write reports
writers:
  - type: xlsx
    file_name: example.xlsx

```

**JSON**
```yaml
{
  "importers": [
    {
      type: "json",
      root_folder: "data/results"
    }
  ],

  "plugins": ["wrktoolboxxlsx.xlsx"],

  "writers": [
    {
      type: "xlsx",
      file_name: "example.xlsx"
    }
  ],
}

```

## Usage
```bash
wrktoolbox reports --settings configuration.yaml
```