aboutsummaryrefslogtreecommitdiff
path: root/src/ee/digikey
Commit message (Collapse)AuthorAgeFilesLines
* ee.xsd:Trygve Laugstøl2019-05-141-16/+22
| | | | | | | | | o Removing distributor info, wasn't useful. o Removing part type, using a fact instead. part-search-list: o Putting in some smart rules about values for parts. Might be too smart for its own good. o Removing duplication checking, that is up to the searcher to decide.
* drawio-to-parts: new tool.Trygve Laugstøl2019-05-111-1/+1
| | | | | | ee.xsd: new type: Assembly and AssemblyPart. Should probably be its own file type. ee.part: Better DSL instead of using the raw xml types.
* digikey:Trygve Laugstøl2019-04-142-15/+58
| | | | | | o More flexibility, making room for the multiple digikey stores. o Removing URLs from core code. new tools: split_parts_by_supplier.
* o Removing all doit code. It was a failed experiment.Trygve Laugstøl2019-04-011-165/+0
|
* Project:Trygve Laugstøl2019-03-291-0/+1
| | | | | | o adding cache_dir field, useful for controlling where cached data is placed from a central place. o Updating tools to use this new variable.
* DigikeyParser: Picked last and thus wrong description. Be more specificTrygve Laugstøl2019-03-291-2/+1
| | | | when selecting description element.
* digikey-normalize-facts: Don't drop parts without any facts, they'reTrygve Laugstøl2019-03-281-3/+0
| | | | still useful.
* ee.xsd:Trygve Laugstøl2019-03-281-28/+32
| | | | | | | | | | | | | o Renaming <part-uri> to <part-reference>. o Adding <supplier> on <part>, removing from <supplier-part-number>. A part can have exactly one part. create-order: o Creating anonymous part objects, with two references, one schematic reference and one part-uri reference to the selected part. o Redoing how the order is calculated with the new ObjDb structure. ee.part.Part: o Absorbing bom_file_utils into Part. Much better wrapper object around the xml goop.
* xsd:Trygve Laugstøl2019-03-232-1/+53
| | | | | | | | | | | o Adding <link> list on <part>. For media, datasheets etc. digikey: o Parsing out media. PartDb: o starting on a more generic object db with indexes. order: o Using the new object db for building data while resolving parts. o Creating a report from the order.
* Refactoring:Trygve Laugstøl2019-03-152-14/+17
| | | | | | | | o Renaming part.id to part.uri. Changing to URIs and use that as an identifier if the part is known. Schematic part does not have an URI. o Merging <schema-reference> and <part-numbers> into <references> o Creating <part-uri> as a possible <reference>. Used by order to point to other parts.
* o Switching PartDb to serialize into many xml files into a singleTrygve Laugstøl2019-03-152-10/+6
| | | | <part-db> document.
* o Merging XSD files into one.Trygve Laugstøl2019-03-152-23/+23
|
* o Better searching for current currency.Trygve Laugstøl2019-03-151-1/+6
|
* o Adding PriceBreak. Parsing price breaks from DK.Trygve Laugstøl2019-03-152-7/+60
| | | | o Adding Money type with parsing.
* Digikey: extracting http caching into its own class.Trygve Laugstøl2019-03-081-14/+5
|
* o Create a new part when storing result, use Digikey's PN as id.Trygve Laugstøl2019-02-281-34/+42
|
* o Better code structure for normalization.Trygve Laugstøl2019-02-281-46/+54
|
* o Always sorting index.xml for better git diffs.Trygve Laugstøl2019-02-271-0/+150
| | | | | | o Normalizing more Digikey facts. o When creating distributor search lists, create a new plain <part> with containing only the part numbers.
* o Removing digikey specific DistributionInfo element. Can be generic.Trygve Laugstøl2019-02-261-12/+8
|
* o Creating a PartDb that manages a file system directory with one xmlTrygve Laugstøl2019-02-262-114/+11
| | | | | file per part. o Switching xml-based code to use PartDb.
* Digikey: replacing requests-based code with selenium.Trygve Laugstøl2019-02-243-24/+252
| | | | Adding new tools: digikey-import-parts and digikey-refresh-parts.
* o Updating digikey product parsing code. Using Selenium/WebDriver toTrygve Laugstøl2019-02-071-1/+1
| | | | fetch data.
* o Using the old name for the digikey cache directory.Trygve Laugstøl2018-08-041-1/+1
|
* o Handling digikey pages with a special "exact match" header + list ofTrygve Laugstøl2018-08-021-16/+30
| | | | | | | other categories to continue to search in. The header is just enough data for us. o Better digikey tests, saving local HTML instead of doing online requests.
* o Better logging when skipping digikey component resolving.Trygve Laugstøl2018-08-021-1/+1
|
* o Fixing a bad bug and learning some Python: list.insert(index, value)Trygve Laugstøl2018-08-021-3/+1
| | | | | | | | will only insert at index if the list is index long. If not it will just append them. Yay. Much better digikey part data now. Creating a ValueList that automatically expands the list. o Stopping with silly key and value replacements. o Updating tests.
* o Ignore power flags too, they're not real components.Trygve Laugstøl2018-07-311-12/+33
| | | | o Fixing digikey product lookup.
* o Changing resolve-schematic-components to create genericTrygve Laugstøl2018-07-301-16/+75
| | | | | | 'component-to-part-mapping' objects with seller=digikey o Implementing 'task_digikey_fetch_full_part_facts' that downloads info about each mapped parts with seller=digikey.
* o Support for resolving 'mpn' fields from digikey. CreatesTrygve Laugstøl2018-07-292-2/+89
| | | | 'digikey-part-stub', can be used to download the entire part later on.
* o Formatting, fixing warnings.Trygve Laugstøl2018-07-291-18/+20
|
* digikey.to_pandas(): Make sure that 'Digi-Key', 'MPN' and 'URL' fieldsTrygve Laugstøl2017-10-221-1/+4
| | | | | | always are in the data frame. kicad.to_pandas(): support Schematics objects too. read_schematics(): Support hierarchical labels.
* o Adding DigikeyRepository.to_pandas().Trygve Laugstøl2017-10-041-0/+17
|
* o Sorting products before downloading to be consistent across runs.Trygve Laugstøl2017-10-021-4/+19
| | | | o Storing the URL for each product.
* o Making sure attribute type's ids are int.Trygve Laugstøl2017-10-021-5/+10
| | | | o Making find_by_mpn return the first item found.
* o Better text extraction, fixing bug where 'Packaging' was not included.Trygve Laugstøl2017-10-011-2/+3
|
* o Preventing ConfigParser from lower casing the keys in the ini file.Trygve Laugstøl2017-09-301-4/+9
| | | | | Thanks to https://stackoverflow.com/a/19359720/245614. o Using different colors for the different log levels.
* o Reformat all.Trygve Laugstøl2017-09-301-3/+5
|
* o Switching from YAML to INI files for downloaded facts.Trygve Laugstøl2017-09-301-17/+63
| | | | o Improved fact downloader.
* o Let digikey-download-facts read .sch files directly.Trygve Laugstøl2017-09-241-0/+22
|
* setup.py: Adding install_requires.Trygve Laugstøl2017-09-101-18/+18
| | | | | digikey: Updating tests. Making sure the directory exist before writing facts. Stop recursing into new searches when a search returns multiple hits. Let the frontends do that.
* o Better API for the Digikey downloader.Trygve Laugstøl2017-09-061-24/+57
|
* o PEP 8 says python indent is 4 spaces.Trygve Laugstøl2017-09-031-180/+175
|
* o Adding tools to download facts about parts from Digi-Key.Trygve Laugstøl2017-09-031-0/+240