semvec/pypi-packages huggingface dataset:
screenx10sion 0.2.1
Cast your screen to phones and Smart TVs using just a browser and a QR code.
Requires Python: >=3.6

# ScreenX10sion

**Your Screen, Extended Effortlessly**  
Cast your screen to phones, tablets, laptops, or even Smart TVs — instantly — using just a browser and a QR code. No installations, no cables, no nonsense.

Author: [Raghav Anthwal](https://www.linkedin.com/in/raghav-anthwal/)

---

##  Features

-  **Zero-install screen sharing** — Works via browser
-  **Smartphone-friendly** — Scan and view instantly
-  **Smart TV-ready** — Remote control compatible
-  **Automatic resolution scaling** — Looks great everywhere
-  **mDNS Support**  — Access with ease via local name
-  **QR & URL access** — Displayed clearly on your host machine
-  Built with Python + Flask + WebSockets

---

##  Installation (Python 3.7+ recommended)

```bash
pip install screenx10sion
screenx10sion
teanga-pyo3 0.1.0
Teanga - Rust Implementation
Requires Python: >=3.7

Teanga Rust-Python Bindings
===========================

This library provides Python bindings for the Teanga Rust library, allowing you to use Rust code in Python applications.

This enables the `teanga` library to use the database features and the Cuac file format.

This package is intended to be used by installing Teanga with the `pyo3` feature as follows:

```bash
pip install teanga[pyo3]
```

## Features

- **Database Support**: Use Teanga's database features directly in Python.
- **Cuac File Format**: Read and write Cuac files using Teanga's Rust implementation.
- **Performance**: Leverage Rust's performance and safety in Python applications.
harmonization-env 1.0
Harmonization environment implementation via reinforcement learning
Requires Python: >=3.6

# Music Harmonization Package

A Reinforcement Learning package to generate musical harmonies, starting from a general sequence of notes in the scale of C major. Outputs musical harmonies, MIDI files, and mp4 videos.

## Prerequisites

- **ffmpeg** must be installed on your system.
  - [Download ffmpeg](https://ffmpeg.org/download.html)
  

## Examples

Here are a few example outputs generated by the package. The top line is the melody, given as input. The other notes played are generated. In this case a simple C major scale. The following videos are two different outputs generated by the agent.

<video src = "https://github.com/pietrobegotti/harmonization/main/examples/Sequence_#1.mp4"></video>
<video src = "https://github.com/pietrobegotti/harmonization/main/examples/Sequence_#2.mp4"></video>


https://github.com/user-attachments/assets/e7a52a7e-48b0-4076-8552-e5e392ad850d

https://github.com/user-attachments/assets/9b4d98df-2e92-45ec-9ef5-695c0d947d09



## Installation

Install this package via `pyPI`: 

```bash
pip install harmonization-env
```

https://pypi.org/project/harmonization-env/

## Basic Usage

Here's a complete example showing the main features:

```python

import torch
from harmonization_env import *

path_to_params = "..."
env = HarmonizationEnv(device = 'cpu')

net = NetM.load_from_checkpoint(path_to_params, device = 'cpu')

# Create a melody sequence
# Notes are represented as MIDI numbers (60 = middle C)
melody = torch.tensor([64, 64, 65, 65, 
                       67, 69, 69, 62,
                       67, 67, 68, 71,
                       69, 71, 72, 65,
                       64, 64, 62, 62,
                       60, 60, 60, 60,
                       60], dtype = torch.int32)

melody += 12


# get output
chords, reward = agent.get(
    melody = melody,
)

run = chords[0, :]


v = Voicer(melody, run)
voices = v.get()

player = MIDIGenerator(tempo = 80) 

# get and play midi output
player.generate(voices, filenames = 'test0.mid')
player.play(filename = 'test0.mid')

# Create visualization video
# Download soundfont from https://member.keymusician.com/Member/FluidR3_GM/index.html
vg = VideoGenerator('test0.mid', soundfont_path='FluidR3_GM.sf2')
vg.get_video(output_filename='output.mp4')

```
pipebar 1.0.4
Colorful terminal progress bar with ETA and speed tracking
Requires Python: >=3.6
Keywords: progress, bar, terminal, CLI, ansi

![preview](https://raw.githubusercontent.com/fabfawufawd/PipeBar/refs/heads/main/screen.png)

Lightweight and stylish command-line progress bar written in pure **Python** with colorful ANSI output. Perfect for downloads, iterations, or pipelines where you want clean, responsive visual feedback.

---

## 🚀 Features

- ⏱️ ETA and speed tracking
- 🎨 Colorful and modern terminal output (no external dependencies)
- 📦 Works as iterator or manual `.update()` style
- ✅ Minimal and production-ready

---

## 🧪 Usage

```python
from pipebar import ProgressBar

n = 100_000_000

with ProgressBar(total=n, unit='M', scale=1_000_000) as pbar:
    result = 0

    for i in range(n):
        result += i ** 2
        pbar.update()

print(f'Result: {result}')
```

---

## 📁 For file downloads

```python
from pipebar import ProgressBar
import requests
import os

red = '\033[38;2;235;64;52m'
end = '\033[0m'

def download_file(url):
    url = url.strip('/')
    file_name = url.split('/')[-1]
    response = requests.get(url, stream=True)
    total_size = int(response.headers.get('content-length', 0))
    total_size_mb = total_size / (1024 * 1024)
    print(f'Downloading {file_name} ({total_size_mb:.1f} MB)')
    
    with ProgressBar(total=total_size, unit='MB', scale=1024*1024) as pbar:
        try:
            with open(file_name, 'wb') as file:
                for data in response.iter_content(chunk_size=1024):
                    file.write(data)
                    pbar.update(len(data))
        except KeyboardInterrupt:
            print(f'\n{red}ERROR: Aborted by user.{end}')
            if os.path.exists(file_name):
                os.remove(file_name)
            raise SystemExit(0)

download_file('http://ipv4.download.thinkbroadband.com/200MB.zip')
```

---

## ⚙️ ProgressBar Parameters

| Parameter    | Type        | Default | Description                                                                                |
| ------------ | ----------- | ------- | ------------------------------------------------------------------------------------------ |
| `iterable`   | `Iterable`  | `None`  | Optional iterable to wrap. If provided, `ProgressBar` acts as a generator.                 |
| `total`      | `int`       | `None`  | Total number of units (e.g., items, bytes). Required for ETA/speed display.                |
| `unit`       | `str`       | `'it'`  | Unit name (e.g., `'MB'`, `'files'`, `'records'`). Displayed after progress numbers.        |
| `scale`      | `int/float` | `1`     | Scale factor to convert units (e.g., `1024*1024` to convert bytes to MB).                  |
| `bar_length` | `int`       | auto    | Visual length of the progress bar in characters. Auto-adjusts to terminal size if not set. |