PyKP
PyKP is an open-source Python library designed for efficiently solving and analysing knapsack problems. It includes tools for defining problem instances, solving them using various algorithms, and visualising and evaluating solutions.
- Documentation: https://pykp.readthedocs.io
- Installation https://pykp.readthedocs.io/latest/installation/index.html
- Source code: https://github.com/pykp/pykp
- Contributing: https://pykp.readthedocs.io/en/latest/contributing.html
- Bug reports: https://github.com/HRSAndrabi/pykp/issues
PyKP provides a Python interface for working with knapsack problems. For installation instructions, see our install guide.
Call for Contributions
Contributions via small improvements or fixes are always appreciated. If you are interested in contributing, have a look at our contributing guide.
Writing code isn’t the only way to contribute to PyKP. You can also:
- Review pull requests
- Develop tutorials, presentations, and other educational materials
- Maintain and improve the documentation
If you are new to contributing to open source, this guide helps explain why, what, and how to get involved.
Metadata
Release files for pykp 4.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pykp-4.5.0.tar.gz | 32.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pykp-4.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 66.4 kB
Release files / pykp-4.5.0.tar.gz
| Download URL | pykp-4.5.0.tar.gz |
|---|---|
| Size | 32.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1285d4b2536b6a9f4778a9af599ab97088c8420afe801164570e1c1c67d98091
|
|
BLAKE2b-256 checksum How to use checksums |
98d4f8cbb1afed9eea5fad1d06a305d407f753a833fd291cb07673a1582510a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.
Transparency logRelease files / pykp-4.5.0-py3-none-any.whl
| Download URL | pykp-4.5.0-py3-none-any.whl |
|---|---|
| Size | 33.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3841296c48fe0132484305efbb44d45d2df4f1299d893408c5dbd068c6241a61
|
|
BLAKE2b-256 checksum How to use checksums |
e7586f8a99debe28d79c512822e5352095c1fbd6f95247f17b5c54b4ca3a5100
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.
Transparency log