You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Full Changelog: [v0.0.1...v0.1.0](https://github.com/browserbase/stagehand-python/compare/v0.0.1...v0.1.0)
6
+
7
+
### Features
8
+
9
+
*[STG-1053][server] Use fastify-zod-openapi + zod v4 for openapi generation ([405c606](https://github.com/browserbase/stagehand-python/commit/405c6068de29f39d90882b31805cc2785c6b94e0))
***api:** tweak branding and fix some config fields ([8526eb4](https://github.com/browserbase/stagehand-python/commit/8526eb4417d0f2b69397294b1aa3d4da5892f2d6))
30
+
31
+
32
+
### Bug Fixes
33
+
34
+
* use async_to_httpx_files in patch method ([77eb123](https://github.com/browserbase/stagehand-python/commit/77eb1234c04a9aa95cedddb15bef377d644f6c42))
35
+
36
+
37
+
### Chores
38
+
39
+
***internal:** add `--fix` argument to lint script ([f7eefb4](https://github.com/browserbase/stagehand-python/commit/f7eefb45344f354cfbdbfa00505f0225ce1ad396))
40
+
***internal:** add missing files argument to base client ([5c05e7b](https://github.com/browserbase/stagehand-python/commit/5c05e7b37ae9aff8e259cc3190998d7e259f0cef))
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,32 +1,32 @@
1
1
## Setting up the environment
2
2
3
-
### With Rye
3
+
### With `uv`
4
4
5
-
We use [Rye](https://rye.astral.sh/) to manage dependencies because it will automatically provision a Python environment with the expected Python version. To set it up, run:
5
+
We use [uv](https://docs.astral.sh/uv/) to manage dependencies because it will automatically provision a Python environment with the expected Python version. To set it up, run:
6
6
7
7
```sh
8
8
$ ./scripts/bootstrap
9
9
```
10
10
11
-
Or [install Rye manually](https://rye.astral.sh/guide/installation/) and run:
11
+
Or [install uv manually](https://docs.astral.sh/uv/getting-started/installation/) and run:
12
12
13
13
```sh
14
-
$ rye sync --all-features
14
+
$ uv sync --all-extras
15
15
```
16
16
17
-
You can then run scripts using `rye run python script.py` or by activating the virtual environment:
17
+
You can then run scripts using `uv run python script.py` or by manually activating the virtual environment:
18
18
19
19
```sh
20
-
#Activate the virtual environment - https://docs.python.org/3/library/venv.html#how-venvs-work
Alternatively if you don't want to install `Rye`, you can stick with the standard `pip` setup by ensuring you have the Python version specified in `.python-version`, create a virtual environment however you desire and then install dependencies using this command:
29
+
Alternatively if you don't want to install `uv`, you can stick with the standard `pip` setup by ensuring you have the Python version specified in `.python-version`, create a virtual environment however you desire and then install dependencies using this command:
30
30
31
31
```sh
32
32
$ pip install -r requirements-dev.lock
@@ -45,7 +45,7 @@ All files in the `examples/` directory are not modified by the generator and can
45
45
```py
46
46
# add an example to examples/<your-example>.py
47
47
48
-
#!/usr/bin/env -S rye run python
48
+
#!/usr/bin/env -S uv run python
49
49
…
50
50
```
51
51
@@ -62,7 +62,7 @@ If you’d like to use the repository from source, you can either install from g
Alternatively, you can build from source and install the wheel file:
@@ -72,7 +72,7 @@ Building this package will create two files in the `dist/` directory, a `.tar.gz
72
72
To create a distributable version of the library, all you have to do is run this command:
73
73
74
74
```sh
75
-
$ rye build
75
+
$ uv build
76
76
# or
77
77
$ python -m build
78
78
```
@@ -120,7 +120,7 @@ the changes aren't made through the automated pipeline, you may want to make rel
120
120
121
121
### Publish with a GitHub workflow
122
122
123
-
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/stainless-sdks/stagehand-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
123
+
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/browserbase/stagehand-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
0 commit comments