PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Constraint Programming Python Packages

Python packages with the GitHub topic constraint-programming. Sorted by monthly downloads, with stars and forks.
MiniZinc
minizinc

Access to all MiniZinc functionality directly from Python

41K 213 28
StevenBtw
solvor

Optimization solvers in pure Python: LP, MILP, SAT, constraint programming, graph and metaheuristics. No dependencies. Solvor all your optimization needs.

18K 30 0
paolodragone
pymzn

A Python wrapper for the MiniZinc tool pipeline.

8K 55 15
yangeorget
nucs

NuCS is a Python constraint programming library for solving Constraint Satisfaction and Optimization Problems over finite domains

7K 59 1
TimefoldAI
timefold

The open source Solver AI for Java and Kotlin to optimize scheduling and routing. Solve the vehicle routing problem, employee rostering, task assignment, maintenance scheduling and other planning problems.

5K 2K 238
PyJobShop
pyjobshop

Solve production scheduling problems with constraint programming in Python.

4K 171 28
CameleoGrey
greyjack

GreyJack Solver is a "jack of all trades" constraint metaheuristic solver for Python, built on the robust foundations of Rust and Polars

4K 2 1
xcsp3team
pycsp3

A Python Library for modeling combinatorial constrained problems

3K 88 11
carlok
cdclkit

A readable, self-checking CDCL SAT solver, preprocessor and encoding library. Every answer comes with a certificate.

1K 0 0
brunohart
turnaround

The showtime grid, solved. A constraint solver for the cinema week: every screen, every session, every distributor term, and the turnaround between them.

850 1 0
hadipourh
autoguess

An easy-to-use, general and open-source tool to solve the guess-and-determine problem

759 35 5
xcsp3team
cosoco

COmpact SOlver for COnstrained problems

462 15 5
carban
minizinc-mcp

MCP server that exposes MiniZinc constraint solving and optimization to LLM clients like opencode, Claude Desktop, and Cursor

454 6 0
xoolive
facile

Python constraint programming library

428 25 6
slothy-optimizer
slothy

Assembly super-optimization via constraint solving

418 353 45
CPToolset
xcsp

A unified installer and launcher for XCSP3 solvers: install, build, and solve — with a single tool.

417 0 0
sohaibafifi
pycsp3-scheduling

Scheduling extension for pycsp3 with interval variables, sequence variables, and scheduling constraints.

348 2 0
cnapy-org
cnapy

An integrated visual environment for metabolic modeling methods such as FBA, FVA and Elementary Flux Modes, and advanced features such as thermodynamic methods, extended Minimal Cut Sets, OptKnock, RobustKnock, OptCouple and more!

331 71 18
ArtyomKaltovich
zython

Express constraint programming problem with python and solve it with minizinc

269 9 1
unitn-sml
pyconstruct

Python library for declarative, constrained, structured-output prediction.

199 21 4
Hareski
languagefreeacq

A method for learning a constraint network with only solutions and non-solutions but no knowledge of the language to be used.

157 2 0
alex-87
qaekwy

A modern, open-source Python framework for declarative constraint programming and combinatorial optimization.

156 10 1
OODesigns
constrained-values

A Python library for creating type-safe, self-validating value objects using a powerful transformation and validation pipeline.

132 0 0
alussana
triesus

Find the Smallest Unique Subset (SUS), fast

96 5 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology