Skip to content

Commit 1b6d5ec

Browse files
Lightspark Engjklein24
authored andcommitted
Project import generated by Copybara.
GitOrigin-RevId: 17938477f5f6ba11167a14564ad918ba6e7b7716
1 parent ca4f9dd commit 1b6d5ec

3 files changed

Lines changed: 34 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
The Lightspark Python SDK provides a convenient way to interact with the Lightspark services from applications written in the Python language.
44

5+
## Installation
6+
7+
To install the SDK, simply run:
8+
9+
```bash
10+
pip install lightspark
11+
```
12+
513
## Documentation
614

715
The documentation for this SDK (installation, usage, etc.) is available at https://app.lightspark.com/docs/sdk

RELEASE.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Releasing the Python SDK
2+
3+
## Step 1: Update version number
4+
5+
You'll need to update the version number in the format `X.Y.Z`.
6+
7+
We are following the SEMVER spec, so:
8+
9+
- increase `X` for breaking changes
10+
- increase `Y` for non-breaking changes that add functionality
11+
- increase `Z` for non-breaking bug fixes
12+
13+
You'll need to bump the version number in `<WEBDEV_ROOT>/python-sdk/lightspark/version.py`.
14+
15+
## Step 2: Changelog
16+
17+
Edit the file `<WEBDEV_ROOT>/sdk/CHANGELOG.md` and add all the relevant changes since the last version.
18+
19+
## Step 3: Tag and publish the release
20+
21+
After merging these changes to main, open the repo in github and publish a new release from the main branch
22+
with the version number you chose in step 1 (tagged `vX.Y.Z`). The release notes should be the same as the
23+
changelog you wrote in step 2.
24+
25+
Publishing the release will automatically trigger a CI job to publish the new version to PyPI.

copy.bara.sky

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ core.workflow(
4646

4747
origin_files = glob(
4848
["python-sdk/**", "copy.bara.sky"],
49-
exclude = ["python-sdk/examples/internal_example.py"],
49+
exclude = ["python-sdk/examples/internal_example.py", "python-sdk/RELEASE-internal.md"],
5050
),
5151

5252
authoring = authoring.pass_thru("Lightspark Eng <engineering@lightspark.com>"),

0 commit comments

Comments
 (0)