# Protein Data Bank (PDB) publication Loader
This loader fetches the abstract of PDB entries using the RCSB (Research Collaboratory for Structural Bioinformatics) or EBI (European Bioinformatics Institute) REST api.
## Usage
To use this loader, simply pass an array of PDB ids into `load_data`:
```python
from llama_hub.pdb import PdbAbstractReader
loader = PdbAbstractReader()
documents = loader.load_data(pdb_id=["1cbs"])
```
This loader is designed to be used as a way to load data into [LlamaIndex](https://github.com/run-llama/llama_index/tree/main/llama_index) and/or subsequently used as a Tool in a [LangChain](https://github.com/hwchase17/langchain) Agent. See [here](https://github.com/emptycrown/llama-hub/tree/main) for examples.
Raw data
{
"_id": null,
"home_page": "",
"name": "llama-index-readers-pdb",
"maintainer": "joshuakto",
"docs_url": null,
"requires_python": ">=3.8.1,<4.0",
"maintainer_email": "",
"keywords": "Protein Data Bank,academic papers,pdb,proteins",
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/2c/83/ec5a579d56e3aab89e34bad3edd2716730044839357ab8782ad0f9a9022a/llama_index_readers_pdb-0.1.3.tar.gz",
"platform": null,
"description": "# Protein Data Bank (PDB) publication Loader\n\nThis loader fetches the abstract of PDB entries using the RCSB (Research Collaboratory for Structural Bioinformatics) or EBI (European Bioinformatics Institute) REST api.\n\n## Usage\n\nTo use this loader, simply pass an array of PDB ids into `load_data`:\n\n```python\nfrom llama_hub.pdb import PdbAbstractReader\n\nloader = PdbAbstractReader()\ndocuments = loader.load_data(pdb_id=[\"1cbs\"])\n```\n\nThis loader is designed to be used as a way to load data into [LlamaIndex](https://github.com/run-llama/llama_index/tree/main/llama_index) and/or subsequently used as a Tool in a [LangChain](https://github.com/hwchase17/langchain) Agent. See [here](https://github.com/emptycrown/llama-hub/tree/main) for examples.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "llama-index readers pdb integration",
"version": "0.1.3",
"project_urls": null,
"split_keywords": [
"protein data bank",
"academic papers",
"pdb",
"proteins"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "af6a8f0191ead89ae2bf917160ee4426160cce476cd4b2735a7139cdfbcf11a0",
"md5": "c3ec224840e8c86f541ae6af1c245fa5",
"sha256": "4460eab2e8d60d0411dbacbbe0d2261d74d4c12d1c4104539d8d363a033e03bc"
},
"downloads": -1,
"filename": "llama_index_readers_pdb-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c3ec224840e8c86f541ae6af1c245fa5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8.1,<4.0",
"size": 3428,
"upload_time": "2024-02-21T20:38:14",
"upload_time_iso_8601": "2024-02-21T20:38:14.414228Z",
"url": "https://files.pythonhosted.org/packages/af/6a/8f0191ead89ae2bf917160ee4426160cce476cd4b2735a7139cdfbcf11a0/llama_index_readers_pdb-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2c83ec5a579d56e3aab89e34bad3edd2716730044839357ab8782ad0f9a9022a",
"md5": "6a7100c31742cc25a42a538afbbd7eb5",
"sha256": "f19cd86adc2f797932d9a7bd3bcd9b224f4adbac752099b9a551cfb7466bee9c"
},
"downloads": -1,
"filename": "llama_index_readers_pdb-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "6a7100c31742cc25a42a538afbbd7eb5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.1,<4.0",
"size": 2994,
"upload_time": "2024-02-21T20:38:16",
"upload_time_iso_8601": "2024-02-21T20:38:16.199247Z",
"url": "https://files.pythonhosted.org/packages/2c/83/ec5a579d56e3aab89e34bad3edd2716730044839357ab8782ad0f9a9022a/llama_index_readers_pdb-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-21 20:38:16",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-readers-pdb"
}