Skip to content

Commit 2e449e0

Browse files
authored
feat(py-client): Add a (empty) package for the Python client (#149)
1 parent e683ddf commit 2e449e0

File tree

9 files changed

+79
-57
lines changed

9 files changed

+79
-57
lines changed

.envrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if ! command -v uv >/dev/null 2>&1; then
1717
return 1
1818
fi
1919

20-
uv sync --all-groups
20+
uv sync --all-packages --all-groups
2121
source .venv/bin/activate
2222

2323
source_env_if_exists .envrc.private

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ profile.json.gz
99

1010
# vim swap files
1111
.*.sw*
12+
13+
**/__pycache__

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,14 @@ name = "objectstore"
33
version = "0.1.0"
44
requires-python = ">=3.13"
55

6+
[[tool.uv.index]]
7+
url = "https://pypi.devinfra.sentry.io/simple"
8+
default = true
9+
10+
[tool.uv.workspace]
11+
members = [
12+
"python-objectstore-client",
13+
]
14+
615
[dependency-groups]
716
dev = ["devservices>=1.2.2"]
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Python-generated files
2+
__pycache__/
3+
*.py[oc]
4+
build/
5+
dist/
6+
wheels/
7+
*.egg-info
8+
9+
# Virtual environments
10+
.venv
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# objectstore-client
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[project]
2+
name = "objectstore-client"
3+
version = "0.1.0"
4+
description = "Python client for the Sentry Objectstore service"
5+
readme = "README.md"
6+
requires-python = ">=3.11.11"
7+
dependencies = []
8+
9+
[build-system]
10+
requires = ["uv_build==0.9.3"] # must match the version specified in devenv/config.ini
11+
build-backend = "uv_build"

python-objectstore-client/src/objectstore_client/__init__.py

Whitespace-only changes.

python-objectstore-client/src/objectstore_client/py.typed

Whitespace-only changes.

uv.lock

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

0 commit comments

Comments
 (0)