semvec/pypi-packages huggingface dataset:
nflfast-py-ffdatapros 0.0.1
A Python package for loading NFL play by play data from nflfastR
License: MIT
Requires Python: >=3.6

# nflfast_py

This is a Python package for easily loading nflfastR play by play data.

# Installing nflfast_py

nflfast_py is available on PyPI 

    $pip install nflfast_py

nflfast_py supports Python 3.6+

# Loading Play by Play Data

    import nflfast_py

    df = nflfast_py.load_pbp_data(year=2020)
pycrypt-cli 0.5
Cryption tool
License: MIT

# PyCrypt

[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)
[![PyPI version shields.io](https://img.shields.io/pypi/v/ansicolortags.svg)](https://pypi.org/project/pycrypt-cli/)
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)

PyCrypt is a Command-Line Interface (CLI) program, for encryption and decryption using various techniques. PyCrypt takes in an input file, then encrypts/decrypts and stores the result into the output file, provided by the user.

### Pycrypt commands:
- `all`: Returns a list of all available techniques for cryption
- `category`: Returns a list of techniques under a category given by the user
- `encrypt`: Encrypts the content of the `input` file, stores them in `output` file
- `decrypt`: Decrypts the content of the `input` file, stores them in `output` file

### `Encrypt` command

The `encrypt` command takes 4 parameters:
- `-t` or `--technique`: Technique to be used for encryption
- `-i` or `--input_file`: The file whose contents have to be encrypted
- `-o` or `--output_file`: The file in which the encrypted data has to be saved
- `k` or `--key`: Key that is used in the encrypting technique (if any)

> Example

```shell
pycrypt encrypt --technique caesercipher --input_file input.txt --output_file output.txt --key 7
```

### `Decrypt` command

The `decrypt` command takes 4 parameters:
- `-t` or `--technique`: Technique to be used for decryption
- `-i` or `--input_file`: The file whose contents have to be decrypted
- `-o` or `--output_file`: The file in which the decrypted data has to be saved
- `k` or `--key`: Key that is used in the decrypting technique (if any)

> Example

```shell
pycrypt decrypt --technique caesercipher --input_file input.txt --output_file output.txt --key 7
```

### License
MIT License
faust-prometheus-monitor 0.1.4
prometheus monitor for faust
License: MIT
Requires Python: >=3.6,<4.0
Keywords: faust,prometheus,logging,monitoring

# Faust Prometheus Monitor
Prometheus Monitor for Faust applications

## Usage

```python
import faust
from faust_prometheus_monitor import expose_metrics_http_response, PrometheusMonitor

APP_NAME = "app"
app = faust.App(APP_NAME, monitor=PrometheusMonitor(APP_NAME))

@app.page("/metrics")
async def expose_metrics(self, request):
    return expose_metrics_http_response(request)
```

## Metrics collected
| Metric | Type | Labels | Description |
| --- | --- | --- | --- |
| faust_message_in | Counter | app, topic, partition | Message received by consumer |
| faust_message_out | Counter | app, topic, partition | All streams finished processing message |
| faust_stream_event_in | Counter | app, topic, stream | Message sent to a stream as an event |
| faust_stream_event_out | Counter | app, topic, stream | Event was acknowledged by stream |
| faust_stream_event_latency | Histogram | app, topic, stream | How long the event took to process
| faust_topic_buffer_full | Counter | app, topic | Topic buffer full so conductor had to wait |
| faust_table_operations | Counter | app, table, operation | Operations of faust tables (get, set, delete) |
| faust_commit_latency | Histogram | app | Latency of consumer committing topic offset |
| faust_send_initialized | Counter | app, topic | About to send a message |
| faust_send_handled | Counter | app, status | Total number of messages sent regardless of success or failure |
| faust_send_latency | Histogram | app | Latency of sending messages |
| faust_topic_commit | Gauge | app, topic, partition | Gauge for what offset in topic partition is committed |
| faust_topic_end_offset | Gauge | app, topic, partition | Track new topic partition end offset for monitoring lags |
| faust_topic_read_offset | Gauge | app, topic, partition | topic partition read offset that consumer is on |
| faust_assignment_latency | Histogram | app, status | Partition assignor completion latency regardless success or error |
| faust_rebalance_time | Histogram | app, status | Cluster rebalance latency |
| faust_rebalance_status | Gauge | app | Cluster rebalance status. 0: rebalance fully completed (including recovery); 1: rebalance started; 2: Consumer replied assignment is done to broker |
| faust_web_request_status_codes | Counter | app, status_code | Status code counters on faust web views |
| faust_web_request_latency | Histogram | app | Request latency on faust web views |