semvec/pypi-packages huggingface dataset:
LyricsPy 2.2.1
search lyrics on musixmatch.com

<h1 align="center">
  <img src="https://github.com/edubr029/piics/blob/master/i/011.png?raw=true" alt="LyricsPy" height="250px">
</h1>

<h1 align="center">LyricsPy</h1>

<h3 align="center">A library to search for music lyrics.</h3>

## Installation

LyricsPy can be installed using `pip` from PyPI or from GitHub.

### via PyPI

```bash
pip install -U lyricspy
```

#### via GitHub using pip+git

```bash
pip install -U git+https://github.com/AmanoTeam/LyricsPy
```

## Usage

Using LyricsPy is easy, but let's see some examples:

### Musixmatch example

```python
from lyricspy import Musixmatch
import json

def search_lyrics_and_translation_musixmatch(query, lang="pt", limit=1):
  # Initializes the Musixmatch class
  musixmatch = Musixmatch()
  # Note: after the 2.2.0 update the token is optional

  # Performs an automatic search to obtain the lyrics and their translations
  search_results = musixmatch.auto(query, lang, limit)

  # Saves the results in a JSON file for viewing
  with open("musixmatch_results.json", "w") as f:
    json.dump(search_results, f)

# Example of use
search_lyrics_and_translation_musixmatch("Hello")
```

### Lyrics example

```python
from lyricspy import Lyrics

def search_lyrics_and_translation(query):
  # Initializes the Lyrics class
  lyrics = Lyrics()

  # Performs the initial search to obtain the links to the lyrics
  search_results = lyrics.search(query)

  # Iterates through the search results
  for result in search_results:
    # Extracts the link to the lyrics
    lyrics_link = result["link"]

    # Performs the search for the lyrics on the page of the obtained link
    lyrics_details = lyrics.lyric(result)

    # Prints the title of the song, the lyrics, and the translation (if available)
    print(f"Title: {lyrics_details['music']}")
    print(f"Lyrics: \n{lyrics_details['lyric']}\n")
    if lyrics_details['translation']:
      print(f"Translation: \n{lyrics_details['translation']}\n")

# Example of use
search_lyrics_and_translation("Hello")
```
unav 0.1.40
UNav is designed for helping navigation of visually impaired people
Requires Python: >=3.6

# UNav

UNav is designed for helping navigation of visually impaired people. It leverages various features and algorithms to provide accurate localization and navigation assistance.

## Features

- **Global Feature Extraction**: Using NetVLAD for image-based localization.
- **Local Feature Extraction**: Using SuperPoint and SuperGlue for detailed image matching.
- **Navigation and Localization**: Combines global and local features for accurate navigation.

## Developer Installation

To install UNav as a developer, follow these steps:

### Prerequisites

- Python 3.6 or higher
- Cython
- NumPy
- PyTorch
- OpenCV
- h5py
- scikit-image

### Instructions

1. Clone the repository:
    ```bash
    git clone https://github.com/ai4ce/UNav_Server.git
    cd UNav_Server
    ```

2. Build the Cython extensions in place:
    ```bash
    python setup_so.py build_ext --inplace
    ```

3. Create the source distribution and wheel:
    ```bash
    python setup.py sdist bdist_wheel
    ```

4. Upload the package to PyPI:
    ```bash
    twine upload --verbose dist/*
    ```

## User Installation

Users can directly install UNav from PyPI:

```bash
pip install unav