semvec/pypi-packages huggingface dataset:
openfv 0.3.6
computer vision packages in frequency domain
Requires Python: >=3.10

# OpenFV
A Python package for computer vision in Frequency Domain.

## Installation
You can install the package using pip:

## bash
pip install openfv

## Usage
- Demo videos: https://www.youtube.com/@sheekjegal/videos
- Here's a basic example of how to use the package:

import openfv as fv

# Load an image
image = cv2.imread('your_image.png')
image2 = cv2.imread('your_image2.png')

# Homomorphic filtering
filtered_image = fv.ww_homomorphic_filter(image, d0=30, rh=2.0, rl=0.5, c=2)

# Amplitude spectrum calculation
spectrum_image = fv.ww_amplitude_spectrum(image)

# Spectral residual saliency map generation
saliency_map = fv.ww_spectral_residual_saliency(image, size=64)

# phase congruency edge
edge_map = fv.ww_phase_congruency_edge(image,
    nscale=4, 
    norient=4,         
    minWaveLength=3,   
    mult=1.2,          
    sigmaOnf=0.9,     
    k=9.0,             
    cutOff=0.5,      
    g=9.0,          
    epsilon=0.01
)

# deblur restoration
restored_image = fv.ww_tikhonov_regularization(image, psf=3, lambda_value=0.01)

# phase only correlation
y, x, corr_ratio = fv.ww_phase_only_correlation(image, image2, window=True)

# band pass filtering
bpf_image = fv.ww_apply_bandpass_filter(image, low_freq, high_freq)

# spectral emboss filtering
image_path= "/Users/user_name/Desktop/filename.jpg"
_, _, _, filtered_image = fv.ww_emboss_filter_frequency_domain(image_path, direction="Vertical")

# phase discrepancy
phase_discrepancy_map = fv.ww_phase_discrepancy(image, image2) 

# fast Radon transform
sinogram = fv.ww_fast_radon_transform(image, num_angles=180)

## Input
- NumPy array representing an image
- Supports both 2D (grayscale) and 3D (RGB) arrays
- For functions requiring grayscale input (e.g., ww_homomorphic_filter), RGB images must be converted to grayscale.
- For functions supporting RGB input (e.g., ww_amplitude_spectrum), RGB images are processed directly.

## Output
- uint8 grayscale image (for most functions)
- Check specific function documentation for exceptions.

## Dependencies
- numpy (tested with 1.19.0 or later)
- scipy (tested with 1.15.1 or later)
- cv2 (tested with 4.11.0 or later)

## License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.

## Author
Wonwoo Park (bemore.one@gmail.com)

## Version History
- 0.3.6: fast radon transform added
- 0.3.5: phase discrepancy added
- 0.3.4: spectral emboss filter added
- 0.3.3: band pass filter added 
- 0.3.2: phase only correlation added
- 0.3.1: tikhonov_regularization added
- 0.3.0: phase congruency edge added
- 0.2.1: hann window function added in SRSM function
- 0.2.0: spectral residual saliency map added
- 0.1.9: amplitude spectrum added
- 0.1.5: homomorphic filter added
- 0.1.0: Initial release
stts75m2f 0.6
Pythona library for STTS75M2F temperature sensor
Requires Python: >=3.6

# STTS75M2F Python Library

This is a Python library for interfacing with the STTS75M2F temperature sensor using the I2C protocol. 
The library allows for easy reading of temperature data from the sensor.

## Features

- Read temperature data from the STTS75M2F sensor
- Simple and easy-to-use API

## Requirements

- Python 3.6 or higher
- smbus2 library

## Installation

You can install the library using pip:

```bash
pip install stts75m2f
```
msys2-wrapper 2025.3.5.1
start msys2 without bat
Requires Python: >=3.10

# msys2_wrapper

A Python wrapper for starting msys2 without bat

## Prereq

Has installed MSYS2 at disk root (e.g. `C:/msys64`), or `msys2.cmd` or `msys2_shell.cmd` can be found in PATH.

also supports scoop-installed msys2.

In case of multiple MSYS2 detected, it will launch the first found in `PATH`, and if not found, `C:/msys64` was checked, until `Z:/msys64`.

You can also create a file `C:/Users/[your user name]/.config/msys2_wrapper.ini` to override the default, with the following contents:
```ini
[default]
base = "D:/msys64"
```

## Usage

A console launcher:

```
msys2c /?
Usage:
    msys2c [options] [login shell parameters]

Options:
    -mingw32 | -mingw64 | -ucrt64 | -clang64 |
    -msys[2] | -clangarm64           Set shell type
    -defterm | -mintty | -conemu     Set terminal type
    -here                            Use current directory as working
                                     directory
    -where DIRECTORY                 Use specified DIRECTORY as working
                                     directory
    -[use-]full-path                 Use full current PATH variable
                                     instead of trimming to minimal
    -no-start                        Do not use "start" command and
                                     return login shell resulting
                                     errorcode as this batch file
                                     resulting errorcode
    -shell SHELL                     Set login shell
    -search PACKAGE                  search pacakge using web browser
    -help | --help | -? | /?         Display this help and exit

Any parameter that cannot be treated as valid option and all
following parameters are passed as login shell command parameters.
```

A GUI launcher `msys2w` was provided for launch with default `mintty` .

## Source code

<https://github.com/soda92/msys2_wrapper>

## License

APACHE
really-not-good 1.0.8
some student le really not good (by Dr Lo, my math teacher)
Requires Python: <4.0,>=3.8

# **some student le**
<h2>really not good</h2>
<p>-by Dr Lo (my math teacher)</p>

This is a library containing 1 single line
the line rewrites some module (mostly built-in functions) into some impractical fancy function designed to replace the original

