Simple Gemini API wrapper with optional hardcoded API key
Project description
sysn
Простой Python-пакет для работы с Gemini API.
1) Установка локально
pip install .
2) Куда вставить ключ
Открой файл:
src/sysn/client.py
Найди строку:
HARDCODED_API_KEY = "PASTE_YOUR_GEMINI_API_KEY_HERE"
И замени её на свой ключ.
3) Использование
sysn "Привет"
4) Публикация в PyPI
Установи инструменты:
pip install build twine
Собери пакет:
python -m build
Загрузи на PyPI:
python -m twine upload dist/*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sysn-0.1.2.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
sysn-0.1.2-py3-none-any.whl
(2.9 kB
view details)
File details
Details for the file sysn-0.1.2.tar.gz.
File metadata
- Download URL: sysn-0.1.2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ee7bdab4481d60a4d7f95971b2c1b9dfc47836b9d9f607ae2e35750fa7ef7cd
|
|
| MD5 |
012269451d8ac3baca765a9457811f5a
|
|
| BLAKE2b-256 |
e6f8b10cd513517f739fa506e8e4ba55ab9f5c95598ce960a9b899342581d23f
|
File details
Details for the file sysn-0.1.2-py3-none-any.whl.
File metadata
- Download URL: sysn-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dba6783da2d832774f7d5cfa11b6fb7d76fc63a85cef95a0be7959dc112fd04
|
|
| MD5 |
cb89c9f248094f2d9048843c75773a0e
|
|
| BLAKE2b-256 |
f8b9acf01d26c5fc44a733362ce43743b7487579759ad0ee0cf5c11b6405bfc0
|