semvec/pypi-packages huggingface dataset:
ffmpeg-binaries-compat 1.1.0
A static build of ffmpeg for Python with a custom namespace to avoid conflicts
Requires Python: >=3.9
Keywords: ffmpeg, static

# ffmpeg for Python

[![CI/CD](https://github.com/MatteoH2O1999/ffmpeg-binaries/actions/workflows/ci.yml/badge.svg)](https://github.com/MatteoH2O1999/ffmpeg-binaries/actions/workflows/ci.yml)
[![codecov](https://codecov.io/github/MatteoH2O1999/ffmpeg-binaries/graph/badge.svg?token=9jkgMvjxxs)](https://codecov.io/github/MatteoH2O1999/ffmpeg-binaries)
![GitHub](https://img.shields.io/github/license/MatteoH2O1999/ffmpeg-binaries)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![PyPI - Version](https://img.shields.io/pypi/v/ffmpeg-binaries?label=pypi%20package&color=green)](https://pypi.org/project/ffmpeg-binaries/)
[![PyPI - Version Mirror](https://img.shields.io/pypi/v/ffmpeg-binaries-compat?label=pypi%20mirror%20package&color=green)](https://pypi.org/project/ffmpeg-binaries-compat/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ffmpeg-binaries)
[![Downloads](https://img.shields.io/pepy/dt/ffmpeg-binaries?label=downloads&color=blue)](https://pepy.tech/project/ffmpeg-binaries)
[![Mirror Downloads](https://img.shields.io/pepy/dt/ffmpeg-binaries-compat?label=mirror%20downloads&color=blue)](https://pepy.tech/project/ffmpeg-binaries-compat)

Static builds of ffmpeg for Python

## Installation

From pip:

```commandline
pip install ffmpeg-binaries
```

## Basic usage

```python
import ffmpeg

# Initialize module (only if no binaries found)
ffmpeg.init()

# Call ffmpeg directly
ffmpeg.run_as_ffmpeg("-h")

# Call ffprobe directly
ffmpeg.run_as_ffprobe("-h")

# Use the binaries path in other modules
other_module.add_ffmpeg(ffmpeg.FFMPEG_PATH)

# Add directly to path
ffmpeg.add_to_path()
```

## Import name conflict

If another dependency aleady uses the `ffmpeg` import name, like [typed-ffmpeg](https://github.com/livingbio/typed-ffmpeg) or
[ffmpeg-python](https://github.com/kkroening/ffmpeg-python), you can install the mirror package instead:

```commandline
pip install ffmpeg-binaries-compat
```

and use it with the import name `ffmpeg_binaries`:

```python
import ffmpeg_binaries as ffmpeg

# Initialize module (only if no binaries found)
ffmpeg.init()

# Call ffmpeg directly
ffmpeg.run_as_ffmpeg("-h")

# Call ffprobe directly
ffmpeg.run_as_ffprobe("-h")

# Use the binaries path in other modules
other_module.add_ffmpeg(ffmpeg.FFMPEG_PATH)

# Add directly to path
ffmpeg.add_to_path()
```
ffmpeg-binaries 1.1.0
A static build of ffmpeg for Python
Requires Python: >=3.9
Keywords: ffmpeg, static

# ffmpeg for Python

[![CI/CD](https://github.com/MatteoH2O1999/ffmpeg-binaries/actions/workflows/ci.yml/badge.svg)](https://github.com/MatteoH2O1999/ffmpeg-binaries/actions/workflows/ci.yml)
[![codecov](https://codecov.io/github/MatteoH2O1999/ffmpeg-binaries/graph/badge.svg?token=9jkgMvjxxs)](https://codecov.io/github/MatteoH2O1999/ffmpeg-binaries)
![GitHub](https://img.shields.io/github/license/MatteoH2O1999/ffmpeg-binaries)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![PyPI - Version](https://img.shields.io/pypi/v/ffmpeg-binaries?label=pypi%20package&color=green)](https://pypi.org/project/ffmpeg-binaries/)
[![PyPI - Version Mirror](https://img.shields.io/pypi/v/ffmpeg-binaries-compat?label=pypi%20mirror%20package&color=green)](https://pypi.org/project/ffmpeg-binaries-compat/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ffmpeg-binaries)
[![Downloads](https://img.shields.io/pepy/dt/ffmpeg-binaries?label=downloads&color=blue)](https://pepy.tech/project/ffmpeg-binaries)
[![Mirror Downloads](https://img.shields.io/pepy/dt/ffmpeg-binaries-compat?label=mirror%20downloads&color=blue)](https://pepy.tech/project/ffmpeg-binaries-compat)

Static builds of ffmpeg for Python

## Installation

From pip:

```commandline
pip install ffmpeg-binaries
```

## Basic usage

```python
import ffmpeg

# Initialize module (only if no binaries found)
ffmpeg.init()

# Call ffmpeg directly
ffmpeg.run_as_ffmpeg("-h")

# Call ffprobe directly
ffmpeg.run_as_ffprobe("-h")

# Use the binaries path in other modules
other_module.add_ffmpeg(ffmpeg.FFMPEG_PATH)

# Add directly to path
ffmpeg.add_to_path()
```

## Import name conflict

If another dependency aleady uses the `ffmpeg` import name, like [typed-ffmpeg](https://github.com/livingbio/typed-ffmpeg) or
[ffmpeg-python](https://github.com/kkroening/ffmpeg-python), you can install the mirror package instead:

```commandline
pip install ffmpeg-binaries-compat
```

and use it with the import name `ffmpeg_binaries`:

```python
import ffmpeg_binaries as ffmpeg

# Initialize module (only if no binaries found)
ffmpeg.init()

# Call ffmpeg directly
ffmpeg.run_as_ffmpeg("-h")

# Call ffprobe directly
ffmpeg.run_as_ffprobe("-h")

# Use the binaries path in other modules
other_module.add_ffmpeg(ffmpeg.FFMPEG_PATH)

# Add directly to path
ffmpeg.add_to_path()
```
bseqgen 0.1.4
Library for generating and working with binary sequences.
Requires Python: >=3.11

# bseqgen

Current Version: 0.1.4

Small Python library for working with Binary Sequences, with a focus on pseudorandom binary sequences and signal-processing style operations.

> **Status:** Beta (API may evolve and change significantly before v1.0)

![PyPI](https://img.shields.io/pypi/v/bseqgen)

[![CI](https://github.com/bloopy-code/bseqgen/actions/workflows/main.yml/badge.svg)](https://github.com/bloopy-code/bseqgen/actions/workflows/main.yml)

---

## Features

- Tuple binary sequence representation.
- Input validation from strings, lists, tuples, etc.
- Shift sequences left/right (circular, supports negative shifts).
- Sequence repetition and truncation.
- Byte/hex/string representations.
- Basic sequence metrics (bit counts, balance, basic symbol entropy).
- bitwise `xor`, `bitwise_and`, `bitwise_or` (or use operators `^, &, |`).
- `inverted` to get inverted sequence (or use `~`).
- `to_numpy()` and `from_numpy()` for NumPy interop.
- Use `random_sequence` to generate a random binary sequence.

---

## Installation

```bash
pip install bseqgen
```

---

## Quick Examples

```python
from bseqgen.base import BinarySequence
from bseqgen import random_sequence

# can define your own binary sequence.
seq = BinarySequence("110011")

# or use one that comes with bseqgen
random_seq = random_sequence(n=10)

# enjoy! 
print(seq.bits)
# (1, 1, 0, 0, 1, 1)

print(seq.shift(2).bits)
# (0, 0, 1, 1, 1, 1)

print(seq.ones, seq.zeros)
# 4 2

print(seq.run_lengths)
# [(1, 2), (0, 2), (1, 2)]

print(seq & BinarySequence("111000").bits)
# (1, 1, 0, 0, 0, 0)

print(seq ^ BinarySequence("111000").bits)
# (0, 0, 1, 0, 1, 1)

print(seq | BinarySequence("111000").bits)
# (1, 1, 1, 0, 1, 1)

print(~seq.bits)
# (0, 0, 1, 1, 0, 0)

seq.to_numpy()
# array([1, 1, 0, 0, 1, 1], dtype=uint8)
```

## Roadmap

Planned additions include:

- PRBS generators (Gold codes, Walsh-Hadamard, Kasami and more)
- Autocorrelation and cross-correlation operations.
- Property stats and checks, and guess at what types of codes you might have and if it fits the ideal properties.

## License

MIT

## Support

Found a bug or want a feature? Please open an issue on GitHub:  
<https://github.com/bloopy-code/bseqgen/issues>