Skip to main content

Terminal UI for InvenTree

Project description

InvenTree TUI

Terminal User Interface for InvenTree, built with Textual. Project maintained on GitHub.

Installation

InvenTree TUI can be install via PyPi using the command pipx install inventree-tui. Using pipx rather than pip installs the application in its own virtual environment, ensuring that the dependencies of different applications do not conflict with it.

Once installed, launch the TUI using the command inventree-tui or by running the library module as a script (python -m inventree-tui). You will have to configure the required environment variables first (see below).

Configuration

To run inventree-tui, you must set the following environment variables: INVENTREE_API_HOST, INVENTREE_API_TOKEN

You can also set these in a file named .env:

# .env file
INVENTREE_API_HOST=https://example.com/
INVENTREE_API_TOKEN=inv-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxx

Usage

After installation, InvenTree TUI is launched using the command inventree-tui. The app can be navigated using either the mouse or keyboard. The keyboard navigation controls are as follows:

  • tab: Focus next item
  • shift + tab: Focus previous item
  • arrow keys: Change selection
  • enter: Activate
  • delete: Remove item from list

The app is composed of several tabs, each with a specific function.

Transfer Items Tab

This tab is used for transferring stock items to a different location. First, scan the destination location barcode. Next, scan the barcodes of the items you wish to transfer to this location. If you accidentally scan the wrong item, you can remove it from the list using the delete key. Once you are done scanning items, hit the Done button and the items will be tranferred to the destination location.

Screenshot of transfer items tab

Check-In Items Tab

This tab is used for transferring stock items to their default locations. Simply scan an item barcode and confirm the transfer with the pop-up dialog. A history of checked-in items is kept for convient reference, and can be cleared using the Clear History button.

Screenshot of check-in items tab

Part Search Tab

This tab is used for searching the inventory for parts. Each part in the results can be expanded using the Enter key, which will then fetch and display the relevant stock items and their locations and quantities. The first few parts in the results are expanded automatically.

Screenshot of part search tab

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inventree_tui-0.1.7.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

inventree_tui-0.1.7-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file inventree_tui-0.1.7.tar.gz.

File metadata

  • Download URL: inventree_tui-0.1.7.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for inventree_tui-0.1.7.tar.gz
Algorithm Hash digest
SHA256 c3bc99db653f42f3f0fddf669e877c1b723ecc7b6ef6ac17e42e8003c28d8f3e
MD5 00eb87645bfd9a48359ebadb57c63340
BLAKE2b-256 eb26f50c179eb69eca52d40e6b39d6b7fc7d1b137e4c9300cd6c8db6c2b3df18

See more details on using hashes here.

File details

Details for the file inventree_tui-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for inventree_tui-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ba4ba8ed1316a49acd4755c6b90a4403ec17b9b205a02242688ed7a251df7486
MD5 ad143033fe963e3f640239793c9098e7
BLAKE2b-256 ffdf3652a5d3be573d817d1e6a16b01212dd31240cc7f1d4b7420459e63c62b0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page