{"id":15471524,"url":"https://github.com/aisk/naive","last_synced_at":"2025-09-12T23:32:44.884Z","repository":{"id":5671377,"uuid":"6881088","full_name":"aisk/naive","owner":"aisk","description":"Naive is a too young too simple template engine","archived":false,"fork":false,"pushed_at":"2014-09-04T07:14:52.000Z","size":148,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-31T13:05:15.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/aisk.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":"2012-11-27T10:08:37.000Z","updated_at":"2019-08-13T15:12:19.000Z","dependencies_parsed_at":"2022-07-15T23:17:53.345Z","dependency_job_id":null,"html_url":"https://github.com/aisk/naive","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aisk/naive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aisk%2Fnaive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aisk%2Fnaive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aisk%2Fnaive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aisk%2Fnaive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aisk","download_url":"https://codeload.github.com/aisk/naive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aisk%2Fnaive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274893250,"owners_count":25369278,"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","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"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":[],"created_at":"2024-10-02T02:20:30.773Z","updated_at":"2025-09-12T23:32:44.846Z","avatar_url":"https://github.com/aisk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Naive Template Engine\n\n## Introduce\n\nNaive is a too young too simple template engine.Naive compile the template source file into Python VM bytecode **directly**.\n\n## Grammar\n\nNaive's grammer is mostly like Django's template engine.\n\n``` python\nfrom naive.compiler import Compiler\ns = \"Hello, My name is {{name}}, and I'm a {% if is_male %}boy{% else %}girl{% endif %} as you see.\"\nco = Compiler(s).compile()    # Actually co is a code object\neval(co, {'name': 'Asaka', 'is_male': True})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faisk%2Fnaive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faisk%2Fnaive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faisk%2Fnaive/lists"}