File: README.md

package info (click to toggle)
nanopub 0.2.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,240 kB
  • sloc: javascript: 181; sh: 86; python: 64; xml: 60; makefile: 31
file content (33 lines) | stat: -rw-r--r-- 327 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
## Nanopub bindings to python

https://docs.rs/pyo3/latest/pyo3

Install maturin:

```bash
python -m venv .venv
source .venv/bin/activate
pip install "maturin[patchelf]"
```

## Develop

Start in dev:

```bash
maturin develop
```

Test the python lib:

```bash
pytest
```

## Build

Build the wheel:

```bash
maturin build
```