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.

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

Download files

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

Source Distribution

nucs-14.1.0.tar.gz (112.6 kB view details)

Uploaded Source

Built Distribution

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

nucs-14.1.0-py3-none-any.whl (218.7 kB view details)

Uploaded Python 3

File details

Details for the file nucs-14.1.0.tar.gz.

File metadata

  • Download URL: nucs-14.1.0.tar.gz
  • Upload date:
  • Size: 112.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for nucs-14.1.0.tar.gz
Algorithm Hash digest
SHA256 25cf3c0dbea02f7b62082d11df08765a03a3d9bc92cba0965337947ccbdf38e6
MD5 a2e6e2f08e9eaa68cf562829707202f9
BLAKE2b-256 1db2efe13aecb759fd157e241cd550eae43fa3cd0a23f78ea7ee62db6c464fd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for nucs-14.1.0.tar.gz:

Publisher: publish.yml on yangeorget/nucs

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

File details

Details for the file nucs-14.1.0-py3-none-any.whl.

File metadata

  • Download URL: nucs-14.1.0-py3-none-any.whl
  • Upload date:
  • Size: 218.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for nucs-14.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd2444a45d06b2e221aba854bab3a1e4692bf854ec0eab619f2ed919fccf0779
MD5 51f72946d377436e87b899aaa3aed61b
BLAKE2b-256 eb2aff302bd5c24b5e343b3b1f50b86af9c0817320db6c5ba09ced3b78bbe9e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for nucs-14.1.0-py3-none-any.whl:

Publisher: publish.yml on yangeorget/nucs

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

Release history Release notifications | RSS feed

This release

14.1.0 This release

2 files

12.4.9

2 files

12.4.8

2 files

12.4.7

2 files

12.4.6

2 files

12.4.5

2 files

12.4.4

2 files

12.4.3

2 files

12.4.1

2 files

12.4.0

2 files

12.1.0

2 files

11.2.0

2 files

10.1.0

2 files

9.1.3

2 files

9.1.2

2 files

9.1.0

2 files

9.0.0

2 files

8.0.0

2 files

7.2.0

2 files

7.1.0

2 files

7.0.0

2 files

6.1.1

2 files

6.0.0

2 files

5.0.1

2 files

4.8.1

2 files

4.8.0

2 files

4.7.0

2 files

4.6.0

2 files

4.5.1

2 files

4.5.0

2 files

4.4.4

2 files

4.4.1

2 files

4.4

2 files

4.3.1

2 files

4.3.0

2 files

4.2.0

2 files

4.0.0

2 files

3.0.0

2 files

2.3.0

2 files

2.2.0

2 files

2.1.0

2 files

2.0.0

2 files

1.1.0

2 files

1.0.0

2 files

0.11.0

2 files

0.10.1

2 files

0.10.0

2 files

0.9.4

2 files

0.9.1

2 files

0.9.0

2 files

0.8.1

2 files

0.8.0

2 files

0.7.1

2 files

0.7.0

2 files

0.5.1

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1

2 files

Supported by

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