semvec/pypi-packages huggingface dataset:
comfyui-utils 0.0.1
Utilities for working with the ComfyUI API.
Requires Python: >=3.9
Keywords: comfyui,api

# ComfyUI utils

This package provides simple utils for:
1. Parsing out prompt arguments, e.g. "a beautiful forest $num_steps=12"
2. Running a workflow in parsed API format against a ComfyUI endpoint, with callbacks for specified events.

It's designed primarily for developing casual chatbots (e.g. a Discord bot) where users can adjust certain parameters and receive live progress updates.

Limitations:
- Only integer arguments are currently supported in addition to the prompt itself. The plan is to add at least floats and strings.
- Only one output from the workflow is supported.

Supports:
- Arbitrary number of integer args embedded in the main string prompt.
- Queuing with a callback when the queue position changes.
- Fetching cached results.
- Reporting intermediate progress of nodes like `KSampler`.


## Install

```
pip install comfyui_utils
```

## Usage

(better docs are coming, for now please look at the source code / sample script)

```
from comfyui_utils import gen_prompts, comfy
gen_prompts.make_config("GenVid", [gen_prompts.IntArg("num_steps", default_value=12, min_value=1, max_value=80)])
...
try:
    parsed = gen_prompts.parse_args(raw_prompt, prompt_config)
except ValueError as e:
    print(f"Invalid prompt {e.args[0]}")
prompt_data = ...
class Callbacks(comfy.Callbacks):
    ...
await comfyui.submit(prompt_data, Callbacks())
def on_load(data_buffer):
    ...
await comfyui.fetch(backend_filepath, on_load)
```

## Example

To test the library with a sample SDXL workflow, run the following after installing (replace the address with your ComfyUI endpoint). Make sure your ComfyUI has `sd_xl_base_1.0.safetensors` and `sd_xl_refiner_1.0.safetensors` installed (or replace the workflow).

```python
comfy_ui_example_e2e\
  --address='192.168.0.10:11010'\
  --prompt='a smiling potato $base_steps=8$refiner_steps=3'\
  --output='./potato.png'
```
The single quotes are important so your shell doesn't try to parse the `$`'s. Expected output:
```
Queuing workflow.
Queue position: #0
Base...
Base: 1/8
Base: 2/8
Base: 3/8
Base: 4/8
Base: 5/8
Base: 6/8
Base: 7/8
Base: 8/8
Refiner...
Refiner: 1/3
Refiner: 2/3
Refiner: 3/3
Decoding...
Saving image on backend...
Result (cached: no):
{'images': [{'filename': 'ComfyUI_00101_.png', 'subfolder': '', 'type': 'output'}]}
```
The file will be saved in the root directory.

## Use your own workflow

After finalizing the workflow, use the "Save (API format)" button to store the workflow. Then, edit the `PromptConfig` in the script to reflect the arguments you wish to make available, and ensure the prompt has them replaced after parsing.
pyav-test 0.0.1
A GUI Music Player with all the basic functions, which is developed using Tkinter
Requires Python: >=3.6
Keywords: Test

# Testing AV

[![forthebadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)                 
[![Python 3.6](https://img.shields.io/badge/python-3.6-blue.svg)](https://www.python.org/downloads/release/python-360/)   

[Tutorial of Publishing Python Package](https://youtu.be/7AF3HvKz070)
## Functionality of the Music Player

- Better Looking GUI
- Pause/Play Supported
- Add/Delete songs from Playlist
- Previous/Next song function
- Time duration of song / next song displays
- List of all the songs.
- Adjust Volume
- Automatically Playing in Queue
- Play Selected song from Playlist

## Usage

- Make sure you have Python installed in your system.
- Run Following command in the CMD.
 ```
  pip install PyMusic-Player
  ```
## Example

 ```
# test.py
from PyMusic_Player import Music_Player_GUI

## Make sure all the .MP3 songs besides in the folder
song_dir = 'path/of/songs_dir'

# If you want to give the Icon, make sure you have downloaded proper .ICO file.
icon = 'your.ico'
Music_Player_GUI(song_dir,icon)
  ```

## Run the following Script.
 ```
  python test.py
 ```

## Screenshots
<img src="https://github.com/Spidy20/PyMusic_Player/blob/master/s1.PNG">

## Note 
- I have tried to implement all the functionality, it might have some bugs also. Ignore that or please try to solve that bug.
composabl-ray 0.4.2
a distributed runtime to be able to train agents across a cluster of machines
Requires Python: >=3.8

# Composabl

Composabl helps you build Autonomous Agents! Through an easy SDK you get access to outscaled simulator training tools.

## Licenses / Seats

Composabl is an enterprise platform and requires an API key to use.

We offer 3 types of licenses:

- **Enterprise:** for enterprise projects and agent creations
- **Personal:** for personal usage and testing (typically offered to System Integrators)
- **Trial:** validate the Composabl platform (requires sales contact person)

One key is needed per user (seat-based licensing)

You can request an API Key through the following methods:

- [Discord](https://discord.gg/EQ3BgJt9NC)
- [Mail](mailto:sales@composabl.io?subject=REQUEST%20API%20KEY%20-%20COMPANY_NAME%20-%20NAME&body=Hi%2C%0D%0A%0D%0AI%20would%20like%20to%20request%20an%20API%20key%20for%20my%20company%20to%20get%20started%20with%20Composabl.%0D%0A%0D%0A*%20Company%20Name%3A%20COMPANY_NAME%0D%0A*%20Seats%3A%20NO_OF_SEATS%0D%0A*%20License%20Type%3A%20Enterprise%20%7C%20Personal%20%7C%20Trial%20%28keep%20what%20is%20required%29%0D%0A%0D%0AKind%20Regards%2C%0D%0ANAME%0D%0AFUNCTION)

## Getting Started

1. Download the Composabl SDK: `pip install composabl`
2. Request an API Key
3. Get a simulator or use one of the [prebuilt ones](https://hub.docker.com/u/composabl)
4. Create an Agent or see our [examples](https://github.com/Composabl/examples.composabl.io)