6
mirror of https://github.com/AllSpiceIO/cofactr-cogs.git synced 2025-04-01 05:36:54 +00:00
Commit Graph

61 Commits

Author SHA1 Message Date
e541967a46
Merge pull request from AllSpiceIO/dependabot/pip/ruff-0.9.4
Bump ruff from 0.8.4 to 0.9.4
2025-02-03 09:12:00 -05:00
dependabot[bot]
98d9025995
Bump ruff from 0.8.4 to 0.9.4
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.8.4 to 0.9.4.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.8.4...0.9.4)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-01 03:31:47 +00:00
5cf4056fae
Merge pull request from AllSpiceIO/dependabot/pip/mypy-1.14.1
Bump mypy from 1.11.2 to 1.14.1
2025-01-02 08:41:31 -08:00
dependabot[bot]
df720d598e
Bump mypy from 1.11.2 to 1.14.1
Bumps [mypy](https://github.com/python/mypy) from 1.11.2 to 1.14.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.11.2...v1.14.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-01 17:01:41 +00:00
b5aa11ac7c
Merge pull request from AllSpiceIO/dependabot/pip/ruff-0.8.4
Bump ruff from 0.8.1 to 0.8.4
2025-01-01 09:00:39 -08:00
dependabot[bot]
a931c0a4ad
Bump ruff from 0.8.1 to 0.8.4
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.8.1 to 0.8.4.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.8.1...0.8.4)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-01 03:21:32 +00:00
d91f2fd138
Merge pull request from AllSpiceIO/dependabot/pip/ruff-0.8.1
Bump ruff from 0.6.8 to 0.8.1
2024-12-02 09:41:53 -05:00
dependabot[bot]
6892dbd860
Bump ruff from 0.6.8 to 0.8.1
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.8 to 0.8.1.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.8...0.8.1)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-01 03:34:22 +00:00
fe5b012865
Merge pull request from AllSpiceIO/dependabot/pip/ruff-0.6.8
Bump ruff from 0.6.3 to 0.6.8
2024-10-01 10:36:38 +02:00
dependabot[bot]
dd93f2ec30
Bump ruff from 0.6.3 to 0.6.8
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.3 to 0.6.8.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.3...0.6.8)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-01 03:18:09 +00:00
76d8435298
Merge pull request from AllSpiceIO/dependabot/pip/mypy-1.11.2
Bump mypy from 1.10.0 to 1.11.2
2024-09-03 09:55:15 -04:00
dependabot[bot]
b51000280f
Bump mypy from 1.10.0 to 1.11.2
Bumps [mypy](https://github.com/python/mypy) from 1.10.0 to 1.11.2.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.10.0...v1.11.2)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 20:20:03 +00:00
f16aed0b9c
Merge pull request from AllSpiceIO/dependabot/pip/ruff-0.6.3
Bump ruff from 0.4.7 to 0.6.3
2024-09-01 16:19:03 -04:00
dependabot[bot]
51a44271bc
Bump ruff from 0.4.7 to 0.6.3
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.7 to 0.6.3.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.4.7...0.6.3)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 03:45:04 +00:00
dependabot[bot]
314b79d68b
Bump the requests-dependencies group with 2 updates ()
Bumps the requests-dependencies group with 2 updates: [types-requests](https://github.com/python/typeshed) and [requests](https://github.com/psf/requests).


Updates `types-requests` from 2.32.0.20240523 to 2.32.0.20240602
- [Commits](https://github.com/python/typeshed/commits)

Updates `requests` from 2.32.0 to 2.32.3
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.0...v2.32.3)

---
updated-dependencies:
- dependency-name: types-requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: requests-dependencies
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: requests-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 12:03:54 -04:00
Jonathan Tran
56d3a77d21
Fix to update type stubs and package together () 2024-06-03 12:18:12 -04:00
dependabot[bot]
bc77eb1537
Bump types-requests from 2.31.0.20240406 to 2.32.0.20240523 ()
Bumps [types-requests](https://github.com/python/typeshed) from 2.31.0.20240406 to 2.32.0.20240523.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-requests
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 12:04:42 -04:00
dependabot[bot]
b1e42fc5b0
Bump ruff from 0.4.4 to 0.4.7 () 2024-06-01 19:43:02 -04:00
Jonathan Tran
9cfa087ccf
Change to sort imports () 2024-05-31 19:04:19 -04:00
Jonathan Tran
c8c33be354
Merge pull request from AllSpiceIO/jt/search-strategy
feat: Change search strategy and add manufacturer to query
2024-05-28 14:31:35 -04:00
Jonathan Tran
3c672f6012
Move code inside module 2024-05-24 14:35:40 -04:00
Jonathan Tran
7992c93281
Add reference to action parameters in error messages 2024-05-24 13:25:54 -04:00
Jonathan Tran
c331db38f8
Remove defaults for BOM column names 2024-05-24 13:25:53 -04:00
Jonathan Tran
5a875823da
Change to only output manufacturer column when it's used 2024-05-24 13:24:15 -04:00
Jonathan Tran
ac0589f787
Add link to Cofactr API docs in readme 2024-05-24 13:24:15 -04:00
Jonathan Tran
389c847895
Change search strategy to an enum and split code out to module 2024-05-24 13:24:15 -04:00
Jonathan Tran
4bc3eda060
Fix to work when no price breakpionts for a quantity 2024-05-24 13:24:15 -04:00
Jonathan Tran
5730c56703
Add debug printing 2024-05-24 13:24:15 -04:00
Jonathan Tran
f82285d690
Add reference to action parameter name in error message 2024-05-24 13:24:15 -04:00
Jonathan Tran
de56ad5b80
Fix to not include parts with empty prices 2024-05-24 13:24:15 -04:00
Jonathan Tran
934d7d57e0
Add Cofactr ID to output
This also fixes it to treat part numbers with different manufacturer as
separate.
2024-05-24 13:24:15 -04:00
Jonathan Tran
6ada905fcc
Change to main function 2024-05-24 13:24:15 -04:00
Jonathan Tran
a25f1c4404
Add search strategy to readme 2024-05-24 13:24:15 -04:00
Jonathan Tran
57bb688bd9
Change search_strategy of "default" to "fuzzy" 2024-05-24 13:24:15 -04:00
Jonathan Tran
e91223ecff
Remove documentation for search strategies that aren't recommend by Cofactr 2024-05-24 13:24:15 -04:00
Jonathan Tran
7b299ff7e6
Remove default value for BOM manufacturer column name 2024-05-24 13:24:15 -04:00
Jonathan Tran
5503458e3e
Add check to require manufacturer column when search strategy would use it 2024-05-24 13:24:15 -04:00
Jonathan Tran
8b8abb2a9c
Add more to description of search strategy 2024-05-24 13:24:15 -04:00
Jonathan Tran
a5a142cba4
Add handling of no manufacturer column
Now you can set bom_manufacturer_column to empty string so that lookup
of the manufacturer field doesn't fail.  This is useful when using
search strategy mpn_exact.
2024-05-24 13:24:15 -04:00
Jonathan Tran
e38799307b
Change to not use manufacturer in query when search strategy is mpn_exact 2024-05-24 13:24:15 -04:00
Jonathan Tran
27efa7113b
Add BOM input parameters to readme 2024-05-24 13:24:15 -04:00
Jonathan Tran
177376dbf8
Add manufacturer to output and logging 2024-05-24 13:24:15 -04:00
Jonathan Tran
ea23ac66b5
Change default search strategy to be less fuzzy 2024-05-24 13:24:15 -04:00
Jonathan Tran
76ec2e2e8f
Add manufacturer to API query 2024-05-24 13:24:15 -04:00
Jonathan Tran
2f82962556
Add search strategy parameter 2024-05-24 13:24:15 -04:00
Jonathan Tran
25ba6a8bd3
Merge pull request from AllSpiceIO/jt/fix-comment
doc: Update comment to reflect moved repo and ECAD generic
2024-05-23 16:51:28 -04:00
Jonathan Tran
e323e1811d
doc: Update comment to reflect moved repo and ECAD generic 2024-05-23 13:34:15 -04:00
dependabot[bot]
ac793bd672
--- ()
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-23 13:25:52 -04:00
Jonathan Tran
642deb37f6
Add license () 2024-05-15 17:18:50 -04:00
dependabot[bot]
bfba0eaeed
Bump actions/setup-python from 4 to 5 ()
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-14 17:54:14 -04:00