semvec/pypi-packages huggingface dataset:
image-finder 0.0.1
Image-finder is an OpenCV-based Python3 package that locates image and extracts text in a range.
Requires Python: >=3.9

# Image Finder

**Image Finder** is a Python package that leverages the power of OpenCV to locate image and extract text within a range. 

It provides a simple and efficient way to perform image processing tasks such as template matching and text extraction.

## Features

- **Image Matching**: Image Finder can locate a template image within a image using OpenCV template matching techniques.

- **Text Extraction**: Image Finder can extract text within a specified rectangle in an image.

- **Drawing on Images**: Image Finder provides functions to draw points and rectangles on images.

## Usage

Here is a basic example of how to use Image Finder:

```python
from image_finder import ImageFinder


def main():
    # Load an image from a file
    with open('sample_images/pytho_cat.png', 'rb') as f:
        image = f.read()
    finder = ImageFinder(image=image)

    # Load a template image from a file
    with open('sample_images/template.png', 'rb') as f:
        template = f.read()

    # Find the template in the image
    image_coop = finder.find_image_in_screen(template=template, threshold=0.7)
    print(image_coop)

    # Draw a point at the center of the match
    return_image = finder.draw_point(x=image_coop['center_x'], y=image_coop['center_y'], color=(0, 255, 0),
                                     thickness=-1, radius=10)
    with open('sample_images/return_draw_point_image.png', 'wb') as f:
        f.write(return_image)

    # Extract text within a rectangle in an image
    texts = finder.find_text_in_rectangle(top_left_x=0, top_left_y=0, bottom_right_x=896, bottom_right_y=896,
                                          lang=['en'])
    print(texts)

    # Draw a rectangle on an image
    return_image = finder.draw_rectangle(top_left_x=10, top_left_y=10, bottom_right_x=800, bottom_right_y=800,
                                         color=(255, 0, 0), thickness=2)
    with open('sample_images/return_draw_rectangle_image.png', 'wb') as f:
        f.write(return_image)


if __name__ == '__main__':
    main()
```

## Installation

```bash
pip install image-finder
```

## Contributing

Contributions to Image Finder are welcome. Please open an issue or submit a pull request on GitHub.

## License

Image Finder is released under the Apache License.
vibraniumdome-sdk 0.6.0
vibraniumdome-sdk
Requires Python: <4.0,>=3.9

# vibraniumdome-sdk

## Overview

