{"id":15443472,"url":"https://github.com/lemonyte/_","last_synced_at":"2026-01-12T09:38:13.644Z","repository":{"id":204570226,"uuid":"712160193","full_name":"lemonyte/_","owner":"lemonyte","description":"_ allows you to write Python code using only _.","archived":false,"fork":false,"pushed_at":"2025-12-17T17:14:10.000Z","size":110,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-21T02:50:13.192Z","etag":null,"topics":["encoding","esoteric","joke","python","python-package","underscore"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/underscores","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/lemonyte.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-30T23:09:14.000Z","updated_at":"2025-12-17T17:14:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"c41edcc1-6e6d-42a5-a0de-5ab97139e872","html_url":"https://github.com/lemonyte/_","commit_stats":{"total_commits":49,"total_committers":2,"mean_commits":24.5,"dds":"0.16326530612244894","last_synced_commit":"baee7a5f8b7ff4e8bcf556c9f9af9c10aec08dcb"},"previous_names":["lemonyte/_"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/lemonyte/_","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemonyte%2F_","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemonyte%2F_/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemonyte%2F_/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemonyte%2F_/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lemonyte","download_url":"https://codeload.github.com/lemonyte/_/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemonyte%2F_/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337737,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["encoding","esoteric","joke","python","python-package","underscore"],"created_at":"2024-10-01T19:35:09.340Z","updated_at":"2026-01-12T09:38:13.638Z","avatar_url":"https://github.com/lemonyte.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `_`\n\n`_` allows you to write Python code using only `_`.\n\n## Installation\n\n\u003e [!TIP]\n\u003e It is highly recommended to use a virtual environment for proper installation of the `_.pth` file.\n\n```shell\npython -m pip install underscores\n```\n\n[Python 3.9](https://www.python.org/downloads/) or a newer version is required.\n\n## Usage\n\nThe following script is a \"Hello, world!\" program which can be executed by the Python interpreter:\n\n```python\n# coding: _\n_ ____ _ _____ _ ____ __ _ _ ___ ______ ____ _ ____ _ ___ _ ____ __ ___ _ __ _\n_____ _ _ ______ _____ _ ___ _ _ _ ___ _____ ______ _ ____ _ _ _ ____ _ _ _ ____\n_ ____ _ __ __ ___ _ _ ______ ___ _ ____ __ ______ _ ____ _ ____ _ ____ __ _ _\n____ _ _ _ ___ _____ _____ _ _ ______ ____ _ _ ______ _____ _ __ _ ______\n```\n\nYou can generate a script with `_`:\n\n```python\nprint('print(\"Hello, world!\")'.encode(\"_\").decode(\"utf-8\"))\n```\n\nA `_` command is also provided:\n\n```shell\n_ script1.py \u003e script2.py\n# or\necho 'print(\"Hello, world!\")' | _ \u003e script.py\n```\n\n## Troubleshooting\n\nIf you get `SyntaxError: invalid syntax`, make sure the line `# coding: _` is present at the top of your script.\n\nIf you get `SyntaxError: encoding problem: _`, follow the steps below to make sure the `_` encoding is registered on startup:\n\n1. Run `SITE_PACKAGES=$(python -c 'import sysconfig; print(sysconfig.get_path(\"purelib\"))')` to get the path to the Python site-packages directory.\n2. Run `echo \"import underscores\" \u003e \"$SITE_PACKAGES/_.pth\"` to register the `_` encoding on startup.\n\n\u003e [!NOTE]\n\u003e If using PowerShell, use `$SITE_PACKAGES` instead of `SITE_PACKAGES` to assign the variable.\n\nThis issue is commonly encountered when installing `_` into the user site-packages.\n\n## Credits\n\n`_` is a port of [`_`](https://github.com/mame/_) from Ruby to Python.\nPlease check out the original creator [mame](https://github.com/mame).\n\nBig thanks to [shailist](https://github.com/shailist) for [this](https://shailist.github.io/posts/python-source-preprocessor-custom-encoding/) awesome post about custom encodings.\n\n## License\n\n[MIT License](LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemonyte%2F_","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemonyte%2F_","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemonyte%2F_/lists"}