{"id":18425708,"url":"https://github.com/dwayne/whitespace-python","last_synced_at":"2025-08-23T15:14:27.230Z","repository":{"id":50201271,"uuid":"67022084","full_name":"dwayne/whitespace-python","owner":"dwayne","description":"A Whitespace interpreter written in Python.","archived":false,"fork":false,"pushed_at":"2022-12-26T20:44:56.000Z","size":61,"stargazers_count":10,"open_issues_count":6,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T10:59:26.880Z","etag":null,"topics":["python","whitespace"],"latest_commit_sha":null,"homepage":"https://web.archive.org/web/20150717190859/http://compsoc.dur.ac.uk:80/whitespace/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dwayne.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-31T09:10:07.000Z","updated_at":"2023-09-28T07:44:25.000Z","dependencies_parsed_at":"2023-01-31T01:31:07.708Z","dependency_job_id":null,"html_url":"https://github.com/dwayne/whitespace-python","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/dwayne/whitespace-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwayne%2Fwhitespace-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwayne%2Fwhitespace-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwayne%2Fwhitespace-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwayne%2Fwhitespace-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dwayne","download_url":"https://codeload.github.com/dwayne/whitespace-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwayne%2Fwhitespace-python/sbom","scorecard":{"id":361140,"data":{"date":"2025-08-11","repo":{"name":"github.com/dwayne/whitespace-python","commit":"48f2615f1103a89e4881f14de69b692d0945ddb6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/25 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"18 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg","Warn: Project is vulnerable to: GHSA-g7vv-2v7x-gj9p","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: PYSEC-2023-207 / GHSA-gwvm-45gx-3cf8","Warn: Project is vulnerable to: PYSEC-2019-133 / GHSA-mh33-7rrq-662w","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2019-132 / GHSA-r64q-w8jr-g9qp","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2020-148 / GHSA-wqvq-5m8c-6g24","Warn: Project is vulnerable to: PYSEC-2021-108","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T10:53:09.584Z","repository_id":50201271,"created_at":"2025-08-18T10:53:09.584Z","updated_at":"2025-08-18T10:53:09.584Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271754352,"owners_count":24815181,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["python","whitespace"],"created_at":"2024-11-06T05:04:59.801Z","updated_at":"2025-08-23T15:14:27.207Z","avatar_url":"https://github.com/dwayne.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Whitespace\n==========\n\n.. image:: https://img.shields.io/pypi/v/whitespace.svg\n    :target: https://pypi.org/project/whitespace/\n\nAn interpreter written in `Python \u003chttps://www.python.org/\u003e`_ for the imperative, stack-based language called `Whitespace`_.\n\nInstallation\n------------\n\nTo install, simply use pip (or `pipenv`_):\n\n.. code-block:: bash\n\n    $ pip install whitespace\n\nUsage\n-----\n\nLet :code:`program.ws` be any `Whitespace`_ program. To execute it, type:\n\n.. code-block:: bash\n\n    $ whitespace program.ws\n\nYou can find example `Whitespace`_ programs at `tests/fixtures \u003chttps://github.com/dwayne/whitespace-python/tree/master/tests/fixtures\u003e`_.\n\nFor example, here's the `factorial program \u003chttps://github.com/dwayne/whitespace-python/tree/master/tests/fixtures/fact.ws\u003e`_:\n\n.. code-block:: bash\n\n    $ whitespace fact.ws\n    Enter a number: 40\n    40! = 815915283247897734345611269596115894272000000000\n\nDevelopment\n-----------\n\nRecommended tools:\n\n - `pyenv \u003chttps://github.com/pyenv/pyenv\u003e`_\n - `pipenv`_\n\nClone the repository and install the dependencies:\n\n.. code-block:: bash\n\n    $ git clone git@github.com:dwayne/whitespace-python.git\n    $ cd whitespace-python\n    $ pipenv shell\n    $ pipenv install --dev\n\nYou're now all set to begin development.\n\nTesting\n-------\n\nTests are written using the built-in unit testing framework, `unittest \u003chttps://docs.python.org/3/library/unittest.html\u003e`_.\n\nRun all tests.\n\n.. code-block:: bash\n\n    $ python -m unittest\n\nRun a specific test module.\n\n.. code-block:: bash\n\n    $ python -m unittest tests.test_parser\n\nRun a specific test case.\n\n.. code-block:: bash\n\n    $ python -m unittest tests.test_parser.ParserTestCase.test_it_parses_push\n\nReferences\n----------\n\n- `Whitespace tutorial \u003chttps://web.archive.org/web/20150618184706/http://compsoc.dur.ac.uk/whitespace/tutorial.php\u003e`_\n\nCredits\n-------\n\nThanks to `Edwin Brady \u003chttps://edwinb.wordpress.com/\u003e`_ and Chris Morris for designing/developing this programming language; they are also developers of the `Idris \u003chttps://en.wikipedia.org/wiki/Idris_(programming_language)\u003e`_ programming language.\n\n.. _Whitespace: https://en.wikipedia.org/wiki/Whitespace_(programming_language)\n.. _pipenv: https://github.com/pypa/pipenv\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwayne%2Fwhitespace-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwayne%2Fwhitespace-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwayne%2Fwhitespace-python/lists"}