Client SDK to send LLM interactions to the [Vibranium Dome System](https://github.com/genia-dev/vibraniumdome).
Supports both the deprecated version of OpenAI Python SDK 0.28.1, and the new version 1.*

## Getting Started 

### Install the PiPY package

https://pypi.org/project/vibraniumdome-sdk/

```
pip3 install vibraniumdome-sdk
```

### Run sample
To start trace your OpenAI, you need to define `VIBRANIUM_DOME_BASE_URL` environment variable to point Vibranium Dome service, and to set `VIBRANIUM_DOME_API_KEY` from [Vibranium Dome System](https://github.com/genia-dev/vibraniumdome); Run it locally via the basic installation:

```
export VIBRANIUM_DOME_BASE_URL=http://localhost:5001
export VIBRANIUM_DOME_API_KEY=vibranium...
```

Code sample:
```python
import os
from openai import OpenAI

from vibraniumdome_sdk import VibraniumDome

VibraniumDome.init(app_name="vibraniumdome_sdk_openai_test_app")

client = OpenAI(api_key=os.environ["OPENAI_API_KEY"])
completion = client.chat.completions.create(
    model="gpt-3.5-turbo",
    messages=[{"role": "user", "content": "Tell me a joke about opentelemetry"}],
    user="user-123456",
    extra_headers={"x-session-id": "abcd-1234-cdef"},
)

print(completion.choices[0].message.content)
```


For more details please see [documentation here](https://docs.vibraniumdome.com/quickstart)

## Contributing

We would appreciate your contributions! 🙌🌟💖
👩‍💻➕👨‍💻 Fork repository, make your changes, and submit a pull request!
More details can be found [here](./CONTRIBUTING.md).

## License

MIT License.

See [LICENSE](./LICENSE) to see the full text.

## Contact

Got an idea to improve our project? We'd love to hear it and collaborate with you. Don't hesitate to reach out to us! Just open an [issue](https://github.com/genia-dev/vibraniumdome-sdk/issues) and we will respond to you 🦸‍♀️🦸‍♂️ !
You can see details [here](./.github/ISSUE_TEMPLATE/submit-a-request.md).

## Documentation

https://docs.vibraniumdome.com
tulyp 0.1.1
Display lyrics of the currently playing song in a terminal.
Requires Python: >=3.10

# tulyp

![screenshot](https://raw.githubusercontent.com/laszloszurok/tulyp/main/images/screenshot.png)

`tulyp` displays the lyrics of the currently playing song in the terminal.
It checks for lyrics from 3 sources (stops at the first successful result):

* genius.com
* google.com
* azlyrics.com

Tulyp only works with music players which are compliant with the [mpris](https://wiki.archlinux.org/title/MPRIS) specification (e.g. Spotify, ncspot).
You can specify the player to use as a commandline argument: `tulyp spotify`.
If no player is provided ncspot will be used.

Lyrics will be displayed in a curses window and you can use the arrow keys or j/k to scroll up and down.

Lyrics get saved under `XDG_CACHE_HOME/tulyp/artist-title` (default: `~/.cache/tulyp/artist-title`).
If there are cached lyrics for a song, no queries will be executed.

Tulyp continously checks what song is currently playing and automatically reloads itself, to show the appropriate lyrics.
You can switch between lyrics sources with number keys:

* 1 - genius
* 2 - google
* 3 - azlyrics

## Dependencies (they will be installed with `tulyp`)

* `beautifulsoup4` to extract lyrics from html
* `dbus-python` to get the currently playing song through dbus
* `lyricsgenius` provides API to get lyrics from genius.com
* `psutil` needed when using ncspot to get the pid of the ncspot process
* `requests` to search for lyrincs on google

## Install

### From PyPi

```shell
pipx install tulyp
```

### From source

```shell
git clone https://github.com/laszloszurok/tulyp.git
cd tulyp
python -m build
pipx install dist/tulyp-0.0.3-py3-none-any.whl
```

## Naming

* we got a terminal user interface -> tu
* we are dealing with lyrics       -> ly
* the program is written in python -> p

I am so good at naming things.
goodgit 0.1.32
Git; for humans

# GoodGit: Git, but with a Human Touch 🎉

### It only takes 4 minutes, not 4 years to master git! 😎

https://github.com/brainspoof/goodgit/assets/78320447/e8115809-c000-4f19-a941-e606a0cca711


GoodGit is the brainchild of community frustrations – a chorus of developers who wanted Git to be friendlier. We listened. We coded. Now, we present to you GoodGit: Git, as it should be - intuitive, quick, and with a human touch.

## Features 🌟

- **Simplified Commands**: Because 'intuitive' is not just a buzzword.
- **AI-Powered Commit Messages**: Say goodbye to commit message writer's block.
- **SSH Setup in a Snap**: We value your time. Setting up SSH keys is now a breeze.
- **Multi-Account Flow**: Effortlessly juggle between work and personal Git accounts.
- **Effortless Search**: Zero in on that elusive commit or branch with ease.
- **Branching Simplified**: Focus on your work, not on stashing and managing branches.
- **Direct Publish**: Seamlessly push your projects to GitHub. No more context switching.   

   
### Upcoming Features 🚀

- **AI Merge Conflict Resolution**: Let AI handle the tough parts of merging.
- **GUI**: For when you want to point-and-click instead of type-and-peck.

   
## Prerequisites 🛠

- Python
- Pip
- Internet Connection (It's the digital era, after all!)
- A Pair of Hands (Preferably attached to a human who can type.)


  
## Installation 💻

Jump into GoodGit goodness with:

```bash
pip install goodgit
```


## Usage 🛠️

Simplified Git Commands
Forget the convoluted commands. With GoodGit, you get the power without the complexity.

### Add Files
add files like you're used to

```bash
gg add <files-to-add>
```


### Commit
You write code; AI writes the commit message for you!

```bash
gg commit
```


### Uncommit
Uncommit the oops commits

```bash
gg uncommit
```


### Time Travel
Time-Travel through your history, make it your present if you like it

```bash
gg timetravel
```
*or*
```bash
gg tt
```


**Bring the time-travelled commit to the present.**
```bash
gg tt apply
```


### search
What you want is just a search away

```bash
gg search
```


### branch
No stashing; no worries! Just start branching

```bash
gg branch
```
*or*
```bash
gg b
```


### setup
No more irritating SSH, set it it in T-10 seconds.   
Have multiple accounts? Set them up too!

```bash
gg search
```



### publish
Just started a project? Don't leave your terminal to add it to github!

```bash
gg publish
```



### web
open your repo in the browser from the terminal

```bash
gg web
```


## Contributing 🤝
Join the crew! Your expertise is the secret sauce to make GoodGit even better.

**Got an idea?** Open an issue.  
**Got code?** Pull, request it.   
**Found a bug?** We're on it, just let us know.   


Become a part of the GoodGit story at **https://goodgit.io/** - where we're turning ***'dang it, Git!'*** into **'Yay, Good Git!'**
building3d 0.0.1
Towards 3D building physics modeling
Requires Python: >=3.10

# building3d

I don't now where this project is heading, so there's no documentation yet.

# Installation
```
python3.10 -m venv venv
source venv/bin/activate
pip install -e .[dev]
sudo apt install cloc  # for source code line counting
```

If you see the following error when running `mayavi2`:
```
********************************************************************************
WARNING: Imported VTK version (9.3) does not match the one used
         to build the TVTK classes (9.2). This may cause problems.
         Please rebuild TVTK.
********************************************************************************
```
try updating `vtk` to the correct version:
```
pip install -U vtk==9.2
```

# Testing

Run unit tests:
```
make test
```

Produce a coverage report:
```
make coverage
```

# Example
```
python example.py
```

# TODO:

- [x] Check if all points of a wall are coplanar
- [x] Triangle area: https://en.wikipedia.org/wiki/Heron%27s_formula
- [x] Triangulation:
    - https://www.geometrictools.com/Documentation/TriangulationByEarClipping.pdf
    - https://nils-olovsson.se/articles/ear_clipping_triangulation/
- [x] Accurate center of weight for Wall
- [x] Tests are failing
- [x] Check whether a point lays on the surface of a polygon
- [x] Check whether a point is inside a Solid
- [x] Use mayavi instead of matplotlib: https://docs.enthought.com/mayavi/mayavi/index.html
- [x] Delaunay triangulation of a polygon -> Polygon.delaunay_triangulation()
- [x] Pretty mesh rendering
- [x] Mesh points on the edges should be shared across all connected polygons
- [x] one config
- [x] Mesh face polygons should have the same surface normals as the polygon
- [ ] Add to PyPi to reserve the name
- [ ] Fix highly skewed triangles in Delaunay triangulation
- [ ] Delaunay triangulation of a solid
- [ ] Discretize solid with tetrahedra
- [ ] Calculate solid volume
- [ ] Accurate center of weight for Solid
- [ ] Wall could be a collection of Polygons instead of a Polygon subclass
- [ ] Zone could be a collection of Solids instead of a Solid subclass
click-app 0.1.5
A template of Click application CLI
Requires Python: >=3.8

# click_app (template-cli)

Leveraging click python package to create cli tool template

A sample code of using click package for running command line tool

## For general users to run the program with pip install

```bash
pip3 install click-app
click_app --name=Jason
```

## For developers to develop features or fix bugs on github

<https://github.com/chuangtc/click-template-cli>

### Installation for development

```bash
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip setuptools wheel poetry
pip install click
pip install -e .
pip install pytest
pytest
```

### Usage

```bash
click_app --help
click_app --name=Jason
```

```bash
pip3 install --upgrade build
python3 -m build
```

### After running it, deactivate the .venv

```bash
deactivate
```

## Packaging and uploading to PyPI

### Manual way (For the test.pypi purpose, it's ok)

<https://packaging.python.org/en/latest/tutorials/packaging-projects/>

### Github action

<https://dev.to/iamtekson/publish-package-to-pypi-and-release-new-version-using-github-actions-108k>

Some minor changes, please checkout my .github/workflows
UofA-BAJA-Palatable9622 0.0.2
packages for the UofA Baja team
Requires Python: >=3.8

# Package Name

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

## Description

A brief description of what this package does.

## Features

- Feature 1
- Feature 2
- Feature 3

## Installation

Describe how to install and use this package.

## Usage

Provide examples and instructions on how to use this package.

## Contributing

Explain how others can contribute to this project.

## License

This project is licensed under the [MIT License](LICENSE).
jaraco.classes 3.4.0
Utility functions for Python class constructs
Requires Python: >=3.8

.. image:: https://img.shields.io/pypi/v/jaraco.classes.svg
   :target: https://pypi.org/project/jaraco.classes

.. image:: https://img.shields.io/pypi/pyversions/jaraco.classes.svg

.. image:: https://github.com/jaraco/jaraco.classes/actions/workflows/main.yml/badge.svg
   :target: https://github.com/jaraco/jaraco.classes/actions?query=workflow%3A%22tests%22
   :alt: tests

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Ruff

.. image:: https://readthedocs.org/projects/jaracoclasses/badge/?version=latest
   :target: https://jaracoclasses.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/skeleton-2024-informational
   :target: https://blog.jaraco.com/skeleton

.. image:: https://tidelift.com/badges/package/pypi/jaraco.classes
   :target: https://tidelift.com/subscription/pkg/pypi-jaraco.classes?utm_source=pypi-jaraco.classes&utm_medium=readme

For Enterprise
==============

Available as part of the Tidelift Subscription.

This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.

`Learn more <https://tidelift.com/subscription/pkg/pypi-jaraco.classes?utm_source=pypi-jaraco.classes&utm_medium=referral&utm_campaign=github>`_.