semvec/pypi-packages huggingface dataset:
wyn-wav2lip 0.2.3
A simple package to run Wav2Lip for lip synchronization with quality enhancements.
Requires Python: <4.0,>=3.8

# Wav2Lip Package

Wav2Lip is a Python package that simplifies the setup and execution of the [Wav2Lip](https://github.com/anothermartz/Easy-Wav2Lip) model, a deep learning tool for lip synchronization with enhanced quality options.

```
wav2lip_project/
├── wav2lip/
│   ├── __init__.py
│   └── wav2lip.py  # Refactored class-based script with the correct name
├── pyproject.toml  # Poetry configuration file
├── README.md  # Project description and usage instructions
├── LICENSE  # License file (e.g., MIT License)
├── tests/
│   └── test_wav2lip.py  # Unit tests for the package
├── dist/  # Will contain build files after 'poetry build'
├── .gitignore  # Files to ignore in version control (optional)
└── setup.cfg  # Optional: You can include a setup.cfg for backward compatibility
```

## Features

 setup for Google Colab environments.
- Supports multiple quality settings (Fast, Improved, Enhanced).
- Integrated with GFPGAN for face upscaling.
- Easy configuration through INI files for customizable options.

## Installation

To install the Wav2Lip package, you can use [Poetry](https://python-poetry.org/) to manage dependencies.

```bash
pip install wav2lip
```

## Usage

Here's an example of how to use the `Wav2Lip` package:

```python
from wyn_wav2lip.wav2lip import *

# Initialize Wav2Lip
wav2lip = Wav2Lip()

# Setup environment (ensure that you have GPU enabled)
wav2lip.setup()

# Run: requires 2 input args: 
# - an image
# - a voice file
wav2lip.run(video_file="/content/yiqiao3.jpg", vocal_file="/content/Easy-Wav2Lip/output.mp3")
```

### Options

You can specify different options for the model, such as:

- **Quality**: `"Fast"`, `"Improved"`, or `"Enhanced"`.
- **Output Height**: `"half resolution"`, `"full resolution"`, or `"480"`.
- **Padding and Mask**: Customize mouth tracking, padding, and mask settings.

## Contributing

Feel free to open issues or contribute by submitting pull requests.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
```
streamlit-nivo-sankey 1.0.0
A Streamlit component for Nivo Sankey diagrams.
Requires Python: >=3.7

# streamlit-nivo-sankey
[![Build and Publish](https://github.com/Navxihziq/streamlit-nivo-sankey/actions/workflows/python-publish.yml/badge.svg)](https://github.com/Navxihziq/streamlit-nivo-sankey/actions/workflows/python-publish.yml)

This is a Streamlit component that lets you create Nivo Sankey diagrams. Please check out Nivo's amazing page on [Sankey](https://nivo.rocks/sankey/) for more information.

This project is still in early development. More granular control, testing, and documentation, and development guide will come soon. Stay tuned!

## Installation instructions

```sh
pip install streamlit-nivo-sankey
```

## Basic Usage Example

```python
import streamlit as st

from streamlit_nivo_sankey import st_nivo_sankey

data = {
    "nodes": [
        {"id": "a", "nodeColor": "hsl(160, 70%, 50%)"},
        {"id": "b", "nodeColor": "hsl(160, 70%, 50%)"},
        {"id": "c", "nodeColor": "hsl(160, 70%, 50%)"},
    ],
    "links": [
        {"source": "a", "target": "b", "value": 1},
        {"source": "a", "target": "c", "value": 5},
    ]
}
value = st_nivo_sankey(data)    # returns clicked node/link and value
```

![image](./assets/demo-1.png)
pyburp 1.0.2
The rpc server api of https://github.com/cyal1/BcryptMontoya
Requires Python: >=3.9.9

# pyburpRPC

## install 
pip install pyburp

## Basic
```python
import pyburp 

def test(a,b,c,d,e):
    print(a,type(a),b,type(b),c,type(c),d,type(d),e,type(e))
    return b'asdf'


@pyburp.expose # some thing wrong. not always work
def test2():
    return 'xxx'

pyburp.expose(test) # recommend
pyburp.run("127.0.0.1:30051")
```


## Frida

```python
import pyburp 
import time
import frida

def my_message_handler(message, payload):
    print(message)
    print(payload)

def decrypt(arg):
    print(f"decrypt {arg}")
    return script.exports.calldecryptfunction(arg)


def encrypt(arg):
    print(f"encrypt {arg}")
    return script.exports.callencryptfunction(arg)

# device = frida.get_usb_device()
device = frida.get_device_manager().add_remote_device('127.0.0.1:27042')

# pid = device.spawn(["com.example.www"])
# device.resume(pid)
# time.sleep(1)  # Without it Java.perform silently fails
# session = device.attach(pid)

session = device.attach(17982)
with open("python_to_call_function.js") as f:
    script = session.create_script(f.read())
script.on("message", my_message_handler)
script.load()

print(encrypt("test"))
print(decrypt(encrypt("test")))

pyburp.expose(decrypt)
pyburp.expose(encrypt)

pyburp.run("127.0.0.1:30051")

```