Skip to content

Commit 4fe8df8

Browse files
authored
Merge pull request #4 from hummingbot/feat/update_readme
Feat/update readme
2 parents 3d49a4f + 6cc9708 commit 4fe8df8

File tree

3 files changed

+15
-28
lines changed

3 files changed

+15
-28
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
permissions:
2222
id-token: write # IMPORTANT: mandatory for trusted publishing
23-
contents: read
23+
contents: write # IMPORTANT: mandatory for creating releases
2424

2525
steps:
2626
- name: Checkout code

README.md

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -98,38 +98,25 @@ The client provides access to all Hummingbot API functionality through specializ
9898

9999
## Examples
100100

101-
### Basic Examples
101+
### Jupyter Notebooks
102102

103-
The `examples/` directory contains comprehensive examples for each router:
103+
The library includes comprehensive Jupyter notebooks demonstrating usage for each router. These provide interactive, step-by-step tutorials with explanations:
104104

105-
```bash
106-
# Basic usage demonstrating all features
107-
python examples/basic_usage.py
108-
109-
# Router-specific examples
110-
python examples/docker_example.py
111-
python examples/accounts_example.py
112-
python examples/trading_example.py
113-
# ... and more
114-
```
115-
116-
### Interactive Test Scripts
117-
118-
Comprehensive test scripts with step-by-step demonstrations:
105+
**Note:** Jupyter notebooks are not included in the repository by default. To run the example notebooks, install Jupyter:
119106

120107
```bash
121-
# Run in automatic mode
122-
python examples/docker_example.py
123-
python examples/accounts_example.py
124-
python examples/trading_example.py
125-
python examples/portfolio_example.py
126-
python examples/connectors_example.py
127-
128-
# Run in interactive mode (with explanations)
129-
python examples/docker_example.py --interactive
108+
pip install jupyter notebook
109+
# or
110+
pip install jupyterlab
130111
```
131112

132-
Each test script demonstrates the complete functionality of its router with real API calls.
113+
Example notebooks cover:
114+
- Basic usage demonstrating all features
115+
- Router-specific examples (docker, accounts, trading, portfolio, connectors)
116+
- Advanced patterns and error handling
117+
- Real-time monitoring and bot management
118+
119+
Each notebook provides interactive demonstrations of the complete functionality with real API calls and detailed explanations.
133120

134121
## Advanced Usage
135122

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "hummingbot-api-client"
7-
version = "1.0.1"
7+
version = "1.0.2"
88
description = "An async Python client for Hummingbot API"
99
readme = "README.md"
1010
requires-python = ">=3.8"

0 commit comments

Comments
 (0)