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.1.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.1.0
File Size Uploaded
nucs-16.1.0.tar.gz 175.4 kB Details

Built distribution (wheel)

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

Total release size: 481.0 kB

Release files / nucs-16.1.0.tar.gz

Download URL nucs-16.1.0.tar.gz
Size 175.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5b95c5f0d0fe1313cde40819b54130b701ec52efdd36dd29f5dbbc3fd871dec2
BLAKE2b-256 checksum
How to use checksums
04c3d6b008a6a63c3ca7a2810d6ab781f9dac3f6460bd8ebb07114931806750e
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 22, 2026.

Transparency log

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

Download URL nucs-16.1.0-py3-none-any.whl
Size 305.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7063148de9a29b3f1bd2ef924fa62f84117f1d87d37e470c684ce1ba0801682
BLAKE2b-256 checksum
How to use checksums
498ab59df69b2ab68f16e09c072c86076386189588083236ccca58c230fdefad
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 22, 2026.

Transparency log

Release history Release notifications | RSS feed

17.0.0

2 release files

This release

16.1.0 This release

2 release files

16.0.0

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