To use it, simply do `from really_not_good import *`  and watch the magic happen

(its buggy I know, but only when you use it with random advance thingy like the original)

<br><br>

*KNOWN ISSUE:*
- input doesn't allow the prompt to include ANSI code
- non-tty terminal cannot enjoy the effect (errors)
- editing/moving/changing size of the terminal (I dont actually know how it happen or when, but it just do, I cant even recreate it on purpose it just happens randomly) mid-print/mid-input results in ANSI code leaking (somehow)

source code: <a href="https://github.com/TaokyleYT/some_student_le">github</a> <a href="https://pypi.org/project/some-student-le/">PyPI 1</a> <a href="https://pypi.org/project/really-not-good/">PyPI 2</a> 

***Development log:***<br>
*(every version not shown here is either not exist or deleted for various reasons)*
| version |    info    |   yanked    |
|---------|------------|-------------|
|0.0.0    | test version to see if the test platform works under 2 different versions of the project<br>also see if anything is wrong on PyPI|**YES**|
|0.0.1    | more testing on top of 0.0.0, some bug fixed|**YES**|
|1.0.1    | first release, featuring typewrite-like animated effect for `print` and `input` (cause I accidentally deleted 1.0.0 so its now 1.0.1)|**YES**|
|1.0.3    | fixed a typo on readme where it's telling you to import the wrong thing to use it|**YES**|
|1.0.4    | fixed a bug where PyPI 1 version cannot be used (since the 2 versions are released together, one went wrong and the other need to be updated too so...)<br>Also added the link to 2 versions to README.md|**YES**|
|1.0.6    | fixed the issue where you could delete words that are printed instead of inputted, which normally couldn't. Also fixed that you cant delete your input if it was too long it truncated to the next line.|**YES**|
|1.0.7    | fixed the print to file results in gribbish issue by not having the animation for non-stdout files.|**YES**|
|1.0.8    | fixed 1.0.7 which somehow is completely doomed because I forgot a "not" in a comparison.|**NO**|
some-student-le 1.0.8
really not good (by Dr Lo, my math teacher)
Requires Python: <4.0,>=3.8

# **some student le**
<h2>really not good</h2>
<p>-by Dr Lo (my math teacher)</p>

This is a library containing 1 single line
the line rewrites some module (mostly built-in functions) into some impractical fancy function designed to replace the original

To use it, simply do `from some_student_le.really_not_good import *`  and watch the magic happen

(its buggy I know, but only when you use it with random advance thingy like the original)

<br><br>

*KNOWN ISSUE:*
- input doesn't allow the prompt to include ANSI code
- non-tty terminal cannot enjoy the effect (errors)
- editing/moving/changing size of the terminal (I dont actually know how it happen or when, but it just do, I cant even recreate it on purpose it just happens randomly) mid-print/mid-input results in ANSI code leaking (somehow)

source code: <a href="https://github.com/TaokyleYT/some_student_le">github</a> <a href="https://pypi.org/project/some-student-le/">PyPI 1</a> <a href="https://pypi.org/project/really-not-good/">PyPI 2</a> 

***Development log:***<br>
*(every version not shown here is either not exist or deleted for various reasons)*
| version |    info    |   yanked    |
|---------|------------|-------------|
|0.0.0    | test version to see if the test platform works under 2 different versions of the project<br>also see if anything is wrong on PyPI|**YES**|
|0.0.1    | more testing on top of 0.0.0, some bug fixed|**YES**|
|1.0.1    | first release, featuring typewrite-like animated effect for `print` and `input` (cause I accidentally deleted 1.0.0 so its now 1.0.1)|**YES**|
|1.0.3    | fixed a typo on readme where it's telling you to import the wrong thing to use it|**YES**|
|1.0.4    | fixed a bug where PyPI 1 version cannot be used (since the 2 versions are released together, one went wrong and the other need to be updated too so...)<br>Also added the link to 2 versions to README.md|**YES**|
|1.0.6    | fixed the issue where you could delete words that are printed instead of inputted, which normally couldn't. Also fixed that you cant delete your input if it was too long it truncated to the next line.|**YES**|
|1.0.7    | fixed the print to file results in gribbish issue by not having the animation for non-stdout files.|**YES**|
|1.0.8    | fixed 1.0.7 which somehow is completely doomed because I forgot a "not" in a comparison.|**NO**|
arcana-codex 0.2.0
Python SDK for Arcana
Requires Python: >=3.10

# Codex: Python SDK for Arcana

The Arcana Codex Python library provides convenient access to the Arcana Gateway Ad Service from any Python 3.10+ applications. The library includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).

## Installation

```sh
# install from PyPI
pip install arcana-codex
```

## Usage

```python
import os
from arcana_codex import ArcanaCodexClient, AdUnitsFetchModel, AdUnitsIntegrateModel

client = ArcanaCodexClient(
    api_key=os.environ.get("ARCANA_CODEX_API_KEY"),
)

fetch_payload = AdUnitsFetchModel(query="How can I write blogs for my website?")
fetch_result = client.fetch_ad_units(fetch_payload)

ad_unit_ids = [ad_unit["id"] for ad_unit in fetch_result["response_data"]]


integrate_payload = AdUnitsIntegrateModel(
    ad_unit_ids=ad_unit_ids, base_content="insert the llm response generated from your application as the base content"
)
integration_result = client.fetch_ad_units(integrate_payload)

print(integration_result)
```

While you can provide an `api_key` keyword argument, we recommend using [python-dotenv](https://pypi.org/project/python-dotenv/) (or something similar) to add `ARCANA_CODEX_API_KEY="My Arc API Key"` to your `.env` file so that your API Key is not stored in source control.