A library for the study of cooperative game theory.
Project description
CoopGT
A library for the study of cooperative game theory. It works with characteristic function games and provides the Shapley value, checks of standard properties (validity, monotonicity, superadditivity, convexity), and core membership.
Documentation
Full documentation, including a theory section, is available here: https://drvinceknight.github.io/coopgt/
Installation
$ python -m pip install coopgt
Development
This project uses uv for environment management,
ruff for linting and formatting,
ty for type checking, and
zensical for the documentation.
Clone the repository and install the development dependencies:
$ git clone https://github.com/drvinceknight/coopgt.git
$ cd coopgt
$ uv sync --group dev
Run the checks and the test suite:
$ uv run ruff check src/ tests/
$ uv run ruff format --check src/ tests/
$ uv run ty check src/
$ uv run pytest
Build and preview the documentation:
$ uv run zensical build
$ uv run zensical serve
Code of conduct
In the interest of fostering an open and welcoming environment, all contributors, maintainers and users are expected to abide by the Python code of conduct: https://www.python.org/psf/codeofconduct/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coopgt-0.0.3.tar.gz.
File metadata
- Download URL: coopgt-0.0.3.tar.gz
- Upload date:
- Size: 63.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74e679fa92fa1022e05957298a010143c3154182eaa45b763c61e9034d2676b6
|
|
| MD5 |
a238c4bdc6cc74e691c86626fce38884
|
|
| BLAKE2b-256 |
53a4c6cecee5e3ef43cc329a863c1a12692889b43bedac374b330d8a55f69e4f
|
Provenance
The following attestation bundles were made for coopgt-0.0.3.tar.gz:
Publisher:
publish.yml on drvinceknight/coopgt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coopgt-0.0.3.tar.gz -
Subject digest:
74e679fa92fa1022e05957298a010143c3154182eaa45b763c61e9034d2676b6 - Sigstore transparency entry: 1691320179
- Sigstore integration time:
-
Permalink:
drvinceknight/coopgt@b77849e33203cd9de5c10b1d387b2d6c7b2a0a3a -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/drvinceknight
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b77849e33203cd9de5c10b1d387b2d6c7b2a0a3a -
Trigger Event:
release
-
Statement type:
File details
Details for the file coopgt-0.0.3-py3-none-any.whl.
File metadata
- Download URL: coopgt-0.0.3-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
747ad32d9355d8c8586b3dea09a9d097c29a39bfed3411188202f5ef986e30a8
|
|
| MD5 |
5001925327132a4114398e9a4ddd22e5
|
|
| BLAKE2b-256 |
450aba8748efb0e40b8220f5fe4e6c1e30feed740b1a78607e7ccc16b4e74f54
|
Provenance
The following attestation bundles were made for coopgt-0.0.3-py3-none-any.whl:
Publisher:
publish.yml on drvinceknight/coopgt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coopgt-0.0.3-py3-none-any.whl -
Subject digest:
747ad32d9355d8c8586b3dea09a9d097c29a39bfed3411188202f5ef986e30a8 - Sigstore transparency entry: 1691320186
- Sigstore integration time:
-
Permalink:
drvinceknight/coopgt@b77849e33203cd9de5c10b1d387b2d6c7b2a0a3a -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/drvinceknight
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b77849e33203cd9de5c10b1d387b2d6c7b2a0a3a -
Trigger Event:
release
-
Statement type: