{"id":15294056,"url":"https://github.com/hwonyo/flask-clova","last_synced_at":"2025-04-13T14:11:45.578Z","repository":{"id":52260130,"uuid":"132890740","full_name":"hwonyo/flask-clova","owner":"hwonyo","description":"python module for Clova Extension Kit","archived":false,"fork":false,"pushed_at":"2022-12-08T02:11:07.000Z","size":51,"stargazers_count":5,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T07:01:38.911Z","etag":null,"topics":["cek","cek-sdk","clova","clova-extension-kit","extension","flask","flask-cek","flask-clova","python-cek","python-clova"],"latest_commit_sha":null,"homepage":"","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/hwonyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-10T11:25:47.000Z","updated_at":"2023-05-02T12:47:38.000Z","dependencies_parsed_at":"2023-01-24T08:00:44.542Z","dependency_job_id":null,"html_url":"https://github.com/hwonyo/flask-clova","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwonyo%2Fflask-clova","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwonyo%2Fflask-clova/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwonyo%2Fflask-clova/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwonyo%2Fflask-clova/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hwonyo","download_url":"https://codeload.github.com/hwonyo/flask-clova/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248724629,"owners_count":21151561,"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":["cek","cek-sdk","clova","clova-extension-kit","extension","flask","flask-cek","flask-clova","python-cek","python-clova"],"created_at":"2024-09-30T16:56:05.464Z","updated_at":"2025-04-13T14:11:45.552Z","avatar_url":"https://github.com/hwonyo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flask_clova\n\n[![PyPI](https://img.shields.io/pypi/v/flask_clova.svg?v=1\u0026maxAge=3601)](https://pypi.python.org/pypi/flask_clova)\n[![PyPI](https://img.shields.io/pypi/l/flask_clova.svg?v=1\u0026maxAge=2592000?)](https://pypi.python.org/pypi/flask_clova)\n\nSDK of CEK (Clova Extension Kit) for Python \u003cbr\u003e\n\u003e All the structure and ideas were copied after seeing [flask-ask](https://github.com/johnwheeler/flask-ask)\n\n# About flask_clova\n## Table of Contents\n* [Install](#install)\n* [Basics](#basics)\n* [Test](#test)\n* [WorkToDo](#worktodo)\n\n\n## Install\n```\n# setup requires will automatically installed in version \u003e= 0.0.4\n# pip install PyYAML\n# pip install Flask\n\npip install flask_clova\n```\n\n## Basics\n```python\nfrom flask import Flask\nfrom flask_clova import Clova, statement, question, say\n\napp = Flask(__name__)\n# must set CLOVA_VERIFY_REQUESTS False\n# while testing wihtout application_id\n# app.config['CLOVA_VERIFY_REQUESTS'] = False\n\nclova = Clova(app, '/user_defined')\n\n@clova.launch\ndef launch():\n    return question(say.Korean('시작했습니다'))\n\n@clova.intent('HelloIntent')\ndef play_game():\n    speech = \"안녕하세요\"\n    return statement(say.Korean(speech)).add_speech(say.English(\"Hello\"))\n\nif __name__ == \"__main__\":\n    app.config['CLOVA_VERIFY_REQUESTS'] = False\n    app.run(port='5000', debug=True)\n```\n\n## Test\n```\n\u003e\u003e pip install -r requirements-dev.txt\n\u003e\u003e python -m unittest discover test/\n```\n\n\n## WorkToDO\n\n### Response\n* not in progress\n    - card\n    - directives\n\n#### statement\n* support shouldEndSession true\n    - [x] SimpleSpeech\n    - [x] SpeechList\n    - [ ] SpeechSet\n\n#### question\n* support shouldEndSession false\n    - [x] SimpleSpeech\n    - [x] SpeechList\n    - [ ] SpeechSet\n\n#### repromt\n* support repromt message\n    - [x] SimpleSpeech\n    - [ ] SpeechList\n    - [ ] SpeechSet\n\n\n### Request\n\n#### Verify\n* verify application id\n    - [x] verify\n\n#### LaunchRequest\n* when extension launched\n    - [x] handler\n\n#### SessionEndedRequest\n* when extension terminated\n    - [x] handler\n\n#### IntentRequest\n* request with user intent\n    - [x] handler\n\n#### Glboal Request Attr\n* Globalize variables in request\n    - [x] request\n    - [x] session\n    - [x] version\n    - [x] context","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhwonyo%2Fflask-clova","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhwonyo%2Fflask-clova","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhwonyo%2Fflask-clova/lists"}