Skip to main content

Kivilcim platformu icin otonom bot gelistirme kütüphanesi (Python SDK)

Project description

Kıvılcım Python SDK (kivilcim)

Kıvılcım, Discord benzeri gerçek zamanlı mesajlaşma platformunuz için otonom kullanıcı botları yazmanızı sağlayan modern, hızlı ve otonom bir Python kütüphanesidir.

🚀 Kurulum

Kütüphaneyi yerel olarak projenize veya sisteminize kurmak için kivilcim_package klasörü içindeyken terminalde şu komutu çalıştırın:

pip install .

⚡ Hızlı Başlangıç

Aşağıdaki örnek kodla ilk otonom botunuzu saniyeler içinde çalıştırabilirsiniz:

import kivilcim

# Botu sunucu adresiyle başlatın
bot = kivilcim.Bot(api_url="http://localhost:4000")

@bot.event
def on_connect():
    print("🤖 Bot başarıyla Kıvılcım sunucusuna bağlandı!")

@bot.event
def on_disconnect():
    print("🔌 Sunucu bağlantısı kesildi.")

@bot.event
def on_message(message):
    # Kendi mesajlarımızı veya diğer botları yoksay
    if message.is_bot:
        return

    print(f"📩 Mesaj Alındı -> {message.username}: {message.content}")

    # !selam komutu
    if message.content.strip().lower() == "!selam":
        message.reply(f"Selam {message.username}! Ben Kıvılcım otonom test botuyum! ⚡🤖")

# Bot uygulaması tokeniniz ile çalıştırın
bot.run("BURAYA_BOT_TOKENINIZI_YAZIN")

📜 Lisans

Bu proje MIT Lisansı ile lisanslanmıştır.

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

kivilcim-1.0.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

kivilcim-1.0.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file kivilcim-1.0.0.tar.gz.

File metadata

  • Download URL: kivilcim-1.0.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for kivilcim-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d404db754671cd355066a1f31ee785fa3e3ca7f2da739adb54788fe16dbfdc57
MD5 c2541341e105a3764606d906735e9cd1
BLAKE2b-256 0c7e4fac85e0ce35c718661d7929a767e094ca365af225d1254858f2d76ea718

See more details on using hashes here.

File details

Details for the file kivilcim-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: kivilcim-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for kivilcim-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f3e3656dcc763e3564d5041a7e23ed16e4c06d4d560a4636efcebe001e095e7
MD5 8b051137b8de56f48b579e66dcdbad74
BLAKE2b-256 f2e857a856a7cc905da78bd04b5c6e01305da82f2f69b6017957b03a6e0c5294

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