# df-gallery
[](https://pypi.org/project/df-gallery/)
[](https://pypi.org/project/df-gallery/)
[](LICENSE)
[](https://github.com/flicht/df-gallery/actions/workflows/publish.yml)
# df-gallery

Generate a fast, filterable, shuffleable HTML image gallery from a CSV. Great for poking at large image folders with rich metadata filters (pandas-ish syntax in the browser).
## Install
```bash
# from PyPI
pip install df-gallery
# OR for development
uv venv && uv pip install -e .[dev]
## Usage
df-gallery path/to/images.csv \
--out gallery.html \
--path-col filename \
--img-root /absolute/or/relative/prefix \
--relative-to-html \
--chunk 500 \
--tile 200 \
--title "My Image Gallery"
```
or `dfg`
The CSV must contain a column with image paths or URLs (default: filename). All columns become filterable fields in the UI.
## Development
uv run pytest
uv build # builds wheel + sdist
uv publish # publishes to PyPI (set PYPI token first)
## License
---
## LICENSE (MIT)
```text
MIT License
Copyright (c) 2025 Freddie Lichtenstein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
Raw data
{
"_id": null,
"home_page": null,
"name": "df-gallery",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "Dataframe, data-exploration, df, gallery, html, images, pandas",
"author": "Freddie Lichtenstein",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/19/79/f819a766f944624575740aab3e02b19ab040c595a268150e0a5defd418d9/df_gallery-0.1.6.tar.gz",
"platform": null,
"description": "# df-gallery\n\n[](https://pypi.org/project/df-gallery/)\n[](https://pypi.org/project/df-gallery/)\n[](LICENSE)\n[](https://github.com/flicht/df-gallery/actions/workflows/publish.yml)\n\n# df-gallery\n\n\n\nGenerate a fast, filterable, shuffleable HTML image gallery from a CSV. Great for poking at large image folders with rich metadata filters (pandas-ish syntax in the browser).\n\n## Install\n```bash\n# from PyPI \npip install df-gallery\n\n# OR for development\nuv venv && uv pip install -e .[dev]\n\n## Usage\n\ndf-gallery path/to/images.csv \\\n --out gallery.html \\\n --path-col filename \\\n --img-root /absolute/or/relative/prefix \\\n --relative-to-html \\\n --chunk 500 \\\n --tile 200 \\\n --title \"My Image Gallery\"\n```\n\nor `dfg`\n\n The CSV must contain a column with image paths or URLs (default: filename). All columns become filterable fields in the UI.\n\n ## Development\nuv run pytest\nuv build # builds wheel + sdist\nuv publish # publishes to PyPI (set PYPI token first)\n\n## License\n\n---\n\n## LICENSE (MIT)\n```text\nMIT License\n\nCopyright (c) 2025 Freddie Lichtenstein\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Generate a fast, filterable HTML image gallery from a CSV/Json file. Uses pandas syntax",
"version": "0.1.6",
"project_urls": {
"Homepage": "https://github.com/yourname/df-gallery",
"Issues": "https://github.com/yourname/df-gallery/issues"
},
"split_keywords": [
"dataframe",
" data-exploration",
" df",
" gallery",
" html",
" images",
" pandas"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "094b2d7122dad97015134cbe1816424f59b59296f3b66912c89ea4f24582ace8",
"md5": "63346b1788d8c89e4c22542ac0214a21",
"sha256": "8ecca36807a2d9c58fc72d83eda33641e44338c03c80700b173f56fc4323fcc3"
},
"downloads": -1,
"filename": "df_gallery-0.1.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "63346b1788d8c89e4c22542ac0214a21",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 10112,
"upload_time": "2025-08-29T14:43:19",
"upload_time_iso_8601": "2025-08-29T14:43:19.630609Z",
"url": "https://files.pythonhosted.org/packages/09/4b/2d7122dad97015134cbe1816424f59b59296f3b66912c89ea4f24582ace8/df_gallery-0.1.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1979f819a766f944624575740aab3e02b19ab040c595a268150e0a5defd418d9",
"md5": "7e3385b481dbff1545db7c3553c3c718",
"sha256": "5cb223b5e68667647b40348283f48725a19ea17fc0fc98b1bc8e7bb626b419c6"
},
"downloads": -1,
"filename": "df_gallery-0.1.6.tar.gz",
"has_sig": false,
"md5_digest": "7e3385b481dbff1545db7c3553c3c718",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 9571,
"upload_time": "2025-08-29T14:43:20",
"upload_time_iso_8601": "2025-08-29T14:43:20.317515Z",
"url": "https://files.pythonhosted.org/packages/19/79/f819a766f944624575740aab3e02b19ab040c595a268150e0a5defd418d9/df_gallery-0.1.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-29 14:43:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yourname",
"github_project": "df-gallery",
"github_not_found": true,
"lcname": "df-gallery"
}