47 lines
459 B
Markdown
47 lines
459 B
Markdown
# PySerum
|
|
|
|
Python client library for interacting with the Project Serum DEX.
|
|
|
|
### Setup
|
|
|
|
1. Install pipenv.
|
|
|
|
```sh
|
|
brew install pipenv
|
|
```
|
|
|
|
2. Install dev dependencies.
|
|
|
|
```sh
|
|
pipenv install --dev
|
|
```
|
|
|
|
3. Activate the pipenv shell.
|
|
|
|
```sh
|
|
pipenv shell
|
|
```
|
|
|
|
### Lint
|
|
|
|
```sh
|
|
make lint
|
|
```
|
|
|
|
### Tests
|
|
|
|
```sh
|
|
# All tests
|
|
make tests
|
|
# Unit tests only
|
|
make unit-tests
|
|
# Integration tests only
|
|
make int-tests
|
|
```
|
|
|
|
### Using Jupyter Notebook
|
|
|
|
```sh
|
|
make notebook
|
|
```
|