semvec/pypi-packages huggingface dataset:
flask-requests-logging 1.1
Log all your Flask requests with severity depending on the result code
Requires Python: !=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*
Keywords: flask, logging, web

# flask-requests-logging
[![Build Status](https://travis-ci.com/smok-serwis/flask-requests-logging.svg)](https://travis-ci.com/smok-serwis/flask-requests-logging)
[![Test Coverage](https://api.codeclimate.com/v1/badges/dc7467fe51588e461e87/test_coverage)](https://codeclimate.com/github/smok-serwis/flask-requests-logging/test_coverage)
[![Code Climate](https://codeclimate.com/github/smok-serwis/flask-requests-logging/badges/gpa.svg)](https://codeclimate.com/github/smok-serwis/flask-requests-logging)
[![Issue Count](https://codeclimate.com/github/smok-serwis/flask-requests-logging/badges/issue_count.svg)](https://codeclimate.com/github/smok-serwis/flask-requests-logging)
[![PyPI](https://img.shields.io/pypi/pyversions/flask-requests-logging.svg)](https://pypi.python.org/pypi/flask-requests-logging)
[![PyPI version](https://badge.fury.io/py/flask-requests-logging.svg)](https://badge.fury.io/py/flask-requests-logging)
[![PyPI](https://img.shields.io/pypi/implementation/flask-requests-logging.svg)](https://pypi.python.org/pypi/flask-requests-logging)
[![License](https://img.shields.io/pypi/l/flask-requests-logging)](https://github.com/Dronehub/flask-requests-logging)

Log all Flask requests with varying levels depending on the severity of the result

## Installation

```bash
pip install flask-requests-logging
```

Or to install latest master version:

```bash
pip install git+https://github.com/smok-serwis/flask-requests-logging.git
```

## Usage

```python
import flask
import logging
from flask_requests_logging import FlaskRequestsLogging

app = flask.Flask(__name__)
FlaskRequestsLogging(app)
```

Go read the [if you're interested in the details](flask_requests_logging/__init__.py).

Enjoy!

## Changelog

### v1.0

* breaking change in API
* streaming requests will be calculated correctly now
* logger will configure itself automatically to render even the lowest levels

### v0.5

* logger will now log path instead of the match 

### v0.4

* added support for logging exception tracebacks

### v0.3

* added measuring how long given request has taken

### v0.2

* added pass_as_extras parameter

### v0.1

* first release, wow!
AIO-CodeCheck 0.5
A simple Python code evaluation tool.
Requires Python: >=3.6


# Python Code Evaluation Tool

A lightweight Python-based tool designed to evaluate the quality of Python scripts based on correctness, coding style, and syntax validity. 

## Features
- **Test Case Execution:** Automatically runs predefined test cases and checks for correctness.
- **Style Evaluation:** Analyzes variable naming conventions and line lengths to ensure compliance with Python style guidelines (PEP-8).
- **Syntax Checking:** Ensures the provided code is syntactically correct.
- **Score Calculation:** Provides a detailed report with scores for correctness, style, and syntax, along with a final evaluation.
- **Feedback Output:** Generates a comprehensive evaluation report as a `.txt` file.

## Installation

1. **Clone the Repository**
   ```bash
   git clone <repository-url>
   cd python-code-evaluation-tool
   ```

2. **Install Requirements** (if applicable)
   No external libraries are required; the tool uses Python's built-in modules.

## Usage

Run the tool from the command line using the following syntax:

```bash
python evaluator.py -f <path-to-your-script> [-o <output-feedback-path>]
```

### Arguments
- `-f, --file`: **(Required)** Path to the Python file to evaluate.
- `-o, --output`: **(Optional)** Path to save the evaluation report as a `.txt` file.

### Example
```bash
python evaluator.py -f sample_script.py -o feedback.txt
```

## Scoring
The final evaluation score is computed using the following weights:
- **Correctness:** 70%
- **Style:** 20%
- **Syntax:** 10%

A score of **90% or higher** results in code approval.

## Output
The tool provides a summary in the terminal and optionally saves a detailed `.txt` report. The report includes:
- Correctness, style, and syntax scores.
- A list of style issues (if any).
- Final evaluation status (ACCEPTED/REJECTED).

## Sample Output

### Terminal Output:
```
Evaluating your code...
...

Summary:
Correctness: 100%
Style: 80%
Syntax: 100%
Final Score: 94%
Result: Your code passed the evaluation âœ…
```

### Feedback Report:
```text
========================================
Code Evaluation Report
========================================

Scores:
- Correctness: 100%
- Style: 80%
- Syntax: 100%
- Final Score: 94%

Evaluation Summary:
Your code is ACCEPTED âœ…

Style Issues:
  - Variable 'TestVariable' is not in snake_case.
  - Line 12 exceeds 79 characters.

========================================
Detailed Feedback:
- Variable 'TestVariable' is not in snake_case.
- Line 12 exceeds 79 characters.
```

## Contributing
Feel free to open issues or submit pull requests for additional features or improvements.

## License
This project is licensed under the MIT License. See the `LICENSE` file for details.
hslSixColor 0.1.5
A package for image processing with HSL color adjustment and error diffusion dithering
Requires Python: >=3.7

# HSL Six Color Image Processor

## Overview
`hslSixColor` is a Python package for image processing that applies HSL color adjustment and error diffusion dithering to images.

## Features
- Adjust image saturation using HSL color space
- Apply error diffusion dithering with a six-color palette
- Batch process images in a folder

## Installation
```bash
pip install hslSixColor
```

## Usage
```python
from hslSixColor import process_folder

# Process all images in a folder
process_folder('/path/to/input/folder', '/path/to/output/folder', saturation_factor=0.6)

# Or use the more flexible HSLSixColorProcessor class
from hslSixColor import HSLSixColorProcessor

processor = HSLSixColorProcessor()
processor.process_images('/path/to/input/folder', '/path/to/output/folder')
```

## Parameters
- `input_folder`: Path to the folder containing input images
- `output_folder`: Path to save processed images
- `saturation_factor`: Control the saturation adjustment (default: 0.8)

## Requirements
- Python 3.7+
- NumPy
- Pillow

## License
[Specify your license here]