{ "info": { "author": "Devlin O'Brien", "author_email": "dobrien@my.ccsu.edu", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Proteo\n\nA simple Python library for working with UniProt, the *Universal Protein resource*.\n\n## Installation\n\n```\npip install proteo\n```\n\n## Usage\n\n```python\nfrom proteo.uniprot import UniprotClient\n\n# Initialize a client\nu = UniprotClient()\n\n# Use the get_protein method to retrieve a protein record by accession number\naccession_number = \"B5ZC00\"\nresponse = u.get_protein(accession_number)\n\n# Protein data is returned as a dictionary\nprint(response['gene'])\n#glyQS\n\nprint(response['recommended_name'])\n#Glycine--tRNA ligase\n\nprint(response['sequence'])\n#MKNKFKTQEELVNHLKTVGFVFANSEIYNGLANAWDYGPLGVLLKNNLKNLWWKEFVTKQKDVVGLDSAIILNPLVWKASGHLDNFSDPLIDCKNCKARYRADKLIESFDENIHIAENSSNEEFAKVLNDYEISCPTCKQFNWTEIRHFNLMFKTYQGVIEDAKNVVYLRPETAQGIFVNFKNVQRSMRLHLPFGIAQIGKSFRNEITPGNFIFRTREFEQMEIEFFLKEESAYDIFDKYLNQIENWLVSACGLSLNNLRKHEHPKEELSHYSKKTIDFEYNFLHGFSELYGIAYRTNYDLSVHMNLSKKDLTYFDEQTKEKYVPHVIEPSVGVERLLYAILTEATFIEKLENDDERILMDLKYDLAPYKIAVMPLVNKLKDKAEEIYGKILDLNISATFDNSGSIGKRYRRQDAIGTIYCLTIDFDSLDDQQDPSFTIRERNSMAQKRIKLSELPLYLNQKAHEDFQRQCQK\n```\n\n## Response Dictionary\n\nThe protein response dictionary contains the following items:\n\nKey | Meaning\n------------ | -------------\ngene | The gene coding the protein\nname | The protein's short name\norganism | The organism in which the protein is found\nprimary_accession_number | The protein's UniProt accession number\nrecommended_name | The protein's long/recommended name\nsequence | The amino acid sequence defining the protein\n\n## Exceptions\n\nProteo defines the following exceptions:\n\nException | Meaning\n------------ | -------------\nproteo.exceptions.ProteinNotFoundError | Raised when no protein can be found for the accession number that was provided.\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/5150brien/proteo", "keywords": "uniprot protein bioinformatics proteomics", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "proteo", "package_url": "https://pypi.org/project/proteo/", "platform": "", "project_url": "https://pypi.org/project/proteo/", "project_urls": { "Homepage": "https://github.com/5150brien/proteo" }, "release_url": "https://pypi.org/project/proteo/1.0.1/", "requires_dist": [ "requests" ], "requires_python": ">=3", "summary": "A simple client library for UniProt", "version": "1.0.1" }, "last_serial": 4994008, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "6092ce294c89a959308a3d5f33ffa155", "sha256": "cc722a93ae766a666c027543c3ec123a078667c135b4ddbd379c12a7db36930f" }, "downloads": -1, "filename": "proteo-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "6092ce294c89a959308a3d5f33ffa155", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 5188, "upload_time": "2019-03-27T17:25:20", "url": "https://files.pythonhosted.org/packages/fb/08/1bd782bac92c9e73a553975c41266d13d8e568d639cdf83608265a3963f3/proteo-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ce1ba181a08f09db8604b3a72132ea5c", "sha256": "e1c2a49720804bd73febf83e8bd2d0c3032493ea443a3efe973d7198ef3b156e" }, "downloads": -1, "filename": "proteo-1.0.1.tar.gz", "has_sig": false, "md5_digest": "ce1ba181a08f09db8604b3a72132ea5c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 3536, "upload_time": "2019-03-27T17:25:23", "url": "https://files.pythonhosted.org/packages/b0/68/4bccd8a1ca4814429647d5f85c1cfe7a01a4c5badcda462aadad46fe5801/proteo-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6092ce294c89a959308a3d5f33ffa155", "sha256": "cc722a93ae766a666c027543c3ec123a078667c135b4ddbd379c12a7db36930f" }, "downloads": -1, "filename": "proteo-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "6092ce294c89a959308a3d5f33ffa155", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 5188, "upload_time": "2019-03-27T17:25:20", "url": "https://files.pythonhosted.org/packages/fb/08/1bd782bac92c9e73a553975c41266d13d8e568d639cdf83608265a3963f3/proteo-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ce1ba181a08f09db8604b3a72132ea5c", "sha256": "e1c2a49720804bd73febf83e8bd2d0c3032493ea443a3efe973d7198ef3b156e" }, "downloads": -1, "filename": "proteo-1.0.1.tar.gz", "has_sig": false, "md5_digest": "ce1ba181a08f09db8604b3a72132ea5c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 3536, "upload_time": "2019-03-27T17:25:23", "url": "https://files.pythonhosted.org/packages/b0/68/4bccd8a1ca4814429647d5f85c1cfe7a01a4c5badcda462aadad46fe5801/proteo-1.0.1.tar.gz" } ] }