Skip to main content

comp_ai

Удобная библиотека для мгновенных запросов к ИИ прямо в Python IDLE или скриптах.

Установка (после публикации на PyPI)

pip install comp-ai-task

Использование в Python IDLE

from comp_ai import *

# Отправка запроса:
task["Напиши стих про космос"]

# Или как функция:
task("Объясни теорию относительности за 2 предложения")

Настройка API-ключа

При первом обращении библиотека сама попросит ввести API-ключ Gemini и сохранит его локально.

Также ключ можно указать:

  1. В коде:
    task.set_key("AIzaSy...")
    
  2. Через переменную окружения:
    set GEMINI_API_KEY=AIzaSy...
    

Metadata

Release files for comp-ai-task 0.1.6

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

Source distribution (sdist)

Source distribution for comp-ai-task 0.1.6
File Size Uploaded Provenance Actions
comp_ai_task-0.1.6.tar.gz 3.7 kB Without provenance Details for comp_ai_task-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for comp-ai-task 0.1.6
File Interpreter ABI Platform Actions
comp_ai_task-0.1.6-py3-none-any.whl Python 3 none any Details for comp_ai_task-0.1.6-py3-none-any.whl

Total release size: 8.0 kB

Release files / comp_ai_task-0.1.6.tar.gz

Download URL comp_ai_task-0.1.6.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3436f8a5bac638012f351dbcfa5a035fc8659459e01d99f58790dde67fbe262e
BLAKE2b-256 checksum
How to use checksums
658d998389af456cfea13bc9444df4782dccbc529b473907851c02050cdb7850
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / comp_ai_task-0.1.6-py3-none-any.whl

Download URL comp_ai_task-0.1.6-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8012e085fe2881954df592c36a2ae25b3458d8e490e96248c4c481b3098d0df5
BLAKE2b-256 checksum
How to use checksums
8df85039de68e25228016740b3d359ba3ddf673e367a20c4566187685c5d72ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for comp-ai-task 0.1.6

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