Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.1.0 instead.
Reason given by maintainers: Superseded by 1.1.0b2; its GPU path needs bed-reader's withdrawn GPU API

PySnpTools

PySnpTools is a library for reading and manipulating genetic data.

Main Features:

  • SnpReader: Efficiently read genetic PLINK formats including *.bed/bim/fam files. Also, efficiently read parts of files, read kernel data, and standardize data. New features include multi-threaded BED reading, cluster-ready BED data, on-the-fly SNP generation, and larger in-memory data.

  • Experimental GPU arrays: Read, standardize, and construct kernels with CuPy. ARRAY_MODULE and ARRAY_DTYPE supply optional backend/precision environment defaults. See the GPU guide and workflow notebook. The cupy extra uses CUDA-enabled bed-reader wheels for native GPU BED reads.

  • DistReader: Efficiently work with unphased BGEN format and other diploid, biallelic distribution data. Also, efficiently read parts of files. See Distribution IPython Notebook.

  • util: In one line, intersect and re-order IIDs from snpreader and other sources. Also, efficiently extract a submatrix from an ndarray.

  • IntRangeSet: Efficiently manipulate ranges of integers - for example, genetic position - with set operators including union, intersection, and set difference.

  • mapreduce1: Run loops locally, on multiple processors, or on any cluster.

  • filecache: Read and write files locally or from/to any remote storage.

Install

pip install pysnptools

Requires Python 3.11.5 or later. Python 3.15 qualification is in progress.

For the experimental GPU alpha, after 1.1.0a1 is published:

pip install "pysnptools[cupy]==1.1.0a1"

GPU use requires compatible NVIDIA hardware, a driver, and CuPy's CUDA setup. Python 3.15 is currently CPU-only; see the GPU guide for platform limits.

HDF5 support is optional. To read or write HDF5 files, install:

pip install pysnptools[hdf5]

Existing HDF5 users upgrading from an earlier release should install this extra.

If you need support for BGEN files, instead do:

pip install pysnptools[bgen]

Documentation

Code

Contacts

Metadata

Release files for pysnptools 1.1.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for pysnptools 1.1.0a1
File Size Uploaded Provenance Actions
pysnptools-1.1.0a1.tar.gz 251.5 kB Without provenance Details for pysnptools-1.1.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pysnptools 1.1.0a1
File Interpreter ABI Platform Actions
pysnptools-1.1.0a1-py3-none-any.whl Python 3 none any Details for pysnptools-1.1.0a1-py3-none-any.whl

Total release size: 569.2 kB

Release files / pysnptools-1.1.0a1.tar.gz

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL pysnptools-1.1.0a1.tar.gz
Size 251.5 kB
Tags Source
SHA-256 checksum
How to use checksums
525f914ebeaf7202d97eced20d698dddc56814ffc310fef09caab59813eb7309
BLAKE2b-256 checksum
How to use checksums
e43bba148b36843df5a0901dd9079ade2f239556b7efeda5f9d6c8627160f713
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.15.2

Release files / pysnptools-1.1.0a1-py3-none-any.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL pysnptools-1.1.0a1-py3-none-any.whl
Size 317.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
330ab3c07c2a710545ed9e34b978fe521f29ef84919021cfad8bce87f529e63a
BLAKE2b-256 checksum
How to use checksums
ba090105235996b30a8890853f1664b79578b1f5a29e2163013f42bb236bf589
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.15.2

Security for pysnptools 1.1.0a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 1.0.1 2 files With provenance
  • Added 1.1.0a1 2 files Without provenance

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0a1 This release

2 release files Loss of provenance

0.3.10

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page