semvec/pypi-packages huggingface dataset:
plibflac 1.0.0
Read and write FLAC audio files
Requires Python: >=3.5

plibflac
========

This package provides a Python library for reading and writing audio
files in FLAC (Free Lossless Audio Codec) format.

`plibflac` is implemented as a wrapper around the reference FLAC
implementation (libFLAC) written by Josh Coalson and maintained by
Xiph.Org.


Installation
------------

Install this package from PyPI by running:
```
pip install plibflac
```

If you want to build the package from source (e.g., from the git
repository), you will need to have a C compiler and the Python headers
installed.


Project goals
-------------

The main goal of this project is to provide a portable and efficient
interface for reading and writing raw sample data, in FLAC format,
from Python applications.

This package currently does not implement the complete functionality
provided by the FLAC library.  If there are particular missing
features that your application needs, please report them via GitHub
issues.


Example
-------

In the code below, we first open a FLAC file and print the first 10
samples of each channel.  Next, we read the entire stream and write it
out to a new FLAC file (re-encoding it using compression level 8.)

```
import plibflac

with plibflac.Decoder("input.flac") as decoder:
    samples = decoder.read(10)
    for i, s in enumerate(samples):
        print("First 10 samples of channel {}: {}".format(i, list(s)))

    decoder.seek(0)
    with plibflac.Encoder("output.flac", compression_level=8,
                          channels=decoder.channels,
                          bits_per_sample=decoder.bits_per_sample,
                          sample_rate=decoder.sample_rate) as encoder:
        while data := decoder.read(1000):
            encoder.write(data)
```
phylorun 0.10.0
Add your description here
Requires Python: >=3.10

# 🧬 PhyloRun

PhyloRun allows you to run BEAST X, BEAST 2, RevBayes, and LPhy experiments using a single tool.

## 📦 Installation

Use pip to install the CLI tool:

```bash
pip install --upgrade phylorun
```

## 🚀 Features

### Run BEAST X, BEAST 2, RevBayes and LPhy analyses

```bash
phylorun someBeastXModel.xml
phylorun someBeast2Model.xml
phylorun someRevModel.rev
phylorun someRevModel.lphy
```

`phylorun` automatically detects which MCMC engine to use.

By default, `phylorun` tries to use your existing installation of the engine. If this fails, you can specify the location of the binary on your system:

```bash
phylorun --bin "/Applications/BEAST X 10.5.0/bin/beast" someBeastXModel.xml
phylorun --bin "/Applications/BEAST 2.7.7/bin/beast" someBeast2Model.xml
phylorun --bin "/usr/bin/rev" someRevModel.rev
```

If you don't have an engine installed on your local system, you can use the `--container` flag and `phylorun` automatically installs everything that's needed in an isolated environment:

```bash
phylorun --container someBeastXModel.xml
phylorun --container someBeast2Model.xml
phylorun --container someRevModel.rev
```

Currently, this does not work when your BEAST 2 analysis uses packages.

### Run PhyloSpec analyses

`phylorun` can run a PhyloSpec analysis using any of the engines:

```bash
phylorun --engine lphy model.phylospec
```

### Benchmark engines

You can use `phylorun` to see which engine is the fastest for your PhyloSpec model:

```bash
phylorun benchmark model.phylospec
```

### Validate engines

You can use `phylorun` to validate that the engines produce the same results for your PhyloSpec model:

```bash
phylorun validate model.phylospec
```

### Configuration

All unknown arguments are directly passed to the engine (put them at the end of the command):

```bash
phylorun someBeast2Model.xml -resume
```

For LPhy, arguments prefixed with `--beast2` will be passed to BEAST 2 and not to LPhyBeast:

```bash
phylorun someLphyModel.lphy --beast2-resume
```