https://github.com/whist-team/whist-core
Whist rules implementation
https://github.com/whist-team/whist-core
game hacktoberfest pydantic python whist
Last synced: 3 months ago
JSON representation
Whist rules implementation
- Host: GitHub
- URL: https://github.com/whist-team/whist-core
- Owner: Whist-Team
- License: mit
- Created: 2021-04-11T18:37:12.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-19T21:56:38.000Z (3 months ago)
- Last Synced: 2025-03-20T07:44:21.220Z (3 months ago)
- Topics: game, hacktoberfest, pydantic, python, whist
- Language: Python
- Homepage:
- Size: 1.59 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://whist-core.readthedocs.io/en/latest/)
[](https://codecov.io/gh/Whist-Team/Whist-Core)






# Whist-Core
Whist rules implementation## Development
### Setup
You need [Poetry](https://python-poetry.org/) for development.
```bash
# Create venv and install deps
poetry install
```
The Python virtual environment will be created in the `.venv` directory.### Run tests/lint
```bash
# Run tests (in venv)
python -m pytest # or pylint...
# OR
poetry run python -m pytest
```### Build
Generates `sdist` and `bdist_wheel`.
```bash
poetry build
```### Publish
You need the environment variable `POETRY_PYPI_TOKEN_PYPI` filled with a PyPI token.
```bash
poetry build
poetry publish
# OR
poetry publish --build
```