Skip to main content

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.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sysn-0.1.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file sysn-0.1.1.tar.gz.

File metadata

  • Download URL: sysn-0.1.1.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

Hashes for sysn-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0f2863faae9798186381b26dc71eee6fd1eb81a8461a3a8a422587bc4ea9f902
MD5 e99f8cbd17c07353dd0f979e0c9dfbe0
BLAKE2b-256 d45f967e42698ac702a94b8ed0c60b2d18fba3d7191742272f9210b282e8292d

See more details on using hashes here.

File details

Details for the file sysn-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: sysn-0.1.1-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

Hashes for sysn-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf4cb3c5e2b1934a2b57ccecbdda3c2a97923bfdd3f8c8941ffc046bf29da950
MD5 cb3c9cda7d38897dd19d7c4e7ef29b1e
BLAKE2b-256 bf25b2973f266e24bdece73c410c37f2493ddac0a77d7f32ae58853b12058206

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page