Skip to main content

SupplierScout

SupplierScout is an InvenTree plugin that automatically finds, matches, and imports supplier parts for your inventory. Given any purchaseable part in InvenTree, it derives a search query from the part's name, parameters, IPN, MPN, and category, then searches configured supplier APIs, ranks the results, and lets you add or update supplier parts and price breaks with one click.

Features

  • Automatic query derivation — builds a supplier search query from the part's name, Internal Part Number (IPN), Manufacturer Part Number (MPN), parameters, and category hierarchy, with normalisation for passive component values (capacitance, resistance, EIA codes, engineering shorthand).
  • Candidate ranking — scores results using a configurable mix of text-match similarity, stock availability, and unit price; supports balanced, availability-first, and price-first strategies.
  • One-click import — select one or more candidates and add or update supplier parts, manufacturer parts, and price breaks directly from the part detail page.
  • Scheduled resync — periodically refreshes existing supplier-part metadata and price breaks in the background, with per-supplier interval and batch-size controls.
  • Response caching — caches API responses to reduce quota usage and improve responsiveness.
  • API usage tracking — per-supplier request counters and daily-limit enforcement with a dashboard widget showing live metrics.
  • Per-user supplier credentials — users can store their own supplier credentials (API key or OAuth2 client credentials), overriding global settings for their own searches.
  • Token debug endpoint — inspect exactly which tokens were extracted from a part and how the final search query was constructed.

Supported Suppliers

Supplier Search Scheduled Resync Notes
DigiKey ✅ ✅ Uses DigiKey OAuth2 client credentials (client_id + client_secret) for authenticated API access; response caching
Mouser Electronics ✅ ✅ Part-number and keyword search; response caching; per-user API keys

Additional suppliers can be added by implementing a BaseSupplierAdapter subclass.

System Requirements

Supplier Scout depends on InvenTree plugin integration features. A system administrator should verify these are enabled before users start configuration:

  • Plugin UI integration so the Supplier Match action and dashboard widget can be rendered in the web interface.
  • Background workers and scheduled tasks so scheduled supplier resync jobs can run.
  • Plugin URL / API route integration so plugin endpoints under /plugin/supplierscout/ are available.

Runtime dependencies are installed automatically from the package. To build or modify the frontend locally, you will also need Node.js and npm.

Quick Install

  1. Open InvenTree → Settings → Plugins.
  2. Click Install Plugin.
  3. Enter the package name: inventree-supplier-scout
  4. Click Install and then Activate.

Via the Command Line

pip install inventree-supplier-scout

After installation, restart InvenTree and activate the plugin in Settings → Plugins.

From Source

git clone https://github.com/getpwnam/inventree-supplier-scout.git
cd inventree-supplier-scout
pip install -e .

Quick Setup

After activating the plugin, you must configure at least one supplier before you can search:

  1. Open Settings → Plugins and click on Supplier Scout → Plugin Settings.
  2. Set either DigiKey Supplier ID (DIGIKEY_PK) or Mouser Supplier ID (MOUSER_PK) to the primary key of your supplier company record in InvenTree.
  3. Set credentials for your chosen supplier:
    • DigiKey: DIGIKEY_CLIENT_ID and DIGIKEY_CLIENT_SECRET
    • Mouser: MOUSER_APIKEY_SEARCH
  4. Save. The Supplier Match action will now appear on every purchaseable part. If you only set API credentials without a supplier company ID, the action will stay hidden because the plugin has not been registered against a supplier record yet.

Screenshot

Supplier Match action screenshot

Documentation

Metadata

Release files for inventree-supplier-scout 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inventree-supplier-scout 0.1.2
File Size Uploaded Provenance Actions
inventree_supplier_scout-0.1.2.tar.gz 47.1 kB Without provenance Details for inventree_supplier_scout-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for inventree-supplier-scout 0.1.2
File Interpreter ABI Platform Actions
inventree_supplier_scout-0.1.2-py3-none-any.whl Python 3 none any Details for inventree_supplier_scout-0.1.2-py3-none-any.whl

Total release size: 102.6 kB

Release files / inventree_supplier_scout-0.1.2.tar.gz

Download URL inventree_supplier_scout-0.1.2.tar.gz
Size 47.1 kB
Tags Source
SHA-256 checksum
How to use checksums
921555b287f84c01c0590541cf2b910320fcb97fbcd568965c56930ed52a2b82
BLAKE2b-256 checksum
How to use checksums
b299a9ea70c7710cd8396ed7836bf77a803a9361afb9b73cecfd71ea78319925
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / inventree_supplier_scout-0.1.2-py3-none-any.whl

Download URL inventree_supplier_scout-0.1.2-py3-none-any.whl
Size 55.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9aab76a285ea10d39f5165c2d999f5b43945e0526da7ececd25a8745fc99d3a8
BLAKE2b-256 checksum
How to use checksums
641993f6eb1d3672bd98dcf2ecdff0b27e8824d2b1ed1012ce7e050cd58cca49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for inventree-supplier-scout 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page