lab-inventory
lab-inventory is a Django application used by our lab to to track inventory and orders. The basic idea is that users add items that can be purchased to the database, and then associate them with orders when they want to get the item. This allows us to quickly locate information about things we have purchased throughout the history of the lab. There is also some rudimentary support for keeping track of where items are located in the lab, when their warranties expire, and other useful information.
You’ll probably need some familiarity with Django and some knowledge about how to deploy a web application to use it.
lab-inventory is licensed for you to use under the BSD 3-Clause License. See COPYING for details
Quick start
Requires Python 3.10+. Runs on Django 4.2 LTS and 5.1.
Install the package from pypi: pip install django-lab-inventory. Worth putting in a virtualenv.
Add inventory to your INSTALLED_APPS setting like this:
INSTALLED_APPS = (
...
'widget_tweaks', # For form tweaking
'django_filters',
'inventory',
)
Include inventory in urlpatterns in your project urls.py. Some of the views link to the admin interface, so make sure that is included, too:
path("inventory/", include("inventory.urls")),
path("admin/", admin.site.urls),
Run python manage.py migrate to create the inventory models.
Start the development server and visit http://127.0.0.1:8000/admin/inventory/ to create items, vendors, manufacturers, etc. (you’ll need the Admin app enabled).
Visit http://127.0.0.1:8000/inventory/ to use views.
Development
Recommend using uv for development.
Run uv sync to create a virtual environment and install dependencies. uv sync --no-dev --frozen for deployment.
Testing: uv run pytest. Requires a test database, will use settings from inventory/test/settings.py.
Metadata
Release files for django-lab-inventory 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_lab_inventory-0.6.1.tar.gz | 18.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_lab_inventory-0.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 58.0 kB
Release files / django_lab_inventory-0.6.1.tar.gz
| Download URL | django_lab_inventory-0.6.1.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bdc1025dc9f22eaaf2ae07d6472592250d351fd5b617e76228219e00a6c2ed5a
|
|
BLAKE2b-256 checksum How to use checksums |
561a51b88928fb6c2d296da53b858e6ba68530414d8e2369d2abe11b8a8bade7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / django_lab_inventory-0.6.1-py3-none-any.whl
| Download URL | django_lab_inventory-0.6.1-py3-none-any.whl |
|---|---|
| Size | 39.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f032bec1e818488a120c0329c9254cedec69263bfa88c2f311d971af324ef349
|
|
BLAKE2b-256 checksum How to use checksums |
58923f437904018aa57360773d9e3d8bad8afca64d9db6ee0590cb2c6ae73c8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency log