Skip to content

Commit 14d34a5

Browse files
committed
Rename the PyPI distribution to visionapi-client
visionapi was already taken on PyPI by an unrelated project, and visionapi-client is the name the trusted publisher is registered against. The import stays visionapi — hatchling packages src/visionapi regardless of the distribution name — so pip install visionapi-client still gives you 'import visionapi'.
1 parent f2fe4d4 commit 14d34a5

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The test suite stubs the transport, so it needs **no API key and makes no networ
3030
A test that reaches the real API will not be merged — it makes the suite slow, flaky, and
3131
impossible to run on a fork.
3232

33-
The distribution is `vision-api` on PyPI; the module you import is `visionapi`. Both names are deliberate — do not "fix" one to match the other.
33+
The distribution is `visionapi-client` on PyPI; the module you import is `visionapi`. Both names are deliberate — do not "fix" one to match the other.
3434

3535
## One contract, nine libraries
3636

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Official Python client for [Vision API](https://visionapi.io) — send an image
44
describe the fields you want in plain language, get structured JSON back with a confidence
55
level on every value.
66

7-
[![PyPI](https://img.shields.io/pypi/v/vision-api.svg)](https://pypi.org/project/vision-api/)
8-
[![Python versions](https://img.shields.io/pypi/pyversions/vision-api.svg)](https://pypi.org/project/vision-api/)
7+
[![PyPI](https://img.shields.io/pypi/v/visionapi-client.svg)](https://pypi.org/project/visionapi-client/)
8+
[![Python versions](https://img.shields.io/pypi/pyversions/visionapi-client.svg)](https://pypi.org/project/visionapi-client/)
99
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
1010

1111
- **Website**<https://visionapi.io>
@@ -20,10 +20,10 @@ level on every value.
2020
## Install
2121

2222
```bash
23-
pip install vision-api
23+
pip install visionapi-client
2424
```
2525

26-
The distribution is `vision-api`; the module you import is `visionapi`.
26+
The distribution is `visionapi-client`; the module you import is `visionapi`.
2727

2828
Python 3.9+. Standard library only — no `requests`, no `httpx`, nothing to conflict with
2929
what your project already pins.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "vision-api"
6+
name = "visionapi-client"
77
version = "1.0.0"
88
description = "Official Python client for the Vision API — credit-based OCR and visual intelligence. Extract structured JSON from images and PDFs."
99
readme = "README.md"

0 commit comments

Comments
 (0)