Skip to main content

Digikey-Inventree-Integration

Test Results PyPI version

A CLI to ease importing Digikey parts into an Inventree instance.

Setup

Installation

Install from Pypi

pip install inventree_digikey_integration

Install from source

  1. Install poetry
  2. Clone the repo git clone git@github.com:EUdds/digikey-inventree-integration.git
  3. cd digikey-inventree-integration
  4. poetry install

Configuration

Create a config.ini file according to the template and specify it's location with the -c <path> flag

[DIGIKEY_API]
CLIENT_ID=
CLIENT_SECRET=

[INVENTREE_API]
URL=<URL to the inventree instance>
USER=
PASSWORD=

Usage

Invoke the cli by running import_digikey_parts

usage: import_digikey_parts [-h] [-y] [-c CONFIG] query_numbers [query_numbers ...]

Import Digikey part numbers into InvenTree

positional arguments:
  query_numbers         Part number(s) to import

optional arguments:
  -h, --help            show this help message and exit
  -y, --yes             Bypass user prompts and assume "yes"
  -c CONFIG, --config CONFIG
                        Path to config file

Testing

Run the test suite by running poetry run pytest

Metadata

Release files for inventree_digikey_integration 0.1.2.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_digikey_integration 0.1.2.2
File Size Uploaded
inventree_digikey_integration-0.1.2.2.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for inventree_digikey_integration 0.1.2.2
File Interpreter ABI Platform
inventree_digikey_integration-0.1.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.4 kB

Release files / inventree_digikey_integration-0.1.2.2.tar.gz

Download URL inventree_digikey_integration-0.1.2.2.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
40d55f8fbe5c871d48b07990213982aaa43ef2198fbb6ca5a3e81b8d9afe13ef
BLAKE2b-256 checksum
How to use checksums
4ab2e7d21af591bb405949c62f060a6c8ad772372e27d8c76c4640b7ba29071f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1018-azure

Release files / inventree_digikey_integration-0.1.2.2-py3-none-any.whl

Download URL inventree_digikey_integration-0.1.2.2-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72e855d433fe7cc19b5968d6a99d46770000e6a666a5a2b7dbf03b214008bc6d
BLAKE2b-256 checksum
How to use checksums
95aed8e089c098f594f4f0f22fce85dc222e76a757601cc405523bd38c269ea5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1018-azure

Release history Release notifications | RSS feed

1.0.0

2 release files

This release

0.1.2.2 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

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