File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33The 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
715The documentation for this SDK (installation, usage, etc.) is available at https://app.lightspark.com/docs/sdk
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff 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>"),
You can’t perform that action at this time.
0 commit comments