{"id":17360693,"url":"https://github.com/certik/pyvascript","last_synced_at":"2025-03-27T16:28:17.209Z","repository":{"id":867365,"uuid":"605670","full_name":"certik/pyvascript","owner":"certik","description":null,"archived":false,"fork":false,"pushed_at":"2010-04-22T02:10:49.000Z","size":148,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T20:13:26.518Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/certik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-04-11T22:54:30.000Z","updated_at":"2023-07-26T01:06:03.000Z","dependencies_parsed_at":"2022-08-16T11:15:17.472Z","dependency_job_id":null,"html_url":"https://github.com/certik/pyvascript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/certik%2Fpyvascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/certik%2Fpyvascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/certik%2Fpyvascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/certik%2Fpyvascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/certik","download_url":"https://codeload.github.com/certik/pyvascript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245881606,"owners_count":20687750,"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":[],"created_at":"2024-10-15T19:27:34.518Z","updated_at":"2025-03-27T16:28:17.162Z","avatar_url":"https://github.com/certik.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\n============\n\nPyvascript is an alternative syntax for Javascript.  Code can be written using \nstandard Python syntax against the Javascript standard libraries.\n\nIt is known to work with Python 2.4, 2.5, 2.6, 3.0, 3.1.\n\nInstallation\n============\n\nSimply clone the repository. If you use Python 3, run the 2to3 tool first:\n\n$ 2to3 -wn .\n\nThis fixes the files inplace.\n\nUsage\n=====\n\nPyvascript can be used in two ways, inline with your Python code or inside of a\ntemplate.  Examples of inline and Mako usage are included.  Support for other \ntemplating engines is left as an exercise for the hacker.\n\nHelpers\n=======\n\n * AjaxHelper -- A very simple base class for AJAX code, which automatically decodes a JSON response\n\nTodo\n====\n\n * Add support for $\n\nBugs\n====\n\n * 'and' and 'or' in if statements break things horribly\n * When using Mako, your code is compiled at every page load\n * When using Mako, importing functions doesn't work, and you have to subclass \n   any classes you want to use\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcertik%2Fpyvascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcertik%2Fpyvascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcertik%2Fpyvascript/lists"}