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.3.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.3-py3-none-any.whl
(2.9 kB
view details)
File details
Details for the file sysn-0.1.3.tar.gz.
File metadata
- Download URL: sysn-0.1.3.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 |
543c7da1027d3361bfeed40c087ac6bd580aa7b97e033af7cd83d607e5bcac45
|
|
| MD5 |
506d6f3fc6859e0f37ea8786598ff009
|
|
| BLAKE2b-256 |
b772acccbdab8b08158900228546966be5f789e305b3fb39b3f516edde64f29a
|
File details
Details for the file sysn-0.1.3-py3-none-any.whl.
File metadata
- Download URL: sysn-0.1.3-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 |
db3f01f51f3f11c5b0acfc07c004c51af707849cec0af05313540af76eab5ad5
|
|
| MD5 |
b0bf8618a96422d4d4d0d37b1ad5ea8f
|
|
| BLAKE2b-256 |
8326820fbe0195ad14562579277796dc706374d35cd7f5bc083a0edb94668c66
|