File: developer_guide.md

package info (click to toggle)
python-param 2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,048 kB
  • sloc: python: 17,980; makefile: 3
file content (41 lines) | stat: -rw-r--r-- 1,006 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Developer guide

## Setup

The source code for `Param` is hosted on GitHub. To clone the source repository, issue the following command:

```bash
git clone https://github.com/holoviz/param.git
```

This will create a `param` directory at your file system location.

`Param` relies on `hatch` to manage the project. Follow the [instructions](https://hatch.pypa.io/latest/install/) to install it. Once installed, run the following command to create the *default* environment and activate it, it contains the dependencies required to develop `Param`:

```bash
hatch shell
```

## Testing

The simplest way to run the unit tests is to run the following command:

```bash
hatch run tests
```

You can also run the examples tests, i.e. check that the notebooks run without any error, with:

```bash
hatch run examples
```

## Documentation building

Run the following command to build the documentation:

```bash
hatch run docs:build
```

Once completed, the built site can be found in the `builtdocs` folder.