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.0.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.0-py3-none-any.whl
(2.9 kB
view details)
File details
Details for the file sysn-0.1.0.tar.gz.
File metadata
- Download URL: sysn-0.1.0.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 |
0e6c258760f12d642758c674ca4ad665b99850e0109fb811bbb56e06000835e0
|
|
| MD5 |
3b7d4327b3867a50646e930414f3a239
|
|
| BLAKE2b-256 |
830fe1edbcc3d87c8c56737f13e7efd1fd479765749f020585db3c04e1889a77
|
File details
Details for the file sysn-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sysn-0.1.0-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 |
ebb44523059ff5f7ab5f74c7635d5130a48c49b23fc8f82a240aef04b6a8d277
|
|
| MD5 |
798decabe7402d423108d344033feb76
|
|
| BLAKE2b-256 |
9cf9b5df8daf52e86189329472123ce17322553dd27ba5515e6b442e0eeebaca
|