Digikey-Inventree-Integration
A CLI to ease importing Digikey parts into an Inventree instance.
Setup
Installation
Install from Pypi
pip install inventree_digikey_integration
Install from source
- Install poetry
- Clone the repo
git clone git@github.com:EUdds/digikey-inventree-integration.git cd digikey-inventree-integrationpoetry 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| inventree_digikey_integration-0.1.2.2.tar.gz | 6.4 kB | Without provenance | Details for inventree_digikey_integration-0.1.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inventree_digikey_integration-0.1.2.2-py3-none-any.whl | Python 3 | none | any | Details for inventree_digikey_integration-0.1.2.2-py3-none-any.whl |
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
|
Security for inventree_digikey_integration 0.1.2.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.