Skip to main content

NucS logo

pypi version pypi downloads

python version numba version numpy version

tests coverage doc license

TLDR

NuCS is a Python library for solving Constraint Satisfaction and Optimization Problems. Because it is 100% written in Python, NuCS is easy to install and allows to model complex problems in a few lines of code. The NuCS solver is also very fast because it is powered by Numpy and Numba.

Installation

pip install nucs

Documentation

Check out NuCS documentation.

See CHANGELOG.md for what changed between releases, including the 15.0.0 and 16.0.0 migration notes.

With NuCS, in a few seconds you can ...

Find all 14200 solutions to the 12-queens problem

NUMBA_CACHE_DIR=.numba/cache python -m nucs.examples.queens -n 12

queens

Compute the 92 solutions to the BIBD(8,14,7,4,3) problem

NUMBA_CACHE_DIR=.numba/cache python -m nucs.examples.bibd -v 8 -b 14 -r 7 -k 4 -l 3

bibd

Demonstrate that the optimal 10-marks Golomb ruler length is 55

NUMBA_CACHE_DIR=.numba/cache python -m nucs.examples.golomb -n 10

golomb

Metadata

Release files for NuCS 16.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for NuCS 16.0.0
File Size Uploaded
nucs-16.0.0.tar.gz 175.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for NuCS 16.0.0
File Interpreter ABI Platform
nucs-16.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 481.0 kB

Release files / nucs-16.0.0.tar.gz

Download URL nucs-16.0.0.tar.gz
Size 175.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e0b3bee70a4e9c62f8b95c4af1422b966e1e664b3002f4f4fbe6da753f90cec7
BLAKE2b-256 checksum
How to use checksums
529014a37a7974cf61c5bc8ddd08868e73d67c88546045d1c0ee63e40f50e36d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 21, 2026.

Transparency log

Release files / nucs-16.0.0-py3-none-any.whl

Download URL nucs-16.0.0-py3-none-any.whl
Size 305.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ac0c658414a025f9378cb74a93191fd24d0411913e1aa694d6d239c0ce6efe9
BLAKE2b-256 checksum
How to use checksums
f874c3bfe3560cf0ea5be2ed9b6ef7c591fdad0c43885dd872eec6970d189660
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 21, 2026.

Transparency log

Release history Release notifications | RSS feed

17.0.0

2 release files

16.1.0

2 release files

This release

16.0.0 This release

2 release files

15.0.0

2 release files

14.1.0

2 release files

12.4.9

2 release files

12.4.8

2 release files

12.4.7

2 release files

12.4.6

2 release files

12.4.5

2 release files

12.4.4

2 release files

12.4.3

2 release files

12.4.1

2 release files

12.4.0

2 release files

12.1.0

2 release files

10.1.0

2 release files

9.1.3

2 release files

9.1.2

2 release files

9.1.0

2 release files

9.0.0

2 release files

8.0.0

2 release files

7.2.0

2 release files

7.1.0

2 release files

7.0.0

2 release files

6.1.1

2 release files

6.0.0

2 release files

5.0.1

2 release files

4.8.1

2 release files

4.8.0

2 release files

4.7.0

2 release files

4.6.0

2 release files

4.5.1

2 release files

4.5.0

2 release files

4.4.4

2 release files

4.4.1

2 release files

4.4

2 release files

4.3.1

2 release files

4.3.0

2 release files

4.2.0

2 release files

4.0.0

2 release files

3.0.0

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.11.0

2 release files

0.9.4

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.5.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page