{"id":27131892,"url":"https://github.com/jkmnt/htmf","last_synced_at":"2025-04-07T21:40:50.896Z","repository":{"id":251620578,"uuid":"821618458","full_name":"jkmnt/htmf","owner":"jkmnt","description":"HTML in Python f-strings","archived":false,"fork":false,"pushed_at":"2024-11-05T17:00:43.000Z","size":1812,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T07:47:36.581Z","etag":null,"topics":["f-strings","html","python"],"latest_commit_sha":null,"homepage":"https://jkmnt.github.io/htmf","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/jkmnt.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-06-29T01:15:13.000Z","updated_at":"2024-12-30T22:29:56.000Z","dependencies_parsed_at":"2024-08-06T16:12:39.356Z","dependency_job_id":"94f23c5f-fb10-4ad8-b1cd-4965ea62fab8","html_url":"https://github.com/jkmnt/htmf","commit_stats":null,"previous_names":["jkmnt/htmf","jkmnt/hitml"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkmnt%2Fhtmf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkmnt%2Fhtmf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkmnt%2Fhtmf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkmnt%2Fhtmf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkmnt","download_url":"https://codeload.github.com/jkmnt/htmf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247735003,"owners_count":20987375,"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":["f-strings","html","python"],"created_at":"2025-04-07T21:40:50.238Z","updated_at":"2025-04-07T21:40:50.879Z","avatar_url":"https://github.com/jkmnt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"docs/docs/htmf_gray.png\" width=\"160\" height=\"160\"/\u003e\n\n# HTML in Python f-strings\n\n## Introduction\n\nhtmf is a collection of utilities for writing HTML in Python f-strings. It works great for typed UI components.\n\nAlso it is the suite of tools to boost the developer experience:\n\n- Pylint [plugin](https://jkmnt.github.io/htmf/lint) checking if expressions are HTML-safe and markup is not soup\n- VSCode [syntax highlighter](https://jkmnt.github.io/htmf/highlight)\n- HTML [formatter](https://jkmnt.github.io/htmf/format)\n\n---\n\nRead the [documentation](https://jkmnt.github.io/htmf)\n\n---\n\n## Installation\n\n```shell\npip install htmf\n```\n\n## Working example\n\n![example](docs/docs/soups.png)\n\n\u003csub\u003eGithub markdown doesn't support the syntax highlight for htmf (yet :-), so it's presented as an image here.\n\u003c/sub\u003e\n\n[Documentation](https://jkmnt.github.io/htmf) site shows this example as proper code and\nexplains the ideas and motivation.\n\n\u003csub\u003e\nLogo by \u003ca href=\"http://alexanderkuliev.tilda.ws\"\u003eAlexander Kuliev\u003c/a\u003e\n\u003c/sub\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkmnt%2Fhtmf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkmnt%2Fhtmf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkmnt%2Fhtmf/lists"}