https://github.com/cqcl/ssip
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/cqcl/ssip
- Owner: CQCL
- License: mit
- Created: 2024-06-26T09:39:00.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-18T07:03:39.000Z (almost 2 years ago)
- Last Synced: 2025-05-07T04:48:24.384Z (about 1 year ago)
- Language: Python
- Size: 2.27 MB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SSIP
SSIP is available from PyPi for Python >= 3.10:
```sh
pip install ssip
```
See the [documentation](https://cqcl.github.io/SSIP/api-docs/) for a more thorough description.
## Development
### Prerequisites
- Python >= 3.10
- [Poetry](https://python-poetry.org/docs/#installation)
- [GAP](https://www.gap-system.org)
### Installing
Run the following to setup your virtual environment and install dependencies:
```sh
poetry install
```
You can then activate the virtual environment and work within it with:
```sh
poetry shell
```
Consider using [direnv](https://github.com/direnv/direnv/wiki/Python#poetry) to
automate this when entering and leaving a directory.
To run a single command in the shell, just prefix it with `poetry run`.
Run tests using
```sh
poetry run pytest -v
```
Run tests with code coverage using
```sh
poetry run pytest --cov-report term-missing --cov=ssip tests/
```