Catalog PyPI
PACKAGE EXPLORERView in registry

acidgenomics-pipette

PyPI

Unified reading and writing of data in Python.

bioinformaticsdata-iogenomicsio
Versions collected1
Direct dependencies20From release 0.2.1
Last observed20 Oct, 18:13 UTC

README

Version 0.2.1 documentation

pipette

Install with Bioconda Lifecycle: experimental

Unified reading and writing of data in Python.

Installation

uv method

This is a Python package hosted on PyPI as acidgenomics-pipette. The import name is unchanged: pipette. We recommend using uv to install.

uv add 'acidgenomics-pipette[extra]'

Or with pip:

pip install 'acidgenomics-pipette[extra]'

Conda method

Configure Conda to use the Bioconda channels.

# Don't install recipe into base environment.
name='pipette'
conda create --name="$name" "$name"
conda activate "$name"
python -c 'import pipette'

Conda has no equivalent of Python extras. For the optional format support that pipette[extra] provides, add the dependencies to the environment: conda create --name="$name" "$name" openpyxl pyarrow pyyaml scipy.

Quick Start

Read

import pipette

# Read a CSV file.
df = pipette.read("data.csv")

# Read a TSV file.
df = pipette.read("data.tsv")

# Read an Excel file (requires openpyxl).
df = pipette.read("data.xlsx")

# Read JSON.
data = pipette.read("data.json")

# Read from a URL.
df = pipette.read("https://example.com/data.csv")

Write

import pandas as pd
import pipette

df = pd.DataFrame(
    {"sample1": [1, 2, 3], "sample2": [4, 5, 6]},
    index=["gene1", "gene2", "gene3"],
)

# Write to CSV.
pipette.write(df, "output.csv")

# Write to TSV.
pipette.write(df, "output.tsv")

# Write compressed.
pipette.write(df, "output.csv.gz")

Data Transformation

# Sanitize NA values in string columns.
df = pipette.sanitize_na(df)

# Convert columns with duplicates to categorical.
df = pipette.categorize(df)

# Convert categorical columns back to their underlying type.
df = pipette.uncategorize(df)

# Drop columns holding nested (non-scalar) values.
df = pipette.drop_nested_columns(df)

Supported Formats

Read

FormatExtensionDependencies
CSV.csv-
TSV.tsv, .tab-
Excel.xlsx, .xlsopenpyxl
JSON.json-
YAML.yml, .yamlpyyaml
Pickle.pickle, .pkl-
Lines.txt, .log, .list-
GMT.gmt-
GMX.gmx-
GRP.grp-
GCT.gct-
GAF.gaf-
MTX.mtx, .mtx.gzscipy
Parquet.parquetpyarrow
Feather/Arrow.feather, .arrowpyarrow
HDF5.h5, .hdf5-

Write

FormatExtensionDependencies
CSV.csv-
TSV.tsv, .tab-
JSON.json-
YAML.yml, .yamlpyyaml
Pickle.pickle, .pkl-
Lines.txt, .log-

Compressed output is supported via .gz, .bz2, .xz, and .zip suffixes.

Optional Dependencies

  • openpyxl: Excel file support.
  • pyarrow: Parquet and Feather file support.
  • pyyaml: YAML file support.
  • scipy: MTX (Matrix Market) sparse matrix support.

License

Apache-2.0 — Copyright 2026 Acid Genomics LLC — see LICENSE.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.11 Sept 202620

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
acidgenomics/py-pipette

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:13 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:f85c0b722b7a8d75a566e067894d47bc3c67e3f320443b2a99fbb76af3390ecf