{"id":17019031,"url":"https://github.com/robert-96/py-prompts","last_synced_at":"2026-05-03T16:33:45.261Z","repository":{"id":139248632,"uuid":"319782240","full_name":"Robert-96/py-prompts","owner":"Robert-96","description":"Custom prompts for Python.","archived":false,"fork":false,"pushed_at":"2022-06-13T02:36:40.000Z","size":1402,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T16:37:31.342Z","etag":null,"topics":["prompt","python","python2","python3"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Robert-96.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-08T22:59:57.000Z","updated_at":"2022-06-13T02:36:43.000Z","dependencies_parsed_at":"2023-05-17T18:00:34.105Z","dependency_job_id":null,"html_url":"https://github.com/Robert-96/py-prompts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Robert-96/py-prompts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robert-96%2Fpy-prompts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robert-96%2Fpy-prompts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robert-96%2Fpy-prompts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robert-96%2Fpy-prompts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Robert-96","download_url":"https://codeload.github.com/Robert-96/py-prompts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robert-96%2Fpy-prompts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32577122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","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":["prompt","python","python2","python3"],"created_at":"2024-10-14T06:47:50.307Z","updated_at":"2026-05-03T16:33:45.241Z","avatar_url":"https://github.com/Robert-96.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# py-prompts\n\nCustom prompts for Python.\n\n![Demo Gif](demo.gif)\n\n## Installing\n\n```\n$ curl -L https://raw.githubusercontent.com/Robert-96/py-prompts/main/install.sh | sh\n```\n\n## Quickstart\n\n### List all prompts\n\n```\n$ py-prompts list\n```\n\n### Set a prompt\n\n```\n$ py-prompts set \u003cprompt_name\u003e\n```\n\n### Add custom prompt\n\nCreate a new python file in the `~/.py-prompts/prompts` directory.\n\nYou can use this example as a starting point:\n\n```python\nimport sys\n\n\nclass CustomPromptPS1(object):\n\n    def __str__(self):\n        return \"\u003e\u003e\u003e \"\n\n\nclass CustomPromptPS1(object):\n\n    def __str__(self):\n        return \"... \"\n\n\nsys.ps1 = CustomPromptPS1()\nsys.ps2 = CustomPromptPS1()\n\n```\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobert-96%2Fpy-prompts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobert-96%2Fpy-prompts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobert-96%2Fpy-prompts/lists"}