Skip to content

Commit cf9e0dd

Browse files
davidsmfreireclaude
andcommitted
fix(py): rename PyPI distribution to sqlshield-py
The `sqlshield` PyPI name was already taken, so the project is being published under `sqlshield-py`. The Python import name stays `sqlshield` (driven by the cdylib `[lib] name` in Cargo.toml). Also drop the bogus `sqlshield-cli` runtime dependency from pyproject.toml — it referenced the Rust crate, which doesn't exist on PyPI, and would have made `pip install sqlshield-py` fail to resolve. Update the install instructions in the root and per-crate READMEs to reflect the new distribution name. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 4ed1988 commit cf9e0dd

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ It checks:
5252
# Rust users
5353
cargo install sqlshield-cli
5454

55-
# Python users
56-
pip install sqlshield
55+
# Python users (distribution name is `sqlshield-py`; module import is `sqlshield`)
56+
pip install sqlshield-py
5757
```
5858

5959
Or build from source:

sqlshield-py/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ code without touching a database.
77
## Install
88

99
```sh
10-
pip install sqlshield
10+
pip install sqlshield-py
1111
```
1212

13+
The PyPI distribution name is `sqlshield-py` (the bare `sqlshield` name
14+
was already taken). The module import is still `sqlshield`.
15+
1316
## Usage
1417

1518
### Validate a single query

sqlshield-py/pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,14 @@ requires = ["maturin>=1.4,<2.0"]
33
build-backend = "maturin"
44

55
[project]
6-
name = "sqlshield"
6+
name = "sqlshield-py"
77
requires-python = ">=3.8"
88
classifiers = [
99
"Programming Language :: Rust",
1010
"Programming Language :: Python :: Implementation :: CPython",
1111
"Programming Language :: Python :: Implementation :: PyPy",
1212
]
1313
dynamic = ["version"]
14-
dependencies = [
15-
"sqlshield-cli"
16-
]
1714

1815
[tool.maturin]
1916
features = ["pyo3/extension-module"]

0 commit comments

Comments
 (0)