Skip to content

Commit fd83a6f

Browse files
authored
Rename artifacts to connectrpc (#171)
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
1 parent edfb1e9 commit fd83a6f

File tree

10 files changed

+42
-42
lines changed

10 files changed

+42
-42
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ This repo provides a Python implementation of Connect, including both client and
2626
### Install the runtime library
2727

2828
```bash
29-
pip install connect-python
29+
pip install connectrpc
3030
```
3131

3232
Or with your preferred package manager:
3333

3434
```bash
3535
# Using uv
36-
uv add connect-python
36+
uv add connectrpc
3737

3838
# Using poetry
39-
poetry add connect-python
39+
poetry add connectrpc
4040
```
4141

4242
### Install the code generator
@@ -58,20 +58,20 @@ plugins:
5858
out: .
5959
```
6060
61-
Or, you can install the compiler (e.g. `pip install protoc-gen-connect-python`), and
62-
it can be referenced as `protoc-gen-connect-python`.
63-
Then, you can use `protoc-gen-connect-python` as a local plugin:
61+
Or, you can install the compiler (e.g. `pip install protoc-gen-connectrpc`), and
62+
it can be referenced as `protoc-gen-connectrpc`.
63+
Then, you can use `protoc-gen-connectrpc` as a local plugin:
6464

6565
```yaml
66-
- local: .venv/bin/protoc-gen-connect-python
66+
- local: .venv/bin/protoc-gen-connectrpc
6767
out: .
6868
```
6969

7070
Alternatively, download a precompiled binary from the
7171
[releases](https://github.com/connectrpc/connect-python/releases).
7272

73-
`protoc-gen-connect-python` is only needed for code generation. Your actual
74-
application should include `connect-python` as a dependency for the runtime
73+
`protoc-gen-connectrpc` is only needed for code generation. Your actual
74+
application should include `connectrpc` as a dependency for the runtime
7575
component.
7676

7777
### Basic Client Usage
@@ -383,7 +383,7 @@ When exceeded, returns `RESOURCE_EXHAUSTED` error.
383383

384384
### Proto Editions Support
385385

386-
`protoc-gen-connect-python` supports up to [Protobuf Editions](https://protobuf.dev/editions/overview/) 2024:
386+
`protoc-gen-connectrpc` supports up to [Protobuf Editions](https://protobuf.dev/editions/overview/) 2024:
387387

388388
```proto
389389
edition = "2024";

connectrpc-otel/connectrpc_otel/_instrumentor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
from connectrpc.interceptor import Interceptor, InterceptorSync
1919

20-
_instruments = ("connect-python>=0.9.0",)
20+
_instruments = ("connectrpc>=0.9.0",)
2121

2222
P = ParamSpec("P")
2323
R = TypeVar("R")

connectrpc-otel/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ dev = [
5353
# have a real dependency to avoid any possible version conflicts. But for Python,
5454
# the ecosystem vastly favors auto-instrumentation, and it is easier to add than remove
5555
# a transitive dependency, so we go ahead and leave it out.
56-
"connect-python>=0.8.0",
56+
"connectrpc>=0.8.0",
5757

5858
"opentelemetry-sdk==1.39.1",
5959
"opentelemetry-instrumentation-asgi==0.60b1",

example/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "connect-python-example"
33
version = "0.1.0"
44
dependencies = [
5-
"connect-python",
5+
"connectrpc",
66
"flask==3.1.3",
77
"protobuf>=5.28",
88
"starlette==0.52.1",

protoc-gen-connect-python/.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 2
22
dist: ../out
3-
project_name: protoc-gen-connect-python
3+
project_name: protoc-gen-connectrpc
44
builds:
55
- main: .
66
env:

protoc-gen-connect-python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "protoc-gen-connect-python"
2+
name = "protoc-gen-connectrpc"
33
version = "0.9.0"
44
description = "Code generator for connect-python"
55
maintainers = [

protoc-gen-connect-python/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "connect-python"
2+
name = "connectrpc"
33
version = "0.9.0"
44
description = "Server and client runtime library for Connect RPC"
55
maintainers = [
@@ -248,6 +248,6 @@ exclude = [
248248
members = ["connectrpc-otel", "example"]
249249

250250
[tool.uv.sources]
251-
connect-python = { workspace = true }
251+
connectrpc = { workspace = true }
252252
connect-python-example = { workspace = true }
253253
connectrpc-otel = { workspace = true }

src/connectrpc/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
from importlib.metadata import version
44

5-
__version__ = version("connect-python")
5+
__version__ = version("connectrpc")

uv.lock

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)