Files
ETPlot/gallery/__init__.py
T
2026-04-22 13:48:23 +02:00

37 lines
799 B
Python

"""
Scientific Gallery Generator
A Python package for creating responsive HTML galleries from scientific plot
collections. Supports PDF to PNG conversion, hierarchical directory structures,
and can be used programmatically or via CLI.
Example usage:
from gallery import generate, GalleryConfig, GallerySource
config = GalleryConfig(
web_folder="/path/to/output",
sources=[
GallerySource(name="plots", path="/path/to/plots"),
]
)
success = generate(config, verbose=True)
"""
__version__ = "0.1.0"
__author__ = "K. Schmidt"
from gallery.config import (
GalleryConfig,
GallerySource,
GalleryDefaults,
)
from gallery.api import generate
__all__ = [
"generate",
"GalleryConfig",
"GallerySource",
"GalleryDefaults",
]