semvec/pypi-packages huggingface dataset:
sneahi-multiplier 0.0.1
A small multiplier package
Requires Python: >=3.8
Keywords: multiplier, math, ai, ml

# pwp_packs

The pwp_packs package contains utility tools. Currently, it includes a Screen Recorder tool that can record your system screen in any resolution, along with audio.

Developed by Vivek Kumar - ProgresswithPython (c) 2024  (www.youtube.com/c/progresswithpython)


## Examples of How To Use Screen Recorder Tool

```python
from pwp_packs.screenrecorder import ScreenRecorder

recorder = ScreenRecorder("test.mp4")
recorder.start()
input("enter to stop recording...")
recorder.stop()

#You can use the overwrite parameter with True to overwrite the file if it already exists.
recorder = ScreenRecorder("test.mp4",overwrite=True) #it will overwrite test.mp4 if exists.
recorder.start()
input("enter to stop recording...")
recorder.stop()

# By Default, Mouse will be recorded but if you don't want to recorde mouse then make "draw_mouse" parameter False
#recorder = ScreenRecorder("test.mp4", overwrite = True, draw_mouse = False)

```
```python
from pwp_packs.screenrecorder import ScreenRecorder

#you can define duration also
recorder = ScreenRecorder("test.mp4",duration=30)
recorder.start() #it will record for 30 seconds

```
with Audio

```python
from pwp_packs.screenrecorder import ScreenRecorder,get_audio_devices

get_audio_devices() # Print the name of audio devices available in your system
# audio_names = get_audio_devices(text=True) # This will return the name of audio devices in text format
# print(audio_names)

# Copy the name of that audio devices you want to record into a list
audio_devices = ["Microphone Array (Realtek(R) Audio)","Stereo Mix (Realtek(R) Audio)"] # Taking two audio devices to record, Note: audio devices name may varies from system to system.

recorder = ScreenRecorder("test.mp4",audio_devices=audio_devices)
recorder.start()
input("enter to stop recording...")
recorder.stop()

#you can define delays in audio input devices if audio is aheading or not sync with video

audio_delays = [0,1000] # 1 second delay in stereo mix input device
recorder = ScreenRecorder("test.mp4",audio_devices=audio_devices,audio_delays = audio_delays)
recorder.start()
input("enter to stop recording...")
recorder.stop()

```
To see all Screen Recorder Parameters

```python
from pwp_packs.screenrecorder import ScreenRecorder

print(ScreenRecorder.__doc__)
```

Using ScreenRecorderGUI

```python
from pwp_packs.screenrecorder import ScreenRecorderGUI

recorder = ScreenRecoderGUI(filename_prefix = "PWP.mp4")  # filename prefix with video extension
recorder.show() # It will show a small gui with start and stop button with recording timer in the top center of your screen

# Right click on gui to get option to close gui.

# You can provide the width,height for gui and x,y for gui position.(optional)
recorder = ScreenRecorderGUI(filename_prefix = "PWP.mp4", width = 500, height = 50, x=0,y=0,background_color = "blue")
recorder.show()

# Note: ScreenRecorderGUI rest parameter are same as ScreenRecorder parameter.

```
mlflow-gcp-iap 0.0.3
Add-on for accessing MlFlow tracking server behing GCP IAP.
Requires Python: >=3.10

<h1 align="center">
  <br>
  <a href="https://aiboxlab.org/en/"><img src="https://aiboxlab.org/img/logo-aibox.png" alt="AiBox Lab" width="200"></a>
  <br>
  mlflow-gcp-iap
  <br>
</h1>

<h4 align="center">MlFlow add-on to access IAP-enabled tracking server on GCP.</h4>


[![Python](https://img.shields.io/pypi/pyversions/mlflow-gcp-iap.svg)](https://badge.fury.io/py/mlflow-gcp-iap)
[![PyPI](https://badge.fury.io/py/mlflow-gcp-iap.svg)](https://badge.fury.io/py/mlflow-gcp-iap)

# Quickstart

Install the library using your favorite package manager:

```sh
uv add mlflow-gcp-iap
uv pip install mlflow-gcp-iap
pip install mlflow-gcp-iap
```

Once the library is installed, you must configure it by running `mlflow-gcp-iap setup`. The CLI will ask for the required configuration. 

It is essential that the [GCP Application Default Credentials](https://cloud.google.com/docs/authentication/provide-credentials-adc) is configured locally, and that the user and service account have sufficient permissions. For the user, permissions related to Service Account Impersonation and token creation are required. For the service account, only the permission to access the IAP-protected MlFlow tracking server is mandatory.

To check whether the configuration works correctly, run `mlflow-gcp-iap test`. This command runs the script [`src/mlflow_gcp_iap/test.py`](./src/mlflow_gcp_iap/test.py), which creates a run on the MlFlow server. 

The library provides a simple context manager that automatically refresh tokens and update the MlFlow environment variables. The intended usage is as follows:

```python
import mlflow

from mlflow_gcp_iap import TokenRefresher


if __name__ == "__main__":
    with TokenRefresher():
        with mlflow.start_run(run_name="my-run"):
            mlflow.log_params({"a": 10, "b": 20})
            mlflow.log_metrics({"MSE": 0.0})
```
r2-assistant 0.1.0
A collection of tools to help managing a very opinionated Linux setup.
Requires Python: >=3.13

R2
== 

My personal Computer assistant. I assume this project is not useful for anyone 
else but me, but feel free to fork it if you want to use it as inspiration.

It assumes some things about your setup:

- I use NixOS.
- I use Chezmoi to manage my dotfiles.
- I use GNOME as my main desktop environment.
- I use UV to manage Python and all Python apps (including this) in my system.
- It sometime assumes some specific applications are installed.


Usage
=====

Install UV and create an alias in your shell configuration like this:

```sh
alias r2="uv run --package r2-assistant r2"
```

Then you can run R2 with:

```sh
r2
```