Skip to main content

A command-line utility for placing figures in a static webpage

Project description

Let Me Scroll It (lmsi)

lmsi is a command-line utility that produces a html web-page. This web-page contains the images you provide the command-line utility.

You can configure sections, titles for plots, and captions, using the JSON configuration file of the form:

{
  "Section Name": {
    "[0-9]*_.*png": {
      "caption": "A figure selected using regex.",
      "title": "Regex Selection",
      "regex": true
    },
    "no_regex_required.png": {
      "caption": "No regex requried for this, just searched on the filename",
      "title": "Fixed Name Selection"
    }
  }
}

You can use regex here or just a plain string. If you want the string to be interpreted as a regular expression, you must use the "regex": true option.

There is an example in the example directory.

You can use the utility as follows:

lmsi --files *.png --output index.html --config /path/to/config.json

Using lmsi without a config leads to all figures being placed in the 'uncategorised' section.

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

let_me_scroll_it-0.0.1a1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

let_me_scroll_it-0.0.1a1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file let_me_scroll_it-0.0.1a1.tar.gz.

File metadata

  • Download URL: let_me_scroll_it-0.0.1a1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.1

File hashes

Hashes for let_me_scroll_it-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 3d225829ba104952cd0913960c0247e69ffd53cfcf7f00ba3c4dfa167e4efb10
MD5 ba7a1d6fa7749fbc9359b3383354c703
BLAKE2b-256 07ba05c05a0265178131f43fc34caba9fe163f725d5b08c5300bac37dd59df31

See more details on using hashes here.

File details

Details for the file let_me_scroll_it-0.0.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for let_me_scroll_it-0.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 4addea1ba3e2a0113f250073f689281dff72a3310f58e08a8321edd9fb9163c6
MD5 8fbcc6c34e70fbca869d204530ace1a5
BLAKE2b-256 97b5843d6937f50dcdc257f91964861aab65a690a1e338efc6cab38913337da9

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