{"id":34090240,"url":"https://github.com/nggit/pspparse","last_synced_at":"2026-04-22T04:33:00.516Z","repository":{"id":268195837,"uuid":"903321098","full_name":"nggit/pspparse","owner":"nggit","description":"pspparse is a Python module containing a PSP parser extracted from the mod_python project.","archived":false,"fork":false,"pushed_at":"2024-12-15T05:09:29.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-16T17:21:43.851Z","etag":null,"topics":["python","template-engine","templates"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nggit.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":"2024-12-14T09:53:17.000Z","updated_at":"2025-04-03T14:03:59.000Z","dependencies_parsed_at":"2024-12-15T08:15:48.990Z","dependency_job_id":null,"html_url":"https://github.com/nggit/pspparse","commit_stats":null,"previous_names":["nggit/pspparse"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nggit/pspparse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nggit%2Fpspparse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nggit%2Fpspparse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nggit%2Fpspparse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nggit%2Fpspparse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nggit","download_url":"https://codeload.github.com/nggit/pspparse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nggit%2Fpspparse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32120987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"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","template-engine","templates"],"created_at":"2025-12-14T14:14:23.808Z","updated_at":"2026-04-22T04:33:00.509Z","avatar_url":"https://github.com/nggit.png","language":"C","readme":"pspparse\n========\n\n**pspparse** is a Python module containing a PSP parser extracted from the [mod_python](https://modpython.org/) project.\n\nIt is not meant for console games, but [Python Server Pages](https://modpython.org/live/mod_python-3.3.1/doc-html/pyapi-psp.html). I have an idea to use it on [httpout](https://github.com/nggit/httpout).\n\nBuild the module\n----------------\n\n```\n$ make\n```\n\nUsage\n-----\n\n```python\nfrom pspparse import parse_string\n\nsource = parse_string(b'Hello, \u003c%=__name__%\u003e!')\n```\n\nThe result is the following source code.\n\n```python\n\"print('''Hello, ''', end=''); print(__name__, end=''); print('''!''', end='')\"\n```\n\nChanges that have been made from the original\n---------------------------------------------\n\n- Rename module from `_psp` to `pspparse`\n- Change `req.write()` to `print()`\n- Add an alias for `parsestring`, `parse_string`\n\nLicense\n-------\n\nApache License, Version 2.0\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnggit%2Fpspparse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnggit%2Fpspparse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnggit%2Fpspparse/lists"}