{"id":15009335,"url":"https://github.com/sigmanificient/pg-sublime-input","last_synced_at":"2026-01-31T08:31:18.036Z","repository":{"id":57472085,"uuid":"389586641","full_name":"Sigmanificient/pg-sublime-input","owner":"Sigmanificient","description":"A sublime pygame ui as alternative to unsupported python input built-in.","archived":false,"fork":false,"pushed_at":"2021-07-30T20:44:30.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-17T03:02:48.525Z","etag":null,"topics":["input","input-method","pygame","pygame-gui","pypi","pypi-package","pypi-source","python","python-3","python-3-6","python-3-7","python-3-8","python3","python36","python37","python38"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/sublinput/","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/Sigmanificient.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2021-07-26T09:58:47.000Z","updated_at":"2021-11-08T11:18:41.000Z","dependencies_parsed_at":"2022-08-30T15:11:49.247Z","dependency_job_id":null,"html_url":"https://github.com/Sigmanificient/pg-sublime-input","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Sigmanificient/pg-sublime-input","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sigmanificient%2Fpg-sublime-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sigmanificient%2Fpg-sublime-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sigmanificient%2Fpg-sublime-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sigmanificient%2Fpg-sublime-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sigmanificient","download_url":"https://codeload.github.com/Sigmanificient/pg-sublime-input/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sigmanificient%2Fpg-sublime-input/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261777710,"owners_count":23208127,"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":["input","input-method","pygame","pygame-gui","pypi","pypi-package","pypi-source","python","python-3","python-3-6","python-3-7","python-3-8","python3","python36","python37","python38"],"created_at":"2024-09-24T19:24:34.973Z","updated_at":"2026-01-31T08:31:17.992Z","avatar_url":"https://github.com/Sigmanificient.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sublinput\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Sigmanificient/pg-sublime-input/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Sigmanificient/pg-sublime-input/?branch=master)\n[![Build Status](https://scrutinizer-ci.com/g/Sigmanificient/pg-sublime-input/badges/build.png?b=master)](https://scrutinizer-ci.com/g/Sigmanificient/pg-sublime-input/build-status/master)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/Sigmanificient/pg-sublime-input)\n![Lines of code](https://img.shields.io/tokei/lines/github/Sigmanificient/pg-sublime-input)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/sublinput)\n\nA sublime pygame ui as alternative to unsupported python input built-in.\n\n## Install\n\n```bash\npip install sublinput\n```\n\nor \n```bash\npython -m pip install sublinput\n```\n\n## Usage\n\nYou only needs to input the package then use the default input function as usual !\n\n```py\nimport sublinput\n\nval = int(input(\"Enter a number: \"))\nprint(val)\n```\n\nWhen an input function is called, the following windows will appear, with title being the input message.\n\n![](https://raw.githubusercontent.com/Sigmanificient/pg-sublime-input/master/img/windows_empty.png)\n\nType in the windows as a usual input function.\n\n![](https://raw.githubusercontent.com/Sigmanificient/pg-sublime-input/master/img/windows_42.png)\n\nThen press enter (*not keypad enter*) to submit the value.\n\nAn input-like log will be printed.\n```cmd\nEnter a number : 42\n```\nThen it will return the submit value as a `str`.\n\n*You only need to remove the *import sublinput* from your code to disable it !*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsigmanificient%2Fpg-sublime-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsigmanificient%2Fpg-sublime-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsigmanificient%2Fpg-sublime-input/lists"}