{"id":18613921,"url":"https://github.com/enthought/sat-solver","last_synced_at":"2025-07-19T20:02:17.358Z","repository":{"id":24383465,"uuid":"27783212","full_name":"enthought/sat-solver","owner":"enthought","description":"Default Repo description from terraform module","archived":false,"fork":false,"pushed_at":"2025-04-02T10:33:20.000Z","size":979,"stargazers_count":3,"open_issues_count":26,"forks_count":2,"subscribers_count":22,"default_branch":"main","last_synced_at":"2025-04-02T10:34:00.749Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/enthought.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-12-09T19:31:39.000Z","updated_at":"2024-09-11T11:25:24.000Z","dependencies_parsed_at":"2024-08-28T17:04:19.807Z","dependency_job_id":"28a955ac-b87d-4afd-952d-377899b76044","html_url":"https://github.com/enthought/sat-solver","commit_stats":{"total_commits":663,"total_committers":11,"mean_commits":60.27272727272727,"dds":0.4509803921568627,"last_synced_commit":"50e00f349858091073f7d61ca2853e8dfa4200f4"},"previous_names":["enthought/sat-solvers"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Fsat-solver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Fsat-solver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Fsat-solver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Fsat-solver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enthought","download_url":"https://codeload.github.com/enthought/sat-solver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248316494,"owners_count":21083456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T03:24:20.649Z","updated_at":"2025-04-10T23:32:10.889Z","avatar_url":"https://github.com/enthought.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Prototype for SAT-based dependency handling. This is a work in progress,\ndo not expect any API not to change at this point.\n\nInstallation\n============\n\nTo install the python package, simple do as follows::\n\n    git clone --recursive https://github.com/enthought/sat-solver\n    cd sat-solver\n    pip install -e .\n\nExample usage\n=============\n\nTODO\n\nUsage from the CLI\n==================\n\nTo try things out from the CLI, you need to write a scenario file (yaml\nformat), see simplesat/tests/simple_numpy.yaml for a simple example.\n\nTo print the rules::\n\n    python scripts/print_rules.py simplesat/tests/simple_numpy.yaml\n\nTo print the operations::\n\n    python scripts/solve.py simplesat/tests/simple_numpy.yaml\n\n\nComparing with php's composer\n=============================\n\nFirst, clone composer's somewhere on your machine::\n\n    git clone https://github.com/composer/composer\n\nThen, use the `scripts/scenario_to_php.py` script to write a php file that will\nprint the composer's solution for a given scenario::\n\n    python scripts/scenario_to_php.py \\\n        --composer-root \u003cpath to composer github checkout\u003e \\\n        simplesat/tests/simple_numpy.yaml \\\n        scripts/print_operations.php.in\n\nThis will create a `scripts/print_operations.php` script you can simply execute w/\nphp::\n\n    php scripts/print_operations.php\n\nBibliography\n============\n\n- Niklas Eén, Niklas Sörensson: `An Extensible SAT-solver\n  \u003chttp://minisat.se/downloads/MiniSat.pdf\u003e`_. SAT 2003\n- Lintao Zhang, Conor F. Madigan, Matthew H. Moskewicz, Sharad Malik:\n  `Efficient Conflict Driven Learning in a Boolean Satisfiability Solver\n  \u003chttps://www.princeton.edu/~chaff/publication/iccad2001_final.pdf\u003e`_.\n  Proc. ICCAD 2001, pp. 279-285.\n- Donald Knuth: `The art of computer programming\n  \u003chttp://www-cs-faculty.stanford.edu/~knuth/fasc6a.ps.gz\u003e`_. Vol. 4,\n  Pre-fascicle 6A, Par. 7.2.2.2. (Satisfiability).\n\nOn the use of SAT solvers for managing packages:\n\n- Fosdem 2008 presentation: `Using SAT for solving package dependencies\n  \u003chttps://files.opensuse.org/opensuse/en/b/b9/Fosdem2008-solver.pdf\u003e`_. More\n  details on the `SUSE wiki\n  \u003chttps://en.opensuse.org/openSUSE:Libzypp_satsolver\u003e`_.\n- The `0install project \u003chttp://0install.net\u003e`_.\n- Chris Tucker, David Shuffelton, Ranjit Jhala, Sorin Lerner: `OPIUM: Optimal\n  Package Install/Uninstall Manager\n  \u003chttps://cseweb.ucsd.edu/~lerner/papers/opium.pdf\u003e`_. Proc. ICSE 2007,\n  pp. 178-188\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenthought%2Fsat-solver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenthought%2Fsat-solver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenthought%2Fsat-solver/lists"}