Generated Computers
Locals는 Apple Silicon 엔진으로 로컬 LLM을 최대 3배 빠르게 실행하는 Generated Computers 제품
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗This is the official Python SDK for the Todoist API.
pip install todoist-api-python
Or add the project as a dependency in pyproject.toml:
dependencies = [
"todoist-api-python>=3.1.0,<4",
]
Python version 3.10 and above.
Here's an example of initializing the API client, fetching a task, and paginating through its comments:
from todoist_api_python.api import TodoistAPI
api = TodoistAPI("YOUR_API_TOKEN")
task = api.get_task("6X4Vw2Hfmg73Q2XR")
print(f"Task: {task.content}")
comments_iter = api.get_comments(task_id=task.id)
for comments in comments_iter:
for comment in comments:
print(f"Comment: {comment.content}")
Always close TodoistAPIAsync explicitly, either via async with (recommended) or by calling await api.close().
from todoist_api_python.api_async import TodoistAPIAsync
async with TodoistAPIAsync("YOUR_API_TOKEN") as api:
task = await api.get_task("6X4Vw2Hfmg73Q2XR")
print(task.content)
For more detailed reference documentation, have a look at the SDK documentation and the API documentation.
Version 4.x introduces a breaking HTTP stack migration from requests to httpx2.
TodoistAPI(..., session=...) is now TodoistAPI(..., client=...) with httpx2.Client.TodoistAPIAsync(..., session=...) is now TodoistAPIAsync(..., client=...) with httpx2.AsyncClient.httpx2.HTTPStatusError instead of requests.exceptions.HTTPError.To install Python dependencies:
$ uv sync
To install pre-commit:
$ uv run pre-commit install
You can try your changes via REPL by running:
$ uv run python
You can then import the library as described in Usage without having to create a file.
If you decide to use TodoistAPIAsync, please keep in mind that you have to import asyncio
and run asyncio.run(yourmethod()) to make your async methods run as expected.
This API client is public, and available in a PyPI repository.
A new update is automatically released by GitHub Actions, by creating a release with a tag in the format vX.Y.Z (v<Major>.<Minor>.<Patch>).
Users of the API client can then update to the new version in their pyproject.toml file.
Any feedback, bugs, questions, comments, etc., can be reported as Issues in this repository.
We would love contributions! Pull requests are welcome.