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, 16.0.0 and 17.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 17.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 17.0.0
File Size Uploaded
nucs-17.0.0.tar.gz 183.0 kB Details

Built distribution (wheel)

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

Total release size: 499.3 kB

Release files / nucs-17.0.0.tar.gz

Download URL nucs-17.0.0.tar.gz
Size 183.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b8feb0555ed76fad2d76d54f4f0ec512041f1918b8fcb032855c306bd1ae0c73
BLAKE2b-256 checksum
How to use checksums
88f33bbeca33cdad8b0567c632e46af5bbdb8ff5cd1d34df682994c245457397
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 29, 2026.

Transparency log

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

Download URL nucs-17.0.0-py3-none-any.whl
Size 316.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66274c464eb57c9f74c0e63412cb7c29e38625d4bf058e3a2ca927a5487d92d3
BLAKE2b-256 checksum
How to use checksums
b90a8b5507128db1bd445d8db6289c1ef4a5fd2ac5ec0413755fb47b092dd52f
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 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

17.0.0 This release

2 release files

16.1.0

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