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
Copy file name to clipboardExpand all lines: docs/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Please explore the SleepKit Docs, a comprehensive resource designed to help you
28
28
29
29
## <spanclass="sk-h2-span">Getting Started</span>
30
30
31
-
-**Install**`SleepKit` with pip/poetry and getting up and running in minutes. [:material-clock-fast: Install SleepKit](./quickstart.md/#install-sleepkit){ .md-button }
31
+
-**Install**`SleepKit` with pip/uv and getting up and running in minutes. [:material-clock-fast: Install SleepKit](./quickstart.md/#install-sleepkit){ .md-button }
32
32
-**Train** a model with a custom network [:fontawesome-solid-brain: Train a Model](modes/train.md){ .md-button }
33
33
-**Tasks**`SleepKit` provides tasks like staging, and apnea [:material-magnify-expand: Explore Tasks](tasks/index.md){ .md-button }
34
34
-**Datasets** Several built-in datasets can be leveraged [:material-database-outline: Explore Datasets](./datasets/index.md){ .md-button }
@@ -59,7 +59,7 @@ To get started, first install the python package `sleepkit` along with its depen
We provide several installation methods including pip, poetry, and Docker. Install __SleepKit__ via pip/poetry for the latest stable release or by cloning the GitHub repo for the most up-to-date. Additionally, a [VSCode Dev Container](https://code.visualstudio.com/docs/devcontainers/containers) is available and defined in [./.devcontainer](https://github.com/AmbiqAI/sleepkit/tree/main/.devcontainer) to run in an isolated Docker environment.
5
+
We provide several installation methods including pip, uv, and Docker. Install __SleepKit__ via pip/uv for the latest stable release or by cloning the GitHub repo for the most up-to-date. Additionally, a [VSCode Dev Container](https://code.visualstudio.com/docs/devcontainers/containers) is available and defined in [./.devcontainer](https://github.com/AmbiqAI/sleepkit/tree/main/.devcontainer) to run in an isolated Docker environment.
6
6
7
7
!!! install
8
8
9
9
=== "Git clone"
10
10
11
-
Clone the repository if you are interested in contributing to the development or wish to experiment with the latest source code. After cloning, navigate into the directory and install the package. In this mode, Poetry is recommended.
11
+
Clone the repository if you are interested in contributing to the development or wish to experiment with the latest source code. After cloning, navigate into the directory and install the package. In this mode, uv is recommended.
12
12
13
13
```bash
14
14
# Clone the repository
@@ -18,27 +18,27 @@ We provide several installation methods including pip, poetry, and Docker. Insta
18
18
cd sleepkit
19
19
20
20
# Install the package in editable mode for development
21
-
poetry install
21
+
uv sync
22
22
```
23
23
24
-
When using editable mode via Poetry, be sure to activate the python environment: `poetry shell`. <br>
25
-
On Windows using Powershell, use `.venv\Scripts\activate.ps1`.
24
+
When using editable mode via uv, be sure to activate the python environment: `source .venv/bin/activate`. <br>
25
+
On Windows using Powershell, use `.venv\Scripts\activate`.
26
26
27
27
=== "PyPI install"
28
28
29
-
Install the SleepKit package using pip or Poetry.
29
+
Install the SleepKit package using pip or uv.
30
30
Visit the Python Package Index (PyPI) for more details on the package: [https://pypi.org/project/sleepkit/](https://pypi.org/project/sleepkit/)
31
31
32
32
```bash
33
33
# Install with pip
34
34
pip install sleepkit
35
35
```
36
36
37
-
Or, if you prefer to use Poetry, you can install the package with the following command:
37
+
Or, if you prefer to use uv, you can install the package with the following command:
38
38
39
39
```bash
40
-
# Install with poetry
41
-
poetry add sleepkit
40
+
# Install with uv
41
+
uv add sleepkit
42
42
```
43
43
44
44
Alternatively, you can install the latest development version directly from the GitHub repository. Make sure to have the Git command-line tool installed on your system. The @main command installs the main branch and may be modified to another branch, i.e. @canary.
@@ -47,16 +47,16 @@ We provide several installation methods including pip, poetry, and Docker. Insta
Check the project's [pyproject.toml](https://github.com/AmbiqAI/sleepkit/blob/main/pyproject.toml) file for a list of up-to-date Python dependencies. Note that the installation methods above install all required dependencies. The following are optional dependencies only needed when running `demo` command using Ambiq's evaluation board (`EVB`) backend:
0 commit comments