Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coopgt-0.0.3.tar.gz (63.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coopgt-0.0.3-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

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

Hashes for coopgt-0.0.3.tar.gz
Algorithm Hash digest
SHA256 74e679fa92fa1022e05957298a010143c3154182eaa45b763c61e9034d2676b6
MD5 a238c4bdc6cc74e691c86626fce38884
BLAKE2b-256 53a4c6cecee5e3ef43cc329a863c1a12692889b43bedac374b330d8a55f69e4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for coopgt-0.0.3.tar.gz:

Publisher: publish.yml on drvinceknight/coopgt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for coopgt-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 747ad32d9355d8c8586b3dea09a9d097c29a39bfed3411188202f5ef986e30a8
MD5 5001925327132a4114398e9a4ddd22e5
BLAKE2b-256 450aba8748efb0e40b8220f5fe4e6c1e30feed740b1a78607e7ccc16b4e74f54

See more details on using hashes here.

Provenance

The following attestation bundles were made for coopgt-0.0.3-py3-none-any.whl:

Publisher: publish.yml on drvinceknight/coopgt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page