Skip to main content

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. It is available on PyPI:

pip install let-me-scroll-it

(lmsi was not allowed by PyPI, unfortunately...)

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. I can use MathJax $x^2 = 3$.",
      "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.

Licensing

lmsi contains a bundled copy of the MathJax library, which is licensed with the Apache 2.0 library.

lmsi contains a bundled copy of the polyfill.js library, which is licensed with the MIT license.

The rest of the source code, produced by the lmsi authors, is MIT-licensed.

Metadata

Release files for let-me-scroll-it 0.0.5

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

Source distribution (sdist)

Source distribution for let-me-scroll-it 0.0.5
File Size Uploaded
let_me_scroll_it-0.0.5.tar.gz 273.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for let-me-scroll-it 0.0.5
File Interpreter ABI Platform
let_me_scroll_it-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 550.6 kB

Release files / let_me_scroll_it-0.0.5.tar.gz

Download URL let_me_scroll_it-0.0.5.tar.gz
Size 273.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9382d34b933629cf4bd33514dfc2ba08af3334be0c7b498b368a2c524adbafe9
BLAKE2b-256 checksum
How to use checksums
33f50a321370c073f88c2ed7542bd2449c9a16dd8f00d83ee6e868b12d60c465
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.1

Release files / let_me_scroll_it-0.0.5-py3-none-any.whl

Download URL let_me_scroll_it-0.0.5-py3-none-any.whl
Size 276.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41bdf46ff626075420f1f183d35b9ccaf107b4624f2c5102af40624c82e01e6e
BLAKE2b-256 checksum
How to use checksums
140c49b91ed71898813f7e8a6851f7fd8a97f792f954c22250a5549cf2b46971
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.1

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

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