Skip to content

Commit 83f2ea8

Browse files
docs: rename pip install burr to pip install apache-burr (#772)
The PyPI package was renamed to apache-burr at the 0.41.0 release, but ~30 files in docs, examples, and a few error messages still tell users to `pip install burr[...]`. That doesn't work — PyPI's `burr` is a placeholder. This is a pure mechanical sweep that only touches `pip install` invocations. Module imports (`import burr`, `from burr...`), the `burr` CLI command name, and file paths are untouched.
1 parent b4f2903 commit 83f2ea8

32 files changed

Lines changed: 56 additions & 56 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Longer [video intro & walkthrough](https://www.youtube.com/watch?v=rEZ4oDN0GdU).
4545
Install from `pypi`:
4646

4747
```bash
48-
pip install "burr[start]"
48+
pip install "apache-burr[start]"
4949
```
5050

5151
(see [the docs](https://burr.apache.org/getting_started/install/) if you're using poetry)

burr/core/action.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ def pydantic(
14621462
from burr.integrations.pydantic import pydantic_action
14631463
except ImportError:
14641464
raise ImportError(
1465-
"Please install pydantic to use the pydantic decorator. pip install burr[pydantic]"
1465+
"Please install pydantic to use the pydantic decorator. pip install apache-burr[pydantic]"
14661466
)
14671467

14681468
return pydantic_action(
@@ -1525,7 +1525,7 @@ def pydantic(
15251525
from burr.integrations.pydantic import pydantic_streaming_action
15261526
except ImportError:
15271527
raise ImportError(
1528-
"Please install pydantic to use the pydantic decorator. pip install 'burr[pydantic]'"
1528+
"Please install pydantic to use the pydantic decorator. pip install 'apache-burr[pydantic]'"
15291529
)
15301530

15311531
return pydantic_streaming_action(

burr/core/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def visualize(
206206
except ModuleNotFoundError:
207207
logger.exception(
208208
" graphviz is required for visualizing the application graph. Install it with:"
209-
'\n\n pip install "burr[graphviz]" or pip install graphviz \n\n'
209+
'\n\n pip install "apache-burr[graphviz]" or pip install graphviz \n\n'
210210
)
211211
return
212212
digraph_attr = dict(

burr/tracking/server/s3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The server is executable by a simple python command (although in production you'
3333
To get everything you need, you can install as you would any python library:
3434

3535
```bash
36-
pip install "burr[tracking-server-s3, cli]"
36+
pip install "apache-burr[tracking-server-s3, cli]"
3737
```
3838

3939
Note that this enables you to run through the CLI -- you won't need the CLI target to run in production,

docs/concepts/tracking.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Tracking Burr
2727

2828
Burr's telemetry system is built in and easy to integrate. It allows you to understand
2929
the flow of your application, and watch it make decisions in real time. You can run it
30-
with sample projects by running ``burr`` in the terminal after ``pip install "burr[start]"``.
30+
with sample projects by running ``burr`` in the terminal after ``pip install "apache-burr[start]"``.
3131

3232
Burr comes with a telemetry system that allows tracking a variety of information for debugging,
3333
both in development and production.

docs/examples/chatbots/rag-chatbot-hamilton.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"outputs": [],
3333
"source": [
34-
"!pip install burr[start] sf-hamilton[visualization] openai "
34+
"!pip install apache-burr[start] sf-hamilton[visualization] openai "
3535
]
3636
},
3737
{

docs/getting_started/install.rst

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ along with a fully built server.
2828

2929
.. code-block:: bash
3030
31-
pip install "burr[start]"
31+
pip install "apache-burr[start]"
3232
3333
This will give you tools to visualize, track, and interact with the UI. You can explore the UI (including some sample projects)
3434
simply by running the command ``burr``. Up next we'll write our own application and follow it in the UI.
@@ -48,135 +48,135 @@ Description of different targets
4848

4949
.. code-block:: bash
5050
51-
pip install burr
51+
pip install apache-burr
5252
5353
This only installs the framework. Zero other dependencies. All other installs below all install the
5454
framework + some other dependencies. Note you can combine installing multiple optional dependencies with commas, e.g.
55-
``pip install "burr[cli,tracking]"`` installs both the CLI and tracking + UI dependencies.
55+
``pip install "apache-burr[cli,tracking]"`` installs both the CLI and tracking + UI dependencies.
5656

5757
.. code-block:: bash
5858
59-
pip install "burr[cli]"
59+
pip install "apache-burr[cli]"
6060
6161
This installs the dependencies to run the burr CLI, i.e. `burr --help`.
6262

6363
.. code-block:: bash
6464
65-
pip install "burr[developer]"
65+
pip install "apache-burr[developer]"
6666
6767
This installs all the dependencies for developing locally.
6868

6969
.. code-block:: bash
7070
71-
pip install "burr[documentation]"
71+
pip install "apache-burr[documentation]"
7272
7373
This installs the dependencies to build the documentation.
7474

7575
.. code-block:: bash
7676
77-
pip install "burr[examples]"
77+
pip install "apache-burr[examples]"
7878
7979
This installs the dependencies for the examples.
8080

8181

8282
.. code-block:: bash
8383
84-
pip install "burr[graphviz]"
84+
pip install "apache-burr[graphviz]"
8585
8686
This installs the dependencies to visualize the graph.
8787

8888
.. code-block:: bash
8989
90-
pip install "burr[hamilton]"
90+
pip install "apache-burr[hamilton]"
9191
9292
This installs the dependencies for Hamilton.
9393

9494
.. code-block:: bash
9595
96-
pip install "burr[haystack]"
96+
pip install "apache-burr[haystack]"
9797
9898
This installs the dependencies for Haystack.
9999

100100
.. code-block:: bash
101101
102-
pip install "burr[learn]"
102+
pip install "apache-burr[learn]"
103103
104104
This installs the dependencies for the UI, CLI, and running demos. It is equivalent to `start` below.
105105

106106
.. code-block:: bash
107107
108-
pip install "burr[opentelemetry]"
108+
pip install "apache-burr[opentelemetry]"
109109
110110
This installs the dependencies for using OpenTelemetry with Burr.
111111

112112
.. code-block:: bash
113113
114-
pip install "burr[postgresql]"
114+
pip install "apache-burr[postgresql]"
115115
116116
This installs the dependencies for PostgreSQL.
117117

118118
.. code-block:: bash
119119
120-
pip install "burr[pydantic]"
120+
pip install "apache-burr[pydantic]"
121121
122122
This installs the dependencies for Pydantic.
123123

124124
.. code-block:: bash
125125
126-
pip install "burr[redis]"
126+
pip install "apache-burr[redis]"
127127
128128
This installs the dependencies for Redis.
129129

130130
.. code-block:: bash
131131
132-
pip install "burr[start]"
132+
pip install "apache-burr[start]"
133133
134134
This installs the dependencies for the UI, CLI, and running demos. It is equivalent to `learn` above.
135135

136136
.. code-block:: bash
137137
138-
pip install "burr[streamlit]"
138+
pip install "apache-burr[streamlit]"
139139
140140
This installs the dependencies for Streamlit.
141141

142142
.. code-block:: bash
143143
144-
pip install "burr[tests]"
144+
pip install "apache-burr[tests]"
145145
146146
This installs the dependencies for running unit tests.
147147

148148
.. code-block:: bash
149149
150-
pip install "burr[tracking]"
150+
pip install "apache-burr[tracking]"
151151
152152
This installs the client and server dependencies for tracking and running the UI from tracking that is on a filesystem.
153153

154154
.. code-block:: bash
155155
156-
pip install "burr[tracking-client]"
156+
pip install "apache-burr[tracking-client]"
157157
158158
This installs the client dependencies for tracking to a filesystem.
159159

160160
.. code-block:: bash
161161
162-
pip install "burr[tracking-client-s3]"
162+
pip install "apache-burr[tracking-client-s3]"
163163
164164
This installs the client dependencies for tracking to S3.
165165

166166
.. code-block:: bash
167167
168-
pip install "burr[tracking-server-s3]"
168+
pip install "apache-burr[tracking-server-s3]"
169169
170170
This installs the server dependencies to run the UI and load tracking that was sent to S3.
171171

172172
.. code-block:: bash
173173
174-
pip install "burr[tracking-server]"
174+
pip install "apache-burr[tracking-server]"
175175
176176
This installs the server dependencies for running the UI off a filesystem.
177177

178178
.. code-block:: bash
179179
180-
pip install "burr[bedrock]"
180+
pip install "apache-burr[bedrock]"
181181
182182
This installs ``boto3`` for the :ref:`Amazon Bedrock integration <bedrock-integration>` (``BedrockAction`` / ``BedrockStreamingAction``).

docs/getting_started/up-next.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ If you haven't already:
3838

3939
.. code-block:: bash
4040
41-
pip install burr[start]
41+
pip install apache-burr[start]
4242
4343
Then:
4444

docs/reference/integrations/bedrock.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Install the optional extra (pulls ``boto3``):
3030

3131
.. code-block:: bash
3232
33-
pip install "burr[bedrock]"
33+
pip install "apache-burr[bedrock]"
3434
3535
IAM permissions must allow ``bedrock:InvokeModel`` / streaming equivalents for your
3636
chosen models; see AWS documentation for your account and model IDs.

docs/reference/integrations/streamlit.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Install with pypi:
2828

2929
.. code-block:: bash
3030
31-
pip install burr[streamlit]
31+
pip install apache-burr[streamlit]
3232
3333
.. autoclass:: burr.integrations.streamlit.AppState
3434
:members:

0 commit comments

Comments
 (0)