{ "info": { "author": "Bernard `Guyzmo` Pratz", "author_email": "pyparts@m0g.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved", "Operating System :: Unix", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4" ], "description": "Pyparts\n=======\n\nUtility to get information about parts from agregators.\n\nYou'll find the sources of the project on\nhttps://github.com/guyzmo/pyparts\n\nUsage\n-----\n\n::\n\n Usage:\n pyparts.py [-k ] [-t ] [-c ] [--help] [--version] [--verbose] [...]\n\n Options:\n -k Gives apikey\n -t Selects agregator. [default: octopart]\n -c --config Use configuration file. [default: ~/.config/pyparts.cfg]\n -h --help Show this screen.\n --version Show version.\n --verbose Show more details.\n\n Commands:\n lookup Search part\n specs Get specs for a part\n datasheet Download part's datasheet\n open Open part's page in browser\n help Give help for a command\n\n See `pyparts.py help ` to get more information on a command\n\nExample\n-------\n\nBelow you'll find a few example usage of the tool\n\nLookup a part\n~~~~~~~~~~~~~\n\n::\n\n % bin/pyparts lookup 'atmega 2560'\n Searched for: 'atmega 2560'\n \u2192 ATMEGA2560-16AU Atmel mcu 8-bit atmega avr risc 256kb flash 5v 100-pin tqfp\n \u2192 ATMEGA2560V8AU Atmel mcu 8-bit atmega avr risc 256kb flash 2.5v/3.3v/5v 100\n \u2192 ATMEGA1284P-PU Atmel mcu, 8bit, atmega, 20mhz, dip-40... atmel atmega-avr- pdip-40\n \u2192 ATSTK600 Atmel ers a quick start into the world of atmegas xmegas and design of new application\n \u2192 ATMEGA2560V-8CU Atmel mcu 8-bit atmega avr risc 256kb flash 2.5v/3.3v/5v 100\n \u2192 ATMEGA2560-16AUR Atmel mcu 8-bit atmega avr risc 256kb flash 5v 100-pin tqfp \n \u2192 ATMEGA2560V-8AUR Atmel mcu 8-bit atmega avr risc 256kb flash 2.5v/3.3v/5v 100\n \u2192 ATMEGA2560-16CU Atmel mcu 8-bit atmega avr risc 256kb flash 5v 100-pin cbga \n \u2192 ATMEGA2560-16AI Atmel manufacturer alias: atmega\n \u2192 ATMEGA2560V-8CUR Atmel mcu 8-bit atmega avr risc 256kb flash 2.5v/3.3v/5v 100\n \u2192 ATMEGA2560V-8AI Atmel manufacturer alias: atmega\n \u2192 ATMEGA2560-16AU Adesto Technologies 8bit mcu, 256k flash, 5v, smd, 2560; timers, no. of:6; bits, no. of:8; fre\n \u2192 ATMEGA2560-16CUR Atmel mcu 8-bit atmega avr risc 256kb flash 5v 100-pin cbga\n \u2192 ATMEGA2560R231-AU Atmel manufacturer alias: atmega\n \u2192 ATMEGA2560R212-AU Atmel manufacturer alias: atmega\n \u2192 ATMEGA2560R212-CU Atmel manufacturer alias: atmega\n \u2192 ATMEGA2560R231-CU Atmel manufacturer alias: atmega\n \u2192 ATMEGA2560V-8AU Adesto Technologies mcu 8-bit atmega avr risc 256kb flash 2.5v/3.3v/5v 100\n \u2192 ATMEGA256016AU Atmel manufacturer alias: atmega\n \u2192 ATMEGA2560V-8CU Adesto Technologies mcu 8-bit atmega avr risc 256kb flash 2.5v/3.3v/5v 100\n \u2192 ATMEGA2560-16CU Adesto Technologies mcu 8-bit atmega avr risc 256kb flash 5v 100-pin cbga \n \u2192 ATSTK600-ATMEGA2560 Atmel manufacturer alias: atmega\n \u2192 ATMEGA2560 Atmel manufacturer alias: atmega\n \u2192 ATMEGA2560V-8AU-RET Atmel manufacturer alias: atmega\n \u2192 D2560AJ Atmel manufacturer alias: atmega\n \u2192 ATTD2560AD Atmel manufacturer alias: atmega\n \u2192 2560R03510D Atmel manufacturer alias: atmega\n \u2192 MCU CARD ATMEGA2560 mikroElektronika Board: multiadapter; ATMEGA2560; In the set: prototype\n \u2192 2560-16AU Atmel manufacturer alias: atmega\n \u2192 2560V-8AU Atmel manufacturer alias: atmega\n \u2192 ATMEGA2560V-W 11 Atmel manufacturer alias: atmega\n \u2192 ATMEGA2560V-8AI TE Connectivity None\n \u2192 ATMEGA2560-16AI TE Connectivity None\n \u2192 ATMEGA2560V-8CUR TE Connectivity None\n \u2192 ATMEGA2560V-8AUR TE Connectivity None\n \u2192 ATMEGA2560R212-AU TE Connectivity None\n \u2192 ATMEGA2560-16CUR TE Connectivity None\n \u2192 ATMEGA2560R212-CU TE Connectivity None\n \u2192 ATMEGA2560R231-AU TE Connectivity None\n \u2192 ATMEGA2560R231-CU TE Connectivity None\n \u2192 ATMEGA2560-16AUR TE Connectivity None\n \u2192 ATMEGA2560-16AU SL383 Atmel manufacturer alias: atmega\n \u2192 ATMEGA2560V-8AU SL383 Atmel manufacturer alias: atmega\n \u2192 ATSTK600-ATMEGA2560 TE Connectivity None\n\nGet specification for a given part's product name\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n % bin/pyparts specs ATMEGA2560-16AUR\n Showing specs for 'ATMEGA2560-16AUR':\n \u2192 Manufacturer: Atmel\n \u2192 Specifications: \n \u2192 Number of Pins : 100\n \u2192 Supply Voltage (DC) : (V) min: 4.5\n \u2192 Clock Speed : 16000000.0 (Hz)\n \u2192 RoHS : Compliant\n \u2192 RAM Memory Size : 8192 (byte)\n \u2192 URI: http://octopart.com/atmega2560-16aur-atmel-18611869\n \u2192 Datasheets \n \u2192 URL: http://datasheet.octopart.com/ATMEGA2560-16AUR-Atmel-datasheet-13399453.pdf\n \u2192 Updated: 2012-10-04T12:50:24Z\n \u2192 Nb Pages: 447\n \u2192 URL: http://datasheet.octopart.com/ATMEGA2560-16AUR-Atmel-datasheet-5357710.pdf\n \u2192 Updated: 2007-08-23T10:58:35Z\n \u2192 Nb Pages: 448\n\nDownload datasheets for a given part's product name\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n % bin/pyparts datasheet ATMEGA2560-16AUR save --output .\n Downloading datasheet for 'ATMEGA2560-16AUR':\n [------------------------------------------------------------------------------------>]\n Datasheet file saved as ./ATMEGA2560-16AUR-ATMEGA2560-16AUR-Atmel-datasheet-13399453.pdf.\n [------------------------------------------------------------------------------------>]\n Datasheet file saved as ./ATMEGA2560-16AUR-ATMEGA2560-16AUR-Atmel-datasheet-5357710.pdf.\n\nOpen the part's webpage in your browser\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n % bin/pyparts show ATMEGA2560-16AUR\n Opening page for part 'ATMEGA2560-16AUR'.\n\nInstall\n-------\n\nThat utility is only compatible with Python3!\n\njust do:\n\n::\n\n python3 setup.py install\n\nand it'll be available as a shell command:\n\n::\n\n % pyparts -h\n\nwhen the tool will be considered stable enough, I'll upload it to\n`pipy `__:\n\n::\n\n % pip install pyparts\n\nConfiguration\n-------------\n\nTo use the tool you need to get an API key from Octopart for this to\nwork. To do so, you need to create an account and connect to the\n`Application registration page `__\nat Octopart and register an app (choose whatever name and url you want).\nFrom there you can copy the API key, e.g. 'ab12cd45' and use it the\nfollowing way:\n\n::\n\n % pyparts -k ab12cd45 lookup 'NE555'\n\nor store it in a config file, to avoid putting the key at each\ninvocation of the tool, default location being\n``~/.config/pyparts.cfg``:\n\n::\n\n [general]\n apikey='ab12cd45'\n\nor if you want to store your config file elsewhere, you can:\n\n::\n\n % pyparts -c ~/.pyparts.cfg lookup 'LM317'\n\nDevelopment\n-----------\n\nif you just want to develop, you can do:\n\n::\n\n % buildout\n\nwhich will download dependencies and deploy the CLI tool in ``bin``:\n\n::\n\n % bin/pyparts\n\nYou can run regression tests using:\n\n::\n\n % bin/test\n\nRoadmap\n-------\n\n- [ ] Other aggregator support\n- [ ] Bills of material support\n- [ ] Offers/pricing support\n- [ ] Add tests\n- [x] Configuration file support\n- [x] Octopart support\n- [x] Definition of basic CLI API\n\nAuthor\n------\n\nBernard ``Guyzmo`` Pratz\n\nLicense\n-------\n\n.. figure:: https://www.gnu.org/graphics/gplv3-127x51.png\n :alt: Under the GPLv3 License\n\n Under the GPLv3 License\n\n::\n\n Pyparts, Python utility to lookup and browse parts from commandline\n Copyright (C)2015, Bernard `Guyzmo` Pratz\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with this program. If not, see .", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/guyzmo/pyparts", "keywords": "download tv show", "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "pyparts", "package_url": "https://pypi.org/project/pyparts/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyparts/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/guyzmo/pyparts" }, "release_url": "https://pypi.org/project/pyparts/0.5/", "requires_dist": null, "requires_python": null, "summary": "Python electronic parts tool", "version": "0.5" }, "last_serial": 1452061, "releases": { "0.1": [], "0.2": [ { "comment_text": "", "digests": { "md5": "0c399a500c43f6036a32844dd18c3c72", "sha256": "c89cff1a80588411f7cc6be6d9702de20bfbd294fea4a999223fb6fe671fc297" }, "downloads": -1, "filename": "pyparts-0.2-py3.4.egg", "has_sig": false, "md5_digest": "0c399a500c43f6036a32844dd18c3c72", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 11328, "upload_time": "2015-03-07T11:44:04", "url": "https://files.pythonhosted.org/packages/4c/64/4af042dcba8afebf6189e8de522177c51c0d2d6a43d441a69cfcd02ee202/pyparts-0.2-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "62292299d62bbcabc377dde5907e8e0d", "sha256": "24e42f7ccff2f25f95b7a0f05dffe38d79dca54125479de5635e00f3abebd785" }, "downloads": -1, "filename": "pyparts-0.2.tar.gz", "has_sig": false, "md5_digest": "62292299d62bbcabc377dde5907e8e0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5083, "upload_time": "2015-03-07T11:44:08", "url": "https://files.pythonhosted.org/packages/0a/f1/476c8cf1ac710a3d09b682fb2faff600b3d9afbb5882eb40413fc8968f67/pyparts-0.2.tar.gz" } ], "0.3": [], "0.4": [], "0.5": [ { "comment_text": "", "digests": { "md5": "6ee7f2f2d644f9d31506543acd88ecb9", "sha256": "b0e34e06cdf76d7c40823f3eab1c138e26476876e29c227f520acc6bdf7d47ae" }, "downloads": -1, "filename": "pyparts-0.5-py3.4.egg", "has_sig": false, "md5_digest": "6ee7f2f2d644f9d31506543acd88ecb9", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 17335, "upload_time": "2015-03-07T14:55:29", "url": "https://files.pythonhosted.org/packages/f2/dc/c73dfbea9661e1a19da35eb939bf8ca7a9d4859cb336b601f1e9c16bf833/pyparts-0.5-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "d37bb9c51e82a8dc730b2316cae4d701", "sha256": "5cab1f3bdce7e0a18a21e7fd97a9950fa7d8d48f1b54020713b4c83bb197dd11" }, "downloads": -1, "filename": "pyparts-0.5.tar.gz", "has_sig": false, "md5_digest": "d37bb9c51e82a8dc730b2316cae4d701", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10975, "upload_time": "2015-03-07T14:55:32", "url": "https://files.pythonhosted.org/packages/2d/2a/16445f4bdd0becdd97800a2850065114d12c4af20a8018bb5306d6c495e4/pyparts-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6ee7f2f2d644f9d31506543acd88ecb9", "sha256": "b0e34e06cdf76d7c40823f3eab1c138e26476876e29c227f520acc6bdf7d47ae" }, "downloads": -1, "filename": "pyparts-0.5-py3.4.egg", "has_sig": false, "md5_digest": "6ee7f2f2d644f9d31506543acd88ecb9", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 17335, "upload_time": "2015-03-07T14:55:29", "url": "https://files.pythonhosted.org/packages/f2/dc/c73dfbea9661e1a19da35eb939bf8ca7a9d4859cb336b601f1e9c16bf833/pyparts-0.5-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "d37bb9c51e82a8dc730b2316cae4d701", "sha256": "5cab1f3bdce7e0a18a21e7fd97a9950fa7d8d48f1b54020713b4c83bb197dd11" }, "downloads": -1, "filename": "pyparts-0.5.tar.gz", "has_sig": false, "md5_digest": "d37bb9c51e82a8dc730b2316cae4d701", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10975, "upload_time": "2015-03-07T14:55:32", "url": "https://files.pythonhosted.org/packages/2d/2a/16445f4bdd0becdd97800a2850065114d12c4af20a8018bb5306d6c495e4/pyparts-0.5.tar.gz" } ] }