semvec/pypi-packages huggingface dataset:
restapi-echo-server 0.4.0
Simple REST-API echo server
License: MIT
Requires Python: >=3.8,<4.0
Keywords: rest-api,echo

# restapi-echo-server
Simple REST-API echo server.

```
python -m restapi_echo_server --host 0.0.0.0 --port 8080
```


# Requirements
- Python >= 3.8


# Installation
```
pip install restapi-echo-server
```


# License
MIT
microbit-stubs 0.2.0
Python stubs for micro:bit modules
License: MIT

# microbit-stubs Python Library

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![Python Version](https://img.shields.io/badge/python-v3.10%2B-blue.svg)](https://www.python.org/downloads/release)
[![Micro:bit Version](https://img.shields.io/badge/microbit-v2.2-blue.svg)](https://microbit.org/)

A Python library providing stubs for micro:bit modules, enabling code completion and static analysis in integrated development environments (IDEs).

## Overview

This library contains type hints (stubs) for the micro:bit modules, allowing developers to benefit from code completion, type checking, and static analysis in their Python projects that involve micro:bit programming. These stubs are compatible with popular Python IDEs like VSCode, PyCharm, and others.

## Features

- **Type Hints for micro:bit Modules**: Comprehensive type hints for various micro:bit modules, enhancing code readability and developer productivity.

- **IDE Compatibility**: Works seamlessly with major Python IDEs, providing an improved development experience for micro:bit projects.

- **Easy Integration**: Simply install the library using pip, and your IDE should automatically recognize and utilize the provided stubs.

## Installation

```bash
pip install microbit-stubs
```

## Usage

Once the library is installed, you can start using it in your micro:bit Python projects. Your IDE should automatically pick up the stubs and provide enhanced code completion and type checking.

```python
from microbit import *

# Now, your IDE should provide code completion for micro:bit modules.
display.show(Image.HAPPY)
sleep(1000)
display.clear()
```

## Contributing

We welcome contributions to enhance and expand the microbit-stubs library. If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.

## License 

This project is licensed under the MIT License - see the LICENSE file for details.
pyLionChief 1.0.0
Module for controlling Lionel LionChief series trains
License: MIT

# PyLionChief

PyLionChief is an open-source project that aims to provide Python access to the Lionel's LionChief line of trains.

## Installation

PyLionChief can be installed using `pip`, or by downloading the source code and running the `setup.py` script.

### Installing with pip

To install PyLionChief using `pip`, simply run:

```
pip install pylionchief
```

### Installing from source

To install PyLionChief from source, follow these steps:

1. Download the source code from the [GitHub repository](https://github.com/thetestgame/pyLionChief).
2. Extract the contents of the archive to a directory of your choice.
3. Navigate to the directory containing the `setup.py` script.
4. Run the following command:

```
python setup.py install
```

## Examples

PyLionChief comes with a few examples to help users get started. These examples can be found under the `examples` directory in the repository root.

## License
PyLionChief is released under the MIT license. See the LICENSE file for more details.
yolo5face 0.0.10
Wrapper over Yolo5Face for a more convenient inference.
License: MIT

# Wrapper over YoloV5Face

![](https://habrastorage.org/webt/gy/-1/xd/gy-1xdtfz3_i7xxt-nqzl4mfhuw.jpeg)

A user-friendly Python wrapper for the YoloV5Face model, designed to simplify face detection in images. This wrapper offers straightforward functionalities for quick integration into Python projects, along with customization options for handling various face detection scenarios.

## Installation

Install the YoloV5Face wrapper using pip to easily incorporate it into your projects:

```bash
pip install -U yolo5face
```

## Face Detection: Standard and Enhanced

The YoloV5Face wrapper supports both standard and enhanced face detection. The standard detection is suitable for most use cases, while the enhanced detection, which aggregates results over multiple target sizes, is ideal for images with faces of varying sizes.

### Getting Started

To detect faces in an image:

```bash
from yolo5face.get_model import get_model
import cv2

# Initialize the model
model = get_model("yolov5n", device=-1, min_face=24)

# Load your image
image = cv2.imread(<IMAGE_PATH>)
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)

# Standard Detection
boxes, key_points, scores = model(image, target_size=512)

# Enhanced Detection (aggregating over multiple target sizes)
enhanced_boxes, enhanced_key_points, enhanced_scores = model(image, target_size=[320, 640, 1280])
```

Parameters:

* **device**: Set the processing device (cpu, cuda, mps, or CUDA device number).
* **target_size**: For standard detection, it's the minimum size of the target image. For enhanced detection, provide a list of sizes for better accuracy.
* **min_face**: Minimum size of faces to detect in pixels. Smaller faces will be ignored.

This approach, especially the enhanced detection, uses multiple scales for improved accuracy and is followed by Non-Maximum Suppression to refine the results.

## License

This YoloV5Face wrapper is released under the [MIT License](LICENSE).
ref-type 1.0.0
Referencable objects for Python.
License: MIT
Keywords: type,reference,utility

======================
Referencable objects.
======================

**Referencable objects in Python.**


.. code :: python

    from ref_type import ref


    ref1: ref[int] = ref(1)
    ref2: ref[int] = ref(1)


    def add(r1: ref[int], r2: ref[int]) -> None:
        r1 += r2


    add(ref1, ref2)

    print(ref1) # => 2


Use `.get()` to get value, `.ilshift(X)` to do LeftShiftEquals.
iheart-cli 0.7.3
Command line utility to search and play iHeartRadio
License: MIT

iHeart Radio
================

Command line client for `iHeartRadio <https://www.iheart.com/>`_

|Python 3.6| |license|


This project is meant to be a learning exercise. It is heavily inspired by `pianobar <https://github.com/PromyLOPh/pianobar>`_ which I love!

The project is a cross platform iHeartRadio console client implemented in Python. It is simply an alternative to playing iHeartRadio on the browser; only plays Live and Artist radio stations which are available without needing to create an account.

Features
---------------------

* Play Live and Artist radio stations
* Play Song radio stations (Which are essentially Artist stations, but created using song names)
* Save song urls into local playlists maintained as json files

    - Each playlist is saved as a separate json file and can be freely copied between machines
    - Play songs in a playlist sequentially or on shuffle

* Play `aNONradio <https://anonradio.net/>`_
* Play `internet-radio <https://internet-radio.com/>`_

Dependencies
---------------------

This project does not implement an audio player. It uses VLC for cross platform audio playback. It can be installed from the `VLC website <https://www.videolan.org>`_


Installation/Usage
---------------------

Stable release using pip - `Great read <https://matthew-brett.github.io/pydagogue/installing_scripts.html>`_

.. code::

    $ pip install -U iheart-cli
    $ iheart --help


Latest code from repository (might contains bugs and incomplete features)

.. code::

    $ git clone https://github.com/shashfrankenstien/iheart-cli.git
    $ cd iHeart-cli
    $ python3 -m iheart --help



TODO
---------------------

* Add more / better tests
* aNONradio and internet-radio are very slow to start (almost 1 minute) - look into vlc documentation


.. |Python 3.6| image:: https://img.shields.io/badge/python-3.6+-blue.svg
.. |license| image:: https://img.shields.io/github/license/shashfrankenstien/iheart-cli