===========
Web app for registering objects (an object is just a name associated to a comment and a serial number) and printing sheets of labels with EAN13 barcodes or QR codes. You can also associate a state and a category to these objects.
You define models of paper (size, number, size and background image of labels) and template for labels.
Use cases
---------
* printing customized labels with QR or bar codes,
* changing the state or the category of a set of objects by only scanning their barcode, one-by-one,
* identify a given object by scanning its barcode in the search bar,
* displaying the object page by scanning its QR code.
Installation
------------
sudo apt-get install python3.5 python3.5-dev build-essential
pip install inventicode
CONFIG_FILENAME=`inventicode-django config ini -v 2 | head -n 1 | grep ".ini" | cut -d '"' -f 2`
# create required folders
mkdir -p `dirname $FILENAME` $HOME/inventicode
# prepare a limited configuration file
cat << EOF > $FILENAME
[global]
data = $HOME/inventicode
EOF
# create the database (SQLite by default)
inventicode-django migrate
# prepare static files (CSS, JS, …)
inventicode-django collectstatic --noinput
# create an admin user
inventicode-django createsuperuser
inventicode-aiohttp
You can define new templates for each label, and the default one is:
{% load inventicode %}<h2>{{ code.name }}</h2>
<img class="name qr_code" style="" alt="{{ code.name }}" src="{{ code.name|qr_code|base64_url }}" />
<img class="short_identifier bar_code" style="width: 4cm;" alt="{{ code.short_identifier }}" src="{{ code.short_identifier|bar_code:'ean13'|base64_url }}" />
<h3>{{ code.long_identifier }}</h3>
Available values are:
* code.name
* code.comment
* code.serial
* code.long_identifier (URL to the model)
* code.short_identifier (unique code, usable as EAN13 barcode)
If you load `inventicode`, you can use some filters:
* `qr_code`: QR code as SVG (string)
* `bar_code`: bar code as SVG (string). Available barcodes are 'code39', 'ean', 'ean13', 'ean8', 'gs1', 'gtin', 'isbn', 'isbn10', 'isbn13', 'issn', 'jan', 'pzn', 'upc', 'upca'.
* `base64_url`: transform a string as an embedded base64 url.
You can also define a CSS for the whole page, and the default one is:
.qr_code {
width: 1cm;
height: 1cm;
}
h2 {
width: 100%;
text-align: center;
}
h3 {
text-align: center;
top: 1cm;
position: relative;
text-transform: uppercase;
}
img.bar_code {
width: 3cm;
top: 1cm;
left: -2cm;
}
Metadata
Release files for Inventicode 1.0.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 |
|---|---|---|---|---|
| Inventicode-1.0.2.tar.gz | 11.5 kB | Without provenance | Details for Inventicode-1.0.2.tar.gz |
Release files / Inventicode-1.0.2.tar.gz
| Download URL | Inventicode-1.0.2.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10cb370f6f7597b90e82f0bb30c14392c815a0d645d09073f967bd5a31f56b14
|
|
BLAKE2b-256 checksum How to use checksums |
d9cfcab95d4f7f71335c36bab56f1ac7d77443f250ad891ee8bc09fccded5786
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Inventicode 1.0.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.