Skip to content

Furigana marker api#19

Closed
minto1226 wants to merge 45 commits into
mainfrom
furigana-marker-api
Closed

Furigana marker api#19
minto1226 wants to merge 45 commits into
mainfrom
furigana-marker-api

Conversation

@minto1226

@minto1226 minto1226 commented Oct 27, 2025

Copy link
Copy Markdown
Collaborator

目的

添加aiohttp修改furigana_marker.py成Asynchronous

方法/實作說明

{{請描述你完成目的的方法,包括技術重點、修改的檔案、主要邏輯}}

  • 主要修改:
    • 將furigana_marker.py中request的部分成aiohttp與asyncio
  • 關鍵實作:

關聯 Issue

(perf: add aiohttp and asyncio)

附註

{{請列出額外說明,如尚未完成部分、後續計劃或 TODO 項目}}

  • TODO:
    • {{描述後續要補上的功能或測試}}

minto1226 and others added 30 commits July 8, 2025 20:54
Renames classes and functions to better reflect their specific purposes

Improves error handling with proper HTTP status codes and structured error responses.
Add word not found error handling
Franky-Hsiao and others added 9 commits October 27, 2025 15:49
…us fix (#12)

* build(requirements)!: keep packages that are being used only

Comment out unused packages with two "#" and dependencies of packages
that are being used with one "#".

BREAKING CHANGE: remove `httptools`, `python-dotenv`, `uvloop`,
`watchfiles`, and `websockets` from `requirements.txt`

* build(requirements): add `aiohttp` for upcoming asynchronous fix
chore: add pr template and `CODEOWNERS`
… to async (#15)

* build(requirements): update dependencies and add uv

Change `aiohttp` to `httpx`

Add `pyproject.toml` and `uv.lock` for `uv`.

* chore: update `CODEOWNERS`

* refactor(main): add doc strings and format with ruff

* feat: add `lifespan` and `get_http_client` fuctions

* style(usage_query): format with ruff

* fix(lifespan): set timeout for `httpx.AsyncClient` to 10 seconds

* perf: refactor `get_headwords`, `get_urls`, and `get_id_details` to use `httpx.AsyncClient` for asynchronous requests

* docs: update README to enhance setup instructions

* build: remove `requirements.txt` and update python version in `pyproject.toml`
@minto1226 minto1226 requested a review from Koios1143 as a code owner October 27, 2025 07:55
@wade00754 wade00754 closed this Nov 3, 2025
@wade00754 wade00754 deleted the furigana-marker-api branch November 3, 2025 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants