Metadata-Version: 2.4
Name: sprite-sheet-generator-claude-code
Version: 0.1.0
Summary: Turn AI-generated art into game-ready 2D assets
Project-URL: Homepage, https://github.com/protonspy/sprite-sheet-generator-claude-code
Project-URL: Repository, https://github.com/protonspy/sprite-sheet-generator-claude-code
Project-URL: Issues, https://github.com/protonspy/sprite-sheet-generator-claude-code/issues
Author: Mateus Andrade
License: MIT License
        
        Copyright (c) 2026 Mateus Andrade
        
        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.
License-File: LICENSE
Keywords: 2d,game-assets,pixel-art,sprites,spritesheet
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Multimedia :: Graphics
Requires-Python: >=3.12
Requires-Dist: click>=8.1
Requires-Dist: fal-client<2,>=1.0
Requires-Dist: httpx>=0.27
Requires-Dist: numpy>=1.26
Requires-Dist: opencv-python-headless>=4.10
Requires-Dist: pillow>=10.3
Requires-Dist: pydantic>=2.7
Requires-Dist: pyyaml>=6.0
Requires-Dist: wasmtime>=21.0
Provides-Extra: cv
Requires-Dist: onnxruntime>=1.18; extra == 'cv'
Requires-Dist: rembg>=2.0; extra == 'cv'
Provides-Extra: cv-gpu
Requires-Dist: onnxruntime-gpu>=1.18; extra == 'cv-gpu'
Requires-Dist: rembg>=2.0; extra == 'cv-gpu'
Description-Content-Type: text/markdown

# ssc — sprite-sheet-generator-claude-code

Turn AI-generated art into game-ready 2D assets: real pixels on a real grid, aligned
frames, a transparent background, and metadata an engine can read.

Image and video models produce art that looks finished and is not usable. The defects are
systematic rather than accidental — fake pixels, frame bleeding, drift, halos, palette
drift, flicker, visible tiling seams — so each one can be **measured** rather than judged.
`ssc` is the set of primitives that measures them and repairs them, one command at a time.

> **Status: implemented.** Install it with `pip install sprite-sheet-generator-claude-code`
> (or `uv tool install .`), run `ssc init` in a project, and drive the pipeline. The
> decomposition lives in [`plans/ssc-pipeline.md`](plans/ssc-pipeline.md) and the reasoning
> behind it in [`docs/wiki/`](docs/wiki/index.md).

## Principles

- **Primitives, not a pipeline.** Each command does one thing; the harness composes them.
- **The verb carries the price.** `tool` is local, free and synchronous. `gen` means the
  provider does it and charges for it. You can tell what burns credit without reading
  flags.
- **Nothing is destructive.** Every command writes a new file; nothing mutates its input.
- **All output is JSON.** A caller reads structure, never screen text.
- **Lineage lives on disk.** Every artefact records where it came from, so the workspace
  is reconstructible without any conversation context.
- **Measure, don't guess.** `ssc tool doctor` reports defects as numbers, and each finding
  carries the command that fixes it.

## Credits

Pixel snapping: [spritefusion-pixel-snapper](https://github.com/Hugo-Dz/spritefusion-pixel-snapper)
by Hugo Duprez, MIT. Vendored as a WASI module; its `LICENSE` ships alongside it.

## Licence

See [LICENSE](LICENSE).
