Skip to main content

thonny-pai

Gọi AI từ Thonny bằng một dòng lệnh.

Cài đặt

pip install thonny-pai

Cấu hình

Tạo file api.txt trong cùng thư mục với file code của bạn, mỗi dòng một API key. Nếu không có, pai sẽ thử đọc pai_api.txt trong thư mục người dùng (C:\Users\<tên>\pai_api.txt).

Dùng

import pai
pai.request("Python là gì?")

Khi có kết quả, Shell hiện link "Check your code". Bấm vào để copy câu trả lời.

Metadata

Release files for thonny-pai 0.13.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for thonny-pai 0.13.2
File Size Uploaded Provenance Actions
thonny_pai-0.13.2.tar.gz 3.6 kB Without provenance Details for thonny_pai-0.13.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for thonny-pai 0.13.2
File Interpreter ABI Platform Actions
thonny_pai-0.13.2-py3-none-any.whl Python 3 none any Details for thonny_pai-0.13.2-py3-none-any.whl

Total release size: 7.6 kB

Release files / thonny_pai-0.13.2.tar.gz

Download URL thonny_pai-0.13.2.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
243015eaef44f9ef6741da91e3857cd55396320bb6407538286fbd098bf05b93
BLAKE2b-256 checksum
How to use checksums
da2cfc5efcc8a39df8b34e23bbb8d47bf8591c806ca27dc87bfb72b75b3737a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / thonny_pai-0.13.2-py3-none-any.whl

Download URL thonny_pai-0.13.2-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1893a8ee9f33f43d6901a1a8c21d64527fec02d4f9da0509d7e33c821671748a
BLAKE2b-256 checksum
How to use checksums
6e5b445028cca768ab9d31eae61882b747fe6861a4334ec5512dce7aebd1de70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for thonny-pai 0.13.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page