Skip to content

Commit a46a50c

Browse files
committed
fix: Refactoring library path name & namespace
1 parent 49ee9a3 commit a46a50c

File tree

10 files changed

+32
-32
lines changed

10 files changed

+32
-32
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ LABEL org.opencontainers.image.title="TelemetryFlow Python SDK" \
7878
org.opencontainers.image.base.name="python:3.12-slim" \
7979
# TelemetryFlow specific labels
8080
io.telemetryflow.product="TelemetryFlow Python SDK" \
81-
io.telemetryflow.component="telemetryflow-sdk" \
81+
io.telemetryflow.component="telemetryflow-python-sdk" \
8282
io.telemetryflow.platform="CEOP" \
8383
io.telemetryflow.maintainer="DevOpsCorner Indonesia"
8484

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ install-dev:
310310

311311
uninstall:
312312
@echo "$(GREEN)Uninstalling package...$(NC)"
313-
@$(PIP) uninstall -y telemetryflow-sdk
313+
@$(PIP) uninstall -y telemetryflow-python-sdk
314314
@echo "$(GREEN)Package uninstalled$(NC)"
315315

316316
## Publishing

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,23 +75,23 @@ graph TB
7575
## Installation
7676

7777
```bash
78-
pip install telemetryflow-sdk
78+
pip install telemetryflow-python-sdk
7979
```
8080

8181
With optional dependencies:
8282

8383
```bash
8484
# HTTP framework support (Flask, FastAPI)
85-
pip install telemetryflow-sdk[http]
85+
pip install telemetryflow-python-sdk[http]
8686

8787
# gRPC support
88-
pip install telemetryflow-sdk[grpc]
88+
pip install telemetryflow-python-sdk[grpc]
8989

9090
# Development tools
91-
pip install telemetryflow-sdk[dev]
91+
pip install telemetryflow-python-sdk[dev]
9292

9393
# All extras
94-
pip install telemetryflow-sdk[dev,http,grpc]
94+
pip install telemetryflow-python-sdk[dev,http,grpc]
9595
```
9696

9797
## Quick Start

docker-compose.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ services:
6464
- ./workspace:/workspace
6565
working_dir: /workspace
6666
networks:
67-
- telemetryflow-sdk
67+
- telemetryflow-python-sdk
6868

6969
# ---------------------------------------------------------------------------
7070
# RESTful API Generator
@@ -96,7 +96,7 @@ services:
9696
otel-collector:
9797
condition: service_healthy
9898
networks:
99-
- telemetryflow-sdk
99+
- telemetryflow-python-sdk
100100
profiles:
101101
- example
102102

@@ -131,7 +131,7 @@ services:
131131
otel-collector:
132132
condition: service_healthy
133133
networks:
134-
- telemetryflow-sdk
134+
- telemetryflow-python-sdk
135135
profiles:
136136
- dev
137137

@@ -184,7 +184,7 @@ services:
184184
retries: 5
185185
start_period: 10s
186186
networks:
187-
- telemetryflow-sdk
187+
- telemetryflow-python-sdk
188188

189189
# ---------------------------------------------------------------------------
190190
# Jaeger (for trace visualization)
@@ -199,7 +199,7 @@ services:
199199
environment:
200200
- COLLECTOR_OTLP_ENABLED=true
201201
networks:
202-
- telemetryflow-sdk
202+
- telemetryflow-python-sdk
203203
profiles:
204204
- dev
205205
- full
@@ -220,7 +220,7 @@ services:
220220
- '--storage.tsdb.path=/prometheus'
221221
- '--web.enable-lifecycle'
222222
networks:
223-
- telemetryflow-sdk
223+
- telemetryflow-python-sdk
224224
profiles:
225225
- full
226226

@@ -240,7 +240,7 @@ services:
240240
- grafana-data:/var/lib/grafana
241241
- ./configs/grafana/provisioning:/etc/grafana/provisioning:ro
242242
networks:
243-
- telemetryflow-sdk
243+
- telemetryflow-python-sdk
244244
profiles:
245245
- full
246246

@@ -257,6 +257,6 @@ volumes:
257257
# Networks
258258
# -----------------------------------------------------------------------------
259259
networks:
260-
telemetryflow-sdk:
260+
telemetryflow-python-sdk:
261261
driver: bridge
262262
name: telemetryflow-python-sdk-network

docs/BUILD-SYSTEM.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ make build
332332

333333
Creates:
334334

335-
- `dist/telemetryflow_sdk-1.1.2-py3-none-any.whl`
336-
- `dist/telemetryflow_sdk-1.1.2.tar.gz`
335+
- `dist/telemetryflow_python_sdk-1.1.2-py3-none-any.whl`
336+
- `dist/telemetryflow_python_sdk-1.1.2.tar.gz`
337337

338338
#### make clean
339339

@@ -509,18 +509,18 @@ ls -la dist/
509509

510510
```
511511
dist/
512-
├── telemetryflow_sdk-1.1.2-py3-none-any.whl # Wheel (binary)
513-
└── telemetryflow_sdk-1.1.2.tar.gz # Source distribution
512+
├── telemetryflow_python_sdk-1.1.2-py3-none-any.whl # Wheel (binary)
513+
└── telemetryflow_python_sdk-1.1.2.tar.gz # Source distribution
514514
```
515515

516516
### Installing Built Package
517517

518518
```bash
519519
# Install wheel
520-
pip install dist/telemetryflow_sdk-1.1.2-py3-none-any.whl
520+
pip install dist/telemetryflow_python_sdk-1.1.2-py3-none-any.whl
521521

522522
# Install from source
523-
pip install dist/telemetryflow_sdk-1.1.2.tar.gz
523+
pip install dist/telemetryflow_python_sdk-1.1.2.tar.gz
524524
```
525525

526526
## Publishing
@@ -578,7 +578,7 @@ make build
578578
make publish-test
579579

580580
# 6. Test installation
581-
pip install --index-url https://test.pypi.org/simple/ telemetryflow-sdk
581+
pip install --index-url https://test.pypi.org/simple/ telemetryflow-python-sdk
582582

583583
# 7. Publish to production PyPI
584584
make publish
@@ -633,9 +633,9 @@ FROM python:3.12-slim
633633

634634
WORKDIR /app
635635

636-
COPY dist/telemetryflow_sdk-*.whl .
636+
COPY dist/telemetryflow_python_sdk-*.whl .
637637

638-
RUN pip install --no-cache-dir telemetryflow_sdk-*.whl
638+
RUN pip install --no-cache-dir telemetryflow_python_sdk-*.whl
639639

640640
# Example application
641641
COPY examples/basic/main.py .
@@ -680,7 +680,7 @@ requires = ["setuptools>=61.0", "wheel"]
680680
build-backend = "setuptools.build_meta"
681681

682682
[project]
683-
name = "telemetryflow-sdk"
683+
name = "telemetryflow-python-sdk"
684684
version = "1.1.2"
685685
requires-python = ">=3.12"
686686

docs/GENERATOR.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The `telemetryflow-gen` CLI tool helps you quickly set up TelemetryFlow SDK inte
77
The generator is installed automatically with the SDK:
88

99
```bash
10-
pip install telemetryflow-sdk
10+
pip install telemetryflow-python-sdk
1111
```
1212

1313
Verify installation:
@@ -335,7 +335,7 @@ command not found: telemetryflow-gen
335335
**Solution:** Reinstall the SDK or check your PATH:
336336

337337
```bash
338-
pip install --force-reinstall telemetryflow-sdk
338+
pip install --force-reinstall telemetryflow-python-sdk
339339
# or
340340
python -m telemetryflow.cli.generator init
341341
```

docs/QUICKSTART.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Get started with TelemetryFlow Python SDK in 5 minutes.
1111
## Installation
1212

1313
```bash
14-
pip install telemetryflow-sdk
14+
pip install telemetryflow-python-sdk
1515
```
1616

1717
Or install from source:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.0", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "telemetryflow-sdk"
6+
name = "telemetryflow-python-sdk"
77
version = "1.1.2"
88
description = "TelemetryFlow Python SDK - OpenTelemetry-based observability SDK for metrics, logs, and traces"
99
readme = "README.md"
@@ -92,7 +92,7 @@ instrumentation = [
9292
"opentelemetry-instrumentation-redis>=0.49b0",
9393
]
9494
all = [
95-
"telemetryflow-sdk[http,grpc,restapi,instrumentation]",
95+
"telemetryflow-python-sdk[http,grpc,restapi,instrumentation]",
9696
]
9797

9898
[project.urls]

src/telemetryflow/cli/templates/restapi/project/pyproject.toml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies = [
2525
"alembic>=1.13.0",
2626
"pydantic>=2.5.0",
2727
"python-dotenv>=1.0.0",
28-
"telemetryflow-sdk>=1.1.1",
28+
"telemetryflow-python-sdk>=1.1.1",
2929
]
3030

3131
[project.optional-dependencies]

src/telemetryflow/cli/templates/restapi/project/requirements.txt.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pydantic>=2.5.0
2929
python-dotenv>=1.0.0
3030

3131
# TelemetryFlow (Observability)
32-
telemetryflow-sdk>=1.1.0
32+
telemetryflow-python-sdk>=1.1.0
3333

3434
# Production Server
3535
gunicorn>=21.0.0

0 commit comments

Comments
 (0)