semvec/pypi-packages huggingface dataset:
audipart 0.0.4
Extract and separate audio signals by pitch from `.mp3` or `.wav` files.
Requires Python: >=3.9

# audio-pitch-separation

**Extract and separate audio signals by pitch from `.mp3` or `.wav` files.**
Harmonic, percussive, and note-wise components are visualized and saved as `.wav` files automatically.

![track visualization](./example/figure.png)

## Features

-   Supports both `mp3` and `wav` audio input
-   Separates harmonic & percussive components using HPSS
-   Extracts note-wise waveforms via Constant-Q Transform (CQT)
-   Visualizes all audio tracks as waveform plots
-   Saves each pitch as an individual `.wav` file
-   Easy GUI file picker (via PyQt5)

## Installation

```bash
pip install audipart
```

## Usage

```
python -m audipart
```

1. A GUI window will prompt you to select an .mp3 or .wav audio file.
2. From the selected audio, the following will be generated:
    - harmonic.wav and percussive.wav using HPSS
    - .wav files for each pitch from C2 to C8
    - A waveform plot saved as figure.png
3. All output files will be saved in a new folder named after the input file (excluding the extension).


> you can also import audipart like this [demo](example/demo.ipynb).

## Example

For example, if you select song.mp3, the following directory will be created:

```
song/
├── harmonic.wav
├── percussive.wav
├── C2.wav
├── C#2.wav
├── ...
├── C8.wav
└── figure.png
```

## TODO

-   Extract note-wise MIDI representation

## License

MIT License.

## Acknowledgements

-   [librosa](https://librosa.org/)
-   [HPS](https://www.audiolabs-erlangen.de/resources/MIR/FMP/C8/C8S1_HPS.html)
cogent3-pykmertools 0.2.2
A cogent3 pykmertools app
Requires Python: <3.14,>=3.11

# `cogent3_pykmertools`: kmer counting plugins for `cogent3`

## Installation

We recommend installing `cogent3_pykmertools` from PyPI as follows

```
pip install cogent3_pykmertools
```

Or using `uv`

```
uv pip install cogent3_pykmertools
```

The installation process registers the apps and plugins with `cogent3`.

## The provided apps

- `pkt_count_kmers()`: does what the name says! When this package is installed, this app will be used by the `cogent3` `Sequence.count_kmers()` and `SequenceCollection.count_kmers()` methods. This app can also be run in parallel, which can be useful if you have a lot of sequences in the `SequenceCollection`.
- `pkt_kmer_header`: returns the k-mers as strings, so you know what their order is.

## Getting help on the apps

Use the `cogent3.app_help()` function. For example, `cogent3.app_help("pkt_count_kmers")`.