{ "info": { "author": "Matthew Lewis", "author_email": "matt@mplewis.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP :: Indexing/Search" ], "description": "Digiglass\n=========\n\n*Search Digi-Key from your terminal*\n\nSearching Digi-Key can be a pain. Here's a list of things I do every\ntime I search for an item:\n\n- Filter by \"In Stock\"\n- Filter by \"Quantity Desired: 1\"\n- Sort by price, ascending\n\nEach of those actions takes a click and a couple seconds to load. I can\nautomate these tasks and do most of the work from the command line.\n\nUsage\n=====\n\n- Search for blue LEDs:\n ``digiglass blue led``\n- Search for 470-ohm resistors in the through-hole category:\n ``digiglass -c 'through hole resistor' 470 ohm``\n- Browse all resistor kits:\n ``digiglass --category 'resistor kit'``\n\n``-c`` and ``--category`` are interchangeable. Category names support\nfuzzy search - you can type part of the name and the proper category\nwill probably appear.\n\nInstallation\n============\n\nThis is a Python 3 script, so use ``pip3`` to install:\n\n::\n\n pip3 install digiglass\n\nFilters\n=======\n\nSpecify a filter to be used during a search like this:\n``digiglass --filter some_new_filter``\n\nYou can customize the filters used by Digiglass by modifying\n``~/.digiglass``. It's a YAML file that looks like this:\n\n::\n\n filters:\n my_filter:\n in_stock: true\n lead_free: false\n rohs_compliant: false\n sort_by: '1000011' # Unit price, USD, ascending\n min_quantity: 1\n pb_rohs:\n lead_free: true\n rohs_compliant: true\n\n settings:\n default_filter: my_filter\n\nValid options are:\n\n- ``in_stock``: Item must be in stock\n- ``lead_free``: Item must be lead free\n- ``rohs_compliant``: Item must be RoHS compliant\n- ``sort_by``: The column by which to sort results\n- ``min_quantity``: At least this many of this item must be available\n\nEvery field in a filter is optional.\n\n``default_filter`` is used when no filter is specified.\n\nFields not specified in a requested filter use the default filter's\nsettings.\n\nTroubleshooting\n===============\n\nHaving issues? Try clearing the app's cache: ``digiglass --clear-cache``\n\nStill having issues? Odds are Digi-Key changed their HTML format. They\nprobably broke the app's screen scraping. Let me know and I'll try and\nfix it\u2014or dig in yourself! Screen scraping is fun.\n\nContributions\n=============\n\nBug reports, fixes, or features? Feel free to open an issue or pull\nrequest any time. You can also tweet me at\n[@mplewis](http://twitter.com/mplewis) or email me at matt@mplewis.com.\n\nLicense\n=======\n\nCopyright (c) 2014 Matthew Lewis. Licensed under `the MIT\nLicense `__.", "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/mplewis/digiglass", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "digiglass", "package_url": "https://pypi.org/project/digiglass/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/digiglass/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mplewis/digiglass" }, "release_url": "https://pypi.org/project/digiglass/1.0.4/", "requires_dist": null, "requires_python": null, "summary": "Search Digi-Key from your terminal", "version": "1.0.4" }, "last_serial": 1556968, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "890b51b9356018f33e6ea46d6d0ce8f5", "sha256": "666e8d3dba5f454ba29bc494be8fdf8a81a5c43785f45ea5962bf1af09053fe5" }, "downloads": -1, "filename": "digiglass-1.0.1.tar.gz", "has_sig": false, "md5_digest": "890b51b9356018f33e6ea46d6d0ce8f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7308, "upload_time": "2015-05-14T21:20:41", "url": "https://files.pythonhosted.org/packages/08/bf/3fce3e0204039a1e332acd96e76c657a223d6b3dd1943f33d952ed94951f/digiglass-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "2ec5d5911549a37e82b3c3e56fa64d10", "sha256": "eebc56ff77a2f2d17eeddf30e56de01b3dd7f1c771141778dbb31db36b23c6dc" }, "downloads": -1, "filename": "digiglass-1.0.2.tar.gz", "has_sig": false, "md5_digest": "2ec5d5911549a37e82b3c3e56fa64d10", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7752, "upload_time": "2015-05-14T21:40:43", "url": "https://files.pythonhosted.org/packages/e3/00/2a173e947773388a26d444e5a0a1c26ca7972e121dd6323dfb577c319fa5/digiglass-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "ff95bdd253d97e051b8a2fc1e5533b62", "sha256": "781e5752cbecc347668b7a21e4d8e8b53806b6d0596cb1fb949acdcb19b4ca6e" }, "downloads": -1, "filename": "digiglass-1.0.3.tar.gz", "has_sig": false, "md5_digest": "ff95bdd253d97e051b8a2fc1e5533b62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7777, "upload_time": "2015-05-14T22:11:09", "url": "https://files.pythonhosted.org/packages/8f/a3/ac516312774032d9b612c88971af1951d2510c6995eea26cc1571be11c4a/digiglass-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "a61578790fdf3c7520aa8ef725dba934", "sha256": "81cda31c91c77959b75586a4c4d2412917a8215d591ae7c3346733264ae6046a" }, "downloads": -1, "filename": "digiglass-1.0.4.tar.gz", "has_sig": false, "md5_digest": "a61578790fdf3c7520aa8ef725dba934", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8002, "upload_time": "2015-05-21T20:54:06", "url": "https://files.pythonhosted.org/packages/9b/6e/38ec9fe0a4e88a7a23d362d96e4ec7d1cdee373e760852c4791ee8f6b975/digiglass-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a61578790fdf3c7520aa8ef725dba934", "sha256": "81cda31c91c77959b75586a4c4d2412917a8215d591ae7c3346733264ae6046a" }, "downloads": -1, "filename": "digiglass-1.0.4.tar.gz", "has_sig": false, "md5_digest": "a61578790fdf3c7520aa8ef725dba934", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8002, "upload_time": "2015-05-21T20:54:06", "url": "https://files.pythonhosted.org/packages/9b/6e/38ec9fe0a4e88a7a23d362d96e4ec7d1cdee373e760852c4791ee8f6b975/digiglass-1.0.4.tar.gz" } ] }