Skip to content
Back to skills

Python Api

ASecurity

"Programmatic Python API for the colorizers package: constructors,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
businesspythondebuggingapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill python-api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Python Api?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Python Api
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-python-api/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-python-api)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: python-api
description: "Programmatic Python API for the colorizers package: constructors,
  preprocessing/postprocessing helpers, tensor shape contracts, SIGGRAPH hints,
  and no-download smoke checks."
disable-model-invocation: true
metadata:
  disco-role: operating
license: BSD 2-Clause
---

# colorization Python API

Use this sub-skill when the task is to use the `colorizers` package from Python: imports, model constructors, forward calls, Lab preprocessing/postprocessing helpers, tensor/data shape contracts, SIGGRAPH hint inputs, or no-download API smoke checks.

## Start here

- API surface and call signatures: [references/api-reference.md](references/api-reference.md)
- RGB/Lab/tensor data conventions: [references/data-formats.md](references/data-formats.md)
- Common failures and fixes: [references/troubleshooting.md](references/troubleshooting.md)
- Local diagnostic helper: [scripts/api_smoke.py](scripts/api_smoke.py)

## Routing

- Stay in this sub-skill for programmatic model construction, helper-function use, forward-signature questions, tensor shape/range debugging, and smoke tests that avoid pretrained downloads.
- For end-to-end image-file colorization, CLI invocation, saving output images, or batch output management, use the sibling `automatic-colorization` sub-skill instead.
- Training workflows and the unsupported Caffe branch are out of scope.

## Safety defaults

- Use `eccv16(pretrained=False)` and `siggraph17(pretrained=False)` for import/API tests that must not access the network.
- Calling `eccv16()` or `siggraph17()` without arguments requests pretrained weights because both wrappers default `pretrained=True`.
- Keep model tensors, L tensors, SIGGRAPH hint tensors, and masks on the same device before `forward`; move model outputs to CPU before postprocessing when needed.

Files in this skill

  • SKILL.md1.8 KB
  • references/api-reference.md6 KB
  • references/data-formats.md4.5 KB
  • references/troubleshooting.md4.6 KB
  • scripts/api_smoke.py12.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.