Lightweight Python library to fetch and analyze protein sequences from UniProt.
Project description
ProKit (Protein Analysis Library)
ProKit is a Python library to fetch and analyze protein sequences from UniProt.
It calculates molecular weight, hydrophobic ratio, and displays results in a neat, organized table.
Installation
Install from PyPI:
pip install prokit from prokit import Protein
Create a Protein object by specifying the protein name
p = Protein.from_name("Hemoglobin subunit beta")
Show summary table
p.show_summary() # Displays Name, Organism, Length, Molecular Weight, Hydrophobic Ratio
Available Properties and Methods
| Property / Method | Description |
|---|---|
p.sequence |
Full protein sequence as a string |
p.name |
Protein name |
p.organism |
Source organism of the protein |
p.molecular_weight() |
Calculates and returns the molecular weight |
p.hydrophobic_ratio() |
Calculates and returns the fraction of hydrophobic residues |
License
MIT License – Free to use, modify, and distribute with attribution to the original author.
Author
Sarah Ali – alsayedsarah01@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file prokit-0.1.2.tar.gz.
File metadata
- Download URL: prokit-0.1.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
017e23b02deb388f6c8c4f6ae3a69a563008726bd98155e771644124a1868fbc
|
|
| MD5 |
60a0e2f769d4b9f8146b8591dab296ef
|
|
| BLAKE2b-256 |
614f6bebfe5f5c24c90a446743d7bf4efd63d0b3668890770db77c90b32aee4b
|
File details
Details for the file prokit-0.1.2-py3-none-any.whl.
File metadata
- Download URL: prokit-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aee9f9d29f8e001e7bd6a5af203dcab212eca77852edd7b6ae507dc565cb45b
|
|
| MD5 |
9dd23139e247eb091d7b83c95a130339
|
|
| BLAKE2b-256 |
211180667d409db60f51f14b2bc2b83b15b6dd5e9d43ef499a739b49edddf945
|