{"id":20971595,"url":"https://github.com/kjpar0317/ml-htmx","last_synced_at":"2026-01-28T17:31:48.448Z","repository":{"id":249775683,"uuid":"832516695","full_name":"kjpar0317/ml-htmx","owner":"kjpar0317","description":"python(machine learning) + htmx test","archived":false,"fork":false,"pushed_at":"2024-11-15T05:36:56.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T00:54:21.355Z","etag":null,"topics":["fastapi","htmx","onnx","python3","shoelace","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/kjpar0317.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-23T07:22:56.000Z","updated_at":"2024-11-15T05:36:59.000Z","dependencies_parsed_at":"2024-07-30T04:14:17.943Z","dependency_job_id":"d2133f38-31c3-4149-88b4-ff5a570fb3c8","html_url":"https://github.com/kjpar0317/ml-htmx","commit_stats":null,"previous_names":["kjpar0317/ml-htmx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjpar0317%2Fml-htmx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjpar0317%2Fml-htmx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjpar0317%2Fml-htmx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjpar0317%2Fml-htmx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kjpar0317","download_url":"https://codeload.github.com/kjpar0317/ml-htmx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501881,"owners_count":21114683,"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":["fastapi","htmx","onnx","python3","shoelace","tensorflow"],"created_at":"2024-11-19T04:04:14.086Z","updated_at":"2026-01-28T17:31:48.169Z","avatar_url":"https://github.com/kjpar0317.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"## PYTHON (ML)\n\nfastapi + htmx\n\n```python\npip install fastapi uvicorn jinja2 python-multipart\n```\n\ntf2onnx 설치\n\n```python\npip install -U tf2onnx onnxruntime\n```\n\ntensorflow 설치\n\n```python\n# Requires the latest pip\npip install --upgrade pip\n\n# Current stable release for CPU and GPU\npip install tensorflow\n\n# Or try the preview build (unstable)\npip install tf-nightly\n\n# scikit-learn install\npip install scikit-learn\n```\n\n![mlp](https://github.com/maoli131/experimental-design/raw/main/images/MLP.png)\n\n## HTMX\n\n# 반환된 HTML을 DOM으로 스왑\n\n와 마찬가지로 이 속성은 반환된 AJAX 응답이 DOM에 로드되는 방법을 정의하는 데 사용됩니다. 지원되는 값은 다음과 같습니다.hx-target, hx-swap\n\ninnerHTML: 기본값, 이 옵션은 요청을 보내는 현재 요소 내부에 AJAX 응답을 로드합니다.\nouterHTML: 이 옵션은 요청을 보내는 전체 요소를 반환된 응답으로 바꿉니다\nafterbegin: 요청을 보내는 요소의 첫 번째 자식으로 응답을 로드합니다.\nbeforebegin: 요청을 트리거하는 실제 요소의 부모 요소로 응답을 로드합니다.\nbeforeend: 요청을 보내는 요소의 마지막 자식 뒤에 AJAX 응답을 로드하고 추가합니다.\nafterend: 이전과 달리 요청을 보내는 요소 뒤에 AJAX 응답을 추가합니다\nnone: 이 옵션은 AJAX 요청의 응답을 추가하거나 앞에 추가하지 않습니다\n\n요청 표시기\n\n```htmx\n\u003cdiv hx-get=\"http://path/to/api\"\u003e\n     \u003cbutton\u003eClick Me!\u003c/button\u003e\n     \u003cimg\n        class=\"htmx-indicator\"\n        src=\"path/to/spinner.gif\"\n      /\u003e\n\u003c/div\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjpar0317%2Fml-htmx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkjpar0317%2Fml-htmx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjpar0317%2Fml-htmx/lists"}