Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions kintree/database/inventree_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def set_inventree_db_test_mode():

inventree_api.patch('settings/global/PARAMETER_ENFORCE_UNITS/', {'value': False})


def get_inventree_category_id(category_tree: list) -> int:
''' Get InvenTree category ID from name, specificy parent if subcategory '''
global inventree_api
Expand Down
1,220 changes: 677 additions & 543 deletions poetry.lock

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ repository = "https://github.com/sparkmicro/Ki-nTree"
keywords = ["inventree", "kicad", "digikey", "mouser", "component", "part", "create"]

[tool.poetry.dependencies]
python = ">=3.9,<3.13"
python = ">=3.9,<3.14"
# digikey-api = "^1.0.0"
digikey-api = { git = "https://github.com/hurricaneJoef/digikey-api.git", branch = "master" }
# digikey-api = { git = "https://github.com/hurricaneJoef/digikey-api.git", branch = "master" }
digikey-api = { path = "./submodules/digikey_api-1.0.0-py3-none-any.whl", develop = true}
setuptools = "^75.6.0"
flet = "^0.24.1"
flet = "0.24.1"
thefuzz = "^0.22.1"
inventree = "^0.17.2"
inventree = "^0.23.1"
kiutils = "^1.4.8"
mouser = "^0.1.6"
multiprocess = "^0.70.17"
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cloudscraper==1.2.71
setuptools==75.2.0
https://github.com/hurricaneJoef/digikey-api/archive/refs/heads/master.zip
Flet>=0.24.1,<=0.24.1
thefuzz>=0.19.0,<1.0
inventree>=0.23.1,<1.0
Expand All @@ -9,4 +8,4 @@ mouser>=0.1.6,<1.0
multiprocess>=0.70.16,<0.71
PyYAML>=6.0.1,<7.0
validators>=0.19.0,<1.0
wrapt_timeout_decorator>=1.5.1,<2.0
wrapt_timeout_decorator>=1.5.1,<2.0
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ ignore =
# - N806 - variable should be lowercase
N806,
N812,
F824,
exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/*,*ci_*.py*
max-complexity = 20
Binary file added submodules/digikey_api-1.0.0-py3-none-any.whl
Binary file not shown.
Loading