Skip to main content

⚠️ DEPRECATED: mhcnames is no longer maintained. Please use mhcgnomes instead, which provides a superset of mhcnames functionality with support for more MHC nomenclature systems.


DEPRECATED: you should use mhcgnomes instead

Tests PyPI

mhcnames

All the fun and adventure of MHC nomenclature, now in Python

Python 3.11 or later is required. New projects should use mhcgnomes instead.

Example

In [1]: mhcnames.parse_allele_name("HLA-A0201")
Out[1]: AlleleName(species='HLA', gene='A', allele_family='02', allele_code='01')

In [2]: mhcnames.compact_allele_name("HLA-A*02:01")
Out[2]: 'A0201'

Metadata

Release files for mhcnames 0.4.9

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

Source distribution (sdist)

Source distribution for mhcnames 0.4.9
File Size Uploaded Provenance
mhcnames-0.4.9.tar.gz 14.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mhcnames 0.4.9
File Interpreter ABI Platform
mhcnames-0.4.9-py3-none-any.whl Python 3 none any Details

Total release size: 31.0 kB

Release files / mhcnames-0.4.9.tar.gz

Download URL mhcnames-0.4.9.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
70194241c083e4f49c298df961fb02a3a58d721fa26c18aa19d7091fe63a55d1
BLAKE2b-256 checksum
How to use checksums
e7cbfd1a47dfc2e660f681b99ced86d36426cb0b3af7c25fee5d4570a4db95c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.12

Release files / mhcnames-0.4.9-py3-none-any.whl

Download URL mhcnames-0.4.9-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6911cf1fd4623940f178356dc941dc4bebf9194c9415dacb628f378b90253f0a
BLAKE2b-256 checksum
How to use checksums
907a355f0a674be738a3158f27cb3056b5dfa0433d604c8edf9fe9ac7215b4d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.12

Security for mhcnames 0.4.9

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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