semvec/pypi-packages huggingface dataset:
zlibsanitizer 1.2
A Python library to sanitize text by removing unwanted labels like (Z-Library)
License: MIT
Requires Python: <4.0,>=3.6
Keywords: sanitize, file, name, normalization, Z-Library

# zlibsanitizer

**zlibsanitizer** is a Python library designed to sanitize text by removing unwanted labels like `(Z-Library)`, `_Z_Library`, or other similar patterns. It is useful for cleaning file names or other strings to make them more readable.

## Installation

You can install the library using `poetry`:

```bash
poetry add zlibsanitizer
open-copilot-cli 0.1.3
Your customizable assistant in your CLI
License: MIT
Requires Python: <4.0,>=3.10

# open-copilot-cli

[![Continuous Integration](https://github.com/youzarsiph/open-copilot-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/youzarsiph/open-copilot-cli/actions/workflows/ci.yml)
[![Continuous Deployment](https://github.com/youzarsiph/open-copilot-cli/actions/workflows/cd.yml/badge.svg)](https://github.com/youzarsiph/open-copilot-cli/actions/workflows/cd.yml)
[![Black](https://github.com/youzarsiph/open-copilot-cli/actions/workflows/black.yml/badge.svg)](https://github.com/youzarsiph/open-copilot-cli/actions/workflows/black.yml)
[![Ruff](https://github.com/youzarsiph/open-copilot-cli/actions/workflows/ruff.yml/badge.svg)](https://github.com/youzarsiph/open-copilot-cli/actions/workflows/ruff.yml)

Open Copilot, your AI assistant in your terminal.

## Getting Started

To begin, install the package:

```bash
pip install open-copilot-cli
```

Export your `HF_TOKEN` as an environment variable, you can get your token from [HuggingFace](https://huggingface.co/settings/tokens):

Bash:

```bash
export HF_TOKEN=hf_**********************************
```

Powershell:

```powershell
$env:HF_TOKEN = "hf_**********************************"
```

You are now ready to utilize the application.

## Usage

To view the help options, run:

```bash
open-copilot --help
```

### Ask questions

You can ask questions using natural language:

```bash
open-copilot ai 'list all files in the current directory'
```

### Chat

Engage in a chat with OpenCopilot:

```bash
open-copilot chat --

# Export chat history
open-copilot chat -e chat-history.json

# Import chat history
open-copilot chat -h chat-history.json

# Import chat history and then export it after the session
open-copilot chat -h chat-history.json -e chat-history.json
```

### Custom Large Language Models (LLMs)

Utilize custom LLMs:

```bash
open-copilot chat -m 'mistralai/Mistral-Nemo-Instruct-2407'
```

## License

This project is licensed under the MIT License.
fingerprint-enhancer 0.0.14
enhance fingerprint images
License: MIT
Keywords: Fingerprint Image Enhancement

# Fingerprint-Enhancement-Python

Uses oriented gabor filter bank to enhance the fingerprint image. The orientation of the gabor filters is decided by the orientation of ridges in the input image. 

## Installation and Running the tests

### method 1 - use the library
  ```
  pip install fingerprint_enhancer
  ```
  
  **Usage:**
  ```
  import fingerprint_enhancer								# Load the library
  import cv2
  
  img = cv2.imread('image_path', 0)						# read input image
  out = fingerprint_enhancer.enhance_fingerprint(img)		# enhance the fingerprint image
  cv2.imshow('enhanced_image', out);						# display the result
  cv2.waitKey(0)											# hold the display window
  ```
  - Alternatively, the script "src/example.py" can be used to run the example for this library.

### method 2 - use the source codes
1) go into the src folder
- if on "develop" branch, run the file "example.py"
- if on "master" branch, run the file file "main_enhancement.py" 

2) The sample images are stored in the "images" folder

3) The enhanced image will be stored in the "enhanced" folder

## Linter check:
run the command `python devtool.py run` to run linter checks.

## important note:
The Develop Branch is what is up to date. Other branches might not be up to date.


## Results
![temp](https://cloud.githubusercontent.com/assets/13918778/25770604/637b3f38-31ee-11e7-818f-1f8359c96e07.jpg)

## Theory
- We use oriented gabor filters to enhance a fingerprint image. The orientation of the gabor filters are based on the orientation of the ridges. the shape of the gabor filter is based on the frequency and wavelength of the ridges.

## License
- This project is licensed under the BSD 2 License - see the LICENSE.md file for details

## Acknowledgements
- This program is based on the paper: Hong, L., Wan, Y., and Jain, A. K. 'Fingerprint image enhancement: Algorithm and performance evaluation'. IEEE Transactions on Pattern Analysis and Machine Intelligence 20, 8 (1998), pp 777-789.

- The author would like to thank Dr. Peter Kovesi (This code is a python implementation of his work)