{"id":20590250,"url":"https://github.com/compscirocks/truth-table-builder","last_synced_at":"2026-04-18T22:01:43.558Z","repository":{"id":240687595,"uuid":"416447849","full_name":"CompSciRocks/truth-table-builder","owner":"CompSciRocks","description":"Python script to build truth tables","archived":false,"fork":false,"pushed_at":"2021-10-14T16:37:34.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-05T12:26:31.861Z","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/CompSciRocks.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":["CompSciRocks"]}},"created_at":"2021-10-12T18:12:17.000Z","updated_at":"2021-10-14T16:37:38.000Z","dependencies_parsed_at":"2024-05-20T16:25:21.907Z","dependency_job_id":"810059f9-677c-46e8-ade6-3246599c9880","html_url":"https://github.com/CompSciRocks/truth-table-builder","commit_stats":null,"previous_names":["compscirocks/truth-table-builder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CompSciRocks/truth-table-builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CompSciRocks%2Ftruth-table-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CompSciRocks%2Ftruth-table-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CompSciRocks%2Ftruth-table-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CompSciRocks%2Ftruth-table-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CompSciRocks","download_url":"https://codeload.github.com/CompSciRocks/truth-table-builder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CompSciRocks%2Ftruth-table-builder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31986325,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-16T07:34:48.142Z","updated_at":"2026-04-18T22:01:43.470Z","avatar_url":"https://github.com/CompSciRocks.png","language":"Python","funding_links":["https://github.com/sponsors/CompSciRocks"],"categories":[],"sub_categories":[],"readme":"## Truth Table Builder\n\nI needed a way to build truth tables for class, and I really didn't want to solve them manually. So I did what most programming nerds would do and kick out a quick script.\n\n### Usage\nFrom the command line run the script with the boolean expression as an command line option.\n\n```\npython build.py \"A \u0026\u0026 B || C\"\n```\n\nIf you're a python person, you can also use `and` instead of `\u0026\u0026` and `or` instead of `||`. \n\nA couple of notes. \n\nThe variables need to be single capital letters. Lower cased letters will cause issues.\n\nAnd the expression should be wrapped in double quotes. \n\n### Output\nRunning the example above will produce the following output.\n\n```\nA       B       C       A \u0026\u0026 B || C\nTrue    True    True    True\nTrue    True    False   True\nTrue    False   True    True\nTrue    False   False   False\nFalse   True    True    True\nFalse   True    False   False\nFalse   False   True    True\nFalse   False   False   False\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompscirocks%2Ftruth-table-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcompscirocks%2Ftruth-table-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompscirocks%2Ftruth-table-builder/lists"}