{"id":23406254,"url":"https://github.com/zozs/karnaughgen","last_synced_at":"2025-04-08T23:38:26.008Z","repository":{"id":12685605,"uuid":"15357783","full_name":"zozs/karnaughgen","owner":"zozs","description":"Generates LaTeX-code for Karnaugh maps.","archived":false,"fork":false,"pushed_at":"2013-12-29T22:32:46.000Z","size":172,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T18:25:06.949Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zozs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-21T11:15:11.000Z","updated_at":"2013-12-29T22:32:46.000Z","dependencies_parsed_at":"2022-09-23T08:51:00.737Z","dependency_job_id":null,"html_url":"https://github.com/zozs/karnaughgen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zozs%2Fkarnaughgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zozs%2Fkarnaughgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zozs%2Fkarnaughgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zozs%2Fkarnaughgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zozs","download_url":"https://codeload.github.com/zozs/karnaughgen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247947822,"owners_count":21023058,"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-12-22T13:33:05.468Z","updated_at":"2025-04-08T23:38:25.991Z","avatar_url":"https://github.com/zozs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"karnaughgen\n===========\n\nGenerates LaTeX-code for Karnaugh maps using either a GUI or a CLI.\n\nRequirements\n------------\n\n *  Python 2 or 3\n *  The generated LaTeX-code requires Karnaugh.sty to be compiled to a document.\n *  PySide *(GUI-version only)*\n\nUsage\n-----\n### GUI-version\n```\npython karnaughgen-gui.py\n```\n\n### CLI-version\n```\nusage: karnaughgen-cli.py [-h] [-v VALUES] CUBE [CUBE ...]\n\nGenerates LaTeX code for Karnaugh maps.\n\npositional arguments:\n  CUBE                  A space-separated list of cubes for each implicant\n                        that should be included in the output. A cube is a\n                        string of 2-4 chars from the set {0, 1, B}. Examples:\n                        0B01, BB10, B10, 0B.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -v VALUES, --values VALUES\n                        The values of the function f. Expected input is a\n                        string of length 4, 8, or 16, corresponding to the\n                        number of variables (2, 3, or 4). The function values\n                        should be in natural order. Defaults to all zero. To\n                        pass don't care terms, use the syntax --values=-1-1\n                        (note the equal sign (=)) to avoid the parser to\n                        interpret it as an option.\n\nexamples:\n  karnaughgen-cli.py B001\n  karnaughgen-cli.py -v=-1-11-1-00000001 0BBB B111\n```\n\nLicence\n-------\n\n```\nCopyright (c) 2013, Linus Karlsson\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright notice,\n   this list of conditions and the following disclaimer.\n\n * Redistributions in binary form must reproduce the above copyright notice,\n   this list of conditions and the following disclaimer in the documentation\n   and/or other materials provided with the distribution.\n\n * Neither the name of Linus Karlsson nor the names of the contributors may\n   be used to endorse or promote products derived from this software without\n   specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\nTHE POSSIBILITY OF SUCH DAMAGE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzozs%2Fkarnaughgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzozs%2Fkarnaughgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzozs%2Fkarnaughgen/lists"}