PYPI PACKAGE AUDIT v1.4.0 Necesita Mejoras

pepdata

Conjuntos de datos de péptidos inmunológicos y propiedades de aminoácidos

PyPkgScore pepdata
Metodología y Criterios ♥ Donate
635 / 1000
Instalación Rápida
pip install pepdata
1. Gobernanza
50/200
2. Metadatos PEP
200/200
3. Seguridad
150/200
4. Docs y SEO
105/200
5. Ingeniería CI
130/200
📣 Compartir Auditoría: Comparte este informe y la vista previa en el idioma actual
Advertisement
TELEMETRÍA PYPI

Descargas y Adopción en la Comunidad

Últimos 30 días (sin espejos)
Últimos 7 días
512
Últimos 30 días
925
Total (180 días)
1541
Métrica / Ecosistema Estado / Valor Fuente
Downloads (30d / 180d) — PyPI Stats (without mirrors)
Trusted Publishing (PEP 740) ✕ Not detected PyPI Integrity / Sigstore
Django Packages — djangopackages.org
PyTech / PyPkgScore 635 / 1000 PyPkgScore Engine

Análisis de Salud e Ingeniería (5 Pilares)

1. Gobernanza y Comunidad50 / 200 ▾
LICENSE✓ 50 pts
SECURITY.md✕ 0 pts
CONTRIBUTING.md✕ 0 pts
CODE_OF_CONDUCT.md✕ 0 pts
2. Metadatos y Empaquetado PEP200 / 200 ▾
Wheel (.whl)✓ 50 pts
pyproject.toml✓ 50 pts
Project URLs✓ 50 pts
Trove Classifiers✓ 50 pts
3. Seguridad y Cadena de Suministro150 / 200 ▾
Cero CVEs (OSV)✓ 60 pts
Trusted Publishing (OIDC)✕ 0 pts
Snyk / Audit Link✓ 40 pts
Repositorio HTTPS✓ 50 pts
4. Documentación, SEO y Ecosistema105 / 200 ▾
README Estructurado✓ 60 pts
Read the Docs✕ 0 pts
Django Packages✕ 0 pts
Sitio Web / Artículos Técnicos✓ 45 pts
5. Ingeniería, CI y Calidad130 / 200 ▾
Pruebas Automatizadas✓ 65 pts
GitHub Actions CI✓ 65 pts
CHANGELOG.md✕ 0 pts
Env & Lockfile (uv/rye/poetry/pdm/hatch)✕ 0 pts
Advertisement
README & DOCS

Documentación Oficial y Guía de Uso — pepdata

PyPI Metadata v1.4.0
Mostrar documentación original completa (README en inglés) ▾

Tests Documentation PyPI

pepdata

pepdata ships amino-acid property tables and pairwise residue matrices (BLOSUM, PMBEC, contact energies), turns peptide sequences into n-gram feature vectors, and loads MHC-binding and T-cell assay tables from the IEDB. It is the OpenVax library for peptide-level reference data. It does not predict MHC binding; for that, see mhctools and mhcflurry.

Install

python -m pip install pepdata

pepdata needs Python 3.11 or later. Property tables and matrices ship with the package and work offline. The IEDB tables are downloaded on first use and cached by datacache.

Quick start

from pepdata.amino_acid_properties import hydropathy

peptide = "ACD"
print([hydropathy[residue] for residue in peptide])
[1.8, 2.5, -3.5]

Each property table is a dictionary from single-letter residue to value. Use uppercase canonical residue letters; a missing letter raises KeyError.

Documentation

The documentation has two guides and an API reference:

  1. Residue and pairwise tables: property dictionaries, BLOSUM and other matrices, alphabets.
  2. Peptide features and IEDB tables: n-gram vectors and the MHC-binding and T-cell assay loaders.
  3. API reference.
Task Module or object
Single-residue properties pepdata.amino_acid_properties
BLOSUM substitution matrices pepdata.blosum
PMBEC and contact tables pepdata.pmbec, pepdata.residue_contact_energies
Residue alphabets pepdata.amino_acid_alphabet, pepdata.reduced_alphabet
N-gram features pepdata.PeptideVectorizer
MHC-binding assay tables pepdata.iedb.mhc
T-cell assay tables pepdata.iedb.tcell

Development

python -m pip install -e . pytest pytest-cov ruff
./lint.sh   # ruff check
./test.sh   # pytest with coverage
python -m pip install -r requirements-docs.txt
./docs.sh   # mkdocs build --strict, then a rendered-link check
python scripts/check_docs_examples.py   # run docs examples, compare output

The development installer uses python from the active environment. Set PYTHON=/path/to/python ./develop.sh to select an interpreter explicitly; additional arguments are passed to pip.

License

Apache 2.0; see LICENSE.txt.