Skip to main content

Tools to generate "location sheets"

Sometimes you need a bit more than a simple text/qr code label. That's where this tool comes in. Create a temlate with e.g. Excel or Inkscape, then create an svglue template in Inkscape.

To create a template, you need to have two or more items in the SVG file:

  • A rectangle with the template-id attribute set to id_image, which will contain the QR image. You can add more than one by suffixing that with numbers, e.g. id_image1, id_image2, ....
  • A text box (tspan) with template-id set to id_text, which will have the text of whatever the ID is. Again there can be many with id_text1,2,3,....

There are a few templates from our research under ./templates, which should be somewhat self-explanatory. If you have any questions, reach out (in github issues or via Email).

As an example, the below is an example of one sheet generated with the templates/ctx_v2.svg template.

In case the above link dies, this is how one adds the required attributes in inkscape.

breifly, in inkscape:

  1. click the element you want to template

  2. enter the XML editor (Edit -> XML Editor, or Ctrl+Shift+X for me)

  3. add (with plus button) a row in the attribute table, whose Name (1st column) is template-id, and whose Value (2nd column) is your key text.

For text just make sure you do this on the tspan element not the text element that (for me) contains it, and which inkscape focuses when you click on the text in the document. I had to manually click the tspan element in the xml editor.

Metadata

Release files for nvtk-sitesheets 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nvtk-sitesheets 0.1.0
File Size Uploaded
nvtk-sitesheets-0.1.0.tar.gz 59.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nvtk-sitesheets 0.1.0
File Interpreter ABI Platform
nvtk_sitesheets-0.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 66.0 kB

Release files / nvtk-sitesheets-0.1.0.tar.gz

Download URL nvtk-sitesheets-0.1.0.tar.gz
Size 59.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1d650a025df7891d1d1dd7eff9c1eccecbd6c97c36394681f6ae3c95274f2bf9
BLAKE2b-256 checksum
How to use checksums
3d2d385f206922c307ab119e2ab7973b571aa654a970119093db0835ebc10b08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release files / nvtk_sitesheets-0.1.0-py2.py3-none-any.whl

Download URL nvtk_sitesheets-0.1.0-py2.py3-none-any.whl
Size 6.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fbc8f0daab4ed4bd769f4310f2fa677ebe9d2e7a1950bea0c4f15b5fb8ad9ca8
BLAKE2b-256 checksum
How to use checksums
f16598f18605542175a02cf72235c1dd0ae06716ea4a2229115c798ab28057b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.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