semvec/pypi-packages huggingface dataset:
taskkill 0.10
terminating processes on Windows using the taskkill command
License: MIT
Keywords: taskkill

# terminating processes on Windows using the taskkill command

## Tested against Windows 10 / Python 3.10 / Anaconda 

### pip install taskkill

taskkill is a Python library that provides utility functions for terminating processes on Windows using the taskkill command. It allows users to easily kill processes by PID, terminate processes along with their child processes, and perform forceful termination if necessary. The library also includes a regex-based search function to find and terminate processes based on specific criteria such as window title, window text, class name, and process path.

### Features

- Kill processes by PID
- Terminate processes along with their child processes
- Forcefully terminate processes
- Search and terminate processes using regex-based criteria
- Dry run option to preview processes without actually terminating them 



```python

from taskkill import taskkill_pid, taskkill_pid_children, taskkill_force_pid, taskkill_force_pid_children, taskkill_regex_rearch

# Kill processes by PID
results = taskkill_pid(pids=(1234, 5678))

# Terminate processes along with their child processes
results = taskkill_pid_children(pids=(1234, 5678))

# Forcefully terminate processes
results = taskkill_force_pid(pids=(1234, 5678))

# Forcefully terminate processes along with their child processes
results = taskkill_force_pid_children(pids=(1234, 5678))

# Search and terminate processes using regex-based criteria
results = taskkill_regex_rearch(
    dryrun=False,
    kill_children=True,
    force_kill=True,
    title=r"\bnotepad$",
    windowtext=".*",
    class_name=".*",
    path="notepad.exe$",
)

# Dry run - Preview processes without terminating them
taskkill_regex_rearch(
    dryrun=True,
    kill_children=True,
    force_kill=True,
    title=r"\bnotepad$",
    flags_title=re.I,
    windowtext=".*",
    flags_windowtext=re.I,
    class_name=".*",
    flags_class_name=re.I,
    path="notepad.exe$",
    flags_path=re.I,
)
```

Contribution
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the GitHub repository.

License
This project is licensed under the MIT License.
nx-migrate 0.3.1
call nx migrate anywhere
License: MIT
Requires Python: >=3.6,<4.0

# nx-migrate Package

## installation
```
pip install nx-migrate
```

## Notice
the `nx` command must be available in your `system's PATH` for this script to work.

## Usage
- Example on Windows
```
nx-migrate -u "C:\my-monorepo"
```

- Example on Linux/macOS
```
nx-migrate -u "/Users/me/my-monorepo"
```
passgeneration 0.0.3
Password Generating Library. Fixed Name Version
License: MIT
Keywords: password generator,password

# PassGeneration
`PassGeneration` Generates A Password.

## Installation
```
python -m pip install passgeneration
```

## Usage
```
passgeneration.generate(length=8, upper=True, lower=True, numbers=True, special=True)
```

## License

This project is licensed under the MIT License.
scrobblez 0.1.1
Scrobbler for MPRIS 2 compatible clients
License: MIT

# scrobblez

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

User-customizable scrobbler for Last.fm and MPRIS 2.

This scrobbler cleans up metadata (e.g. artist, album, track titles) produced
by services with non-standard tagging schemes (e.g. Spotify). The cleaning
process is extensible and can be customized to a user's particular needs.

## Install

Install from PyPI:

```bash
pip install scrobblez
```

Or install from source:

```bash
git clone https://github.com/YodaEmbedding/scrobblez
cd scrobblez
pip install .
```

## Usage

Simply run the following command:

```bash
scrobblez
```

## Configuration

Within `~/.config/scrobblez/config.py`, you may specify a whitelist of valid
player names:

```python
whitelist = ["spotify"]
```

Optionally, you can also customize the metadata cleaning process:

```python
from scrobblez.metadata_filter import *
from scrobblez.types import Metadata

def fix_metadata(metadata: Metadata) -> Metadata:
    m = dict(metadata)

    # Keep first artist only in list of artists
    m["artist"] = m["artist"][0]
    m["album_artist"] = m["album_artist"][0]

    # Specify which filter rules to use
    rules = (
        REMASTERED_FILTER_RULES
        + SUFFIX_FILTER_RULES
        + VERSION_FILTER_RULES
        + ORIGIN_FILTER_RULES
        + FEATURE_FILTER_RULES
        + CLEAN_EXPLICIT_FILTER_RULES
        + LIVE_FILTER_RULES
        + TRIM_WHITESPACE_FILTER_RULES
    )

    # Specify manual artist/album/title overrides
    artist_overrides = {
        "Yusuf": "Cat Stevens",
        "Yusuf / Cat Stevens": "Cat Stevens",
    }

    album_overrides = {
        "The Lord of the Rings - The Return of the King - "
        "The Complete Recordings (Limited Edition)":
        "The Lord of the Rings: Return of the King - the Complete Recordings",
    }

    title_overrides = {
        "Better Get Hit In Your Soul - Instrumental":
        "Better Git It in Your Soul",
    }

    def fix(k, overrides, f=lambda x: x):
        m[k] = overrides.get(m[k], f(m[k]))

    # Apply fixes
    fix("artist", artist_overrides)
    fix("album_artist", artist_overrides)
    fix("album", album_overrides, lambda x: apply_filters(rules, x))
    fix("title", title_overrides, lambda x: apply_filters(rules, x))

    return m
```
passgeneration-py 0.0.1
Password Generating Library.
License: MIT
Keywords: password generator,password

# PassGeneration-py
`PassGeneration-py` Generates A Password.

## Installation
```
python -m pip install passgeneration-py
```

## Usage
```
passgeneration-py.generate(length=8, upper=True, lower=True, numbers=True, special=True)
```

## License

This project is licensed under the MIT License.