How to use the gallerize.window function in gallerize

To help you get started, we’ve selected a few gallerize examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github homeworkprod / gallerize / test_gallerize.py View on Github external
def test_window(iterable, n, expected):
    actual = list(window(iterable, n))
    assert actual == expected

gallerize

Create a static HTML/CSS image gallery from a bunch of images.

GPL-3.0
Latest version published 4 years ago

Package Health Score

45 / 100
Full package analysis