semvec/pypi-packages huggingface dataset:
pridefetch 0.5.1
Python API for fetching PRIDE Archive dataset files.
Requires Python: >=3.8
Keywords: proteomics, mass-spectrometry, pride, bioinformatics, api

# PrideFetch

PrideFetch is a Python API package for discovering and downloading PRIDE Archive dataset files. It wraps the PRIDE REST API, resolves file download URLs, and provides parallel downloads with resume support.

## Installation

```bash
pip install pridefetch
```

## Quick Start

```python
from pridefetch import list_raw_files, download_files

accession = "PXD032067"
files = list_raw_files(accession)

results = download_files(
    accession,
    files,
    output_dir="./downloads/PXD032067",
    overwrite=False,
    resume=True,
    workers=4,
    show_progress=False,
    verify_checksums=True,
)

print(results)
```

## Authenticated Access

PrideFetch supports API key authentication using a configurable header.

```python
from pridefetch import AuthConfig, PrideFetchClient

auth = AuthConfig(api_key="your-token", header_name="X-API-Key")

with PrideFetchClient(auth=auth) as client:
    files = client.list_raw_files("PXD032067")
    results = client.download_files("PXD032067", files)
```

You can also load credentials from environment variables:

```bash
export PRIDEFETCH_API_KEY="your-token"
export PRIDEFETCH_API_KEY_HEADER="X-API-Key"
```

```python
from pridefetch import PrideFetchClient, load_auth_from_env

with PrideFetchClient(auth=load_auth_from_env()) as client:
    project = client.fetch_project("PXD032067")
    print(project["title"])
```

## API Overview

- `fetch_project(accession)`
- `list_files(accession)`
- `list_raw_files(accession)`
- `filter_files(files, ...)`
- `build_download_tasks(accession, files, ...)`
- `download_files(accession, files, ...)`
- `PrideFetchClient` for session reuse and auth

## User Guide

See the full user guide in [DEV.md](https://github.com/ImMortaLGuruji/PrideFetch/blob/main/DEV.md).

## License

MIT License
xarray-ms 0.3.9
xarray MSv4 views over MSv2 Measurement Sets
Requires Python: >=3.10

xarray-ms
=========

|CI Status| |Doc Status| |Version Status|

xarray-ms presents an xarray Measurement Set v4 view over a CASA Measurement Set v2.
See the documentation_ for further information.

.. _documentation: https://xarray-ms.readthedocs.io
.. |CI Status| image:: https://github.com/ratt-ru/xarray-ms/actions/workflows/ci.yml/badge.svg
   :target: https://github.com/ratt-ru/xarray-ms/actions/workflows/ci.yml
   :alt: Continuous Integration Status
.. |Doc Status| image:: https://readthedocs.org/projects/xarray-ms/badge/?version=latest
   :target: https://xarray-ms.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status
.. |Version Status| image:: https://img.shields.io/pypi/v/xarray-ms.svg
   :target: https://pypi.python.org/pypi/xarray-ms
   :alt: Version Status