Bump to v0.1.18, add icon and badges to README

- Add SVG icon with red rounded border "T"
- Add PyPI version, coverage, Python version, and license badges
- Remove video embed from README
- Center header with icon

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Adam Ladachowski
2026-02-15 19:13:47 +01:00
parent e4fc392a90
commit 29d96e2a00
4 changed files with 20 additions and 7 deletions
+14 -5
View File
@@ -1,13 +1,22 @@
[![Static Badge](https://img.shields.io/badge/pip_install-tensors-blue)](https://pypi.org/project/tensors) <p align="center">
<img src="icon.svg" alt="tensors" width="96" height="96">
</p>
# tensors <h1 align="center">tensors</h1>
A CLI tool for working with safetensor files, CivitAI models, and stable-diffusion.cpp image generation. Supports both local and remote server modes. <p align="center">
<a href="https://pypi.org/project/tensors"><img src="https://img.shields.io/pypi/v/tensors?color=blue" alt="PyPI"></a>
<img src="https://img.shields.io/badge/coverage-73%25-brightgreen" alt="Coverage">
<img src="https://img.shields.io/badge/python-3.12+-blue" alt="Python">
<a href="https://github.com/saiden-dev/tensors/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-green" alt="License"></a>
</p>
<p align="center">
A CLI tool for working with safetensor files, CivitAI models, and stable-diffusion.cpp image generation.
</p>
## Features ## Features
https://github.com/user-attachments/assets/2e7629b4-34e7-4cbc-b50e-31d7fdd30239
- **Read safetensor metadata** - Parse headers, count tensors, extract embedded metadata - **Read safetensor metadata** - Parse headers, count tensors, extract embedded metadata
- **CivitAI integration** - Search models, fetch info, identify files by hash - **CivitAI integration** - Search models, fetch info, identify files by hash
- **Download models** - Resume support, type-based default paths - **Download models** - Resume support, type-based default paths
+4
View File
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="128" height="128">
<rect x="8" y="8" width="112" height="112" rx="16" ry="16" fill="none" stroke="#E53935" stroke-width="8"/>
<text x="64" y="88" font-family="Helvetica, Arial, sans-serif" font-weight="bold" font-size="80" fill="#E53935" text-anchor="middle">T</text>
</svg>

After

Width:  |  Height:  |  Size: 347 B

+1 -1
View File
@@ -1,6 +1,6 @@
[project] [project]
name = "tensors" name = "tensors"
version = "0.1.17" version = "0.1.18"
description = "Read safetensor metadata and fetch CivitAI model information" description = "Read safetensor metadata and fetch CivitAI model information"
readme = "README.md" readme = "README.md"
requires-python = ">=3.12" requires-python = ">=3.12"
+1 -1
View File
@@ -40,7 +40,7 @@ def create_app() -> FastAPI:
app = FastAPI( app = FastAPI(
title="tensors", title="tensors",
description="API for CivitAI model management and image gallery", description="API for CivitAI model management and image gallery",
version="0.1.17", version="0.1.18",
lifespan=lifespan, lifespan=lifespan,
docs_url=None, docs_url=None,
redoc_url=None, redoc_url=None,