Skip to main content

Vho: İşlevsel ve kolaylaştırılmış görsel oluşturma kütüphanesi

Project description

==========================================

2. KÜTÜPHANENİN KULLANIMI

==========================================

Bot nesnemizi oluşturuyoruz

bot = BatSMS()

1. API Ayarı

bot.API("Twilio") # İstersen buraya "Netgsm" veya "MutluCell" de yazabilirsin

2. Numara Ayarı

bot.number("0909017")

3. Gelen SMS'lerin Simülasyonu

Büyük/küçük harf duyarlılığını ve %50 şans olay

smsler = ["meRHaba", "seLaM", "Merhaba", "sen kimsin", "adın ne", "naber"] cn = []

Mesajları sisteme yüklüyoruz (cn listesine True ekleyecek)

bot.Getsms(smsler, control=cn)

4. Mesaj Sözlüğü

Cevapların arasına virgül koyduk, bot içlerinden birini %50 şansla seçecek

mesajlar = { "merhaba,selam": "Merhaba nasılsın, Selam naber", "adın ne,sen kimsin": "Ben Batsms" }

5. Botu Tetikliyoruz

bot.batsms(mesajlar, control=cn)

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

batsms-0.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

batsms-0.3-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file batsms-0.3.tar.gz.

File metadata

  • Download URL: batsms-0.3.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for batsms-0.3.tar.gz
Algorithm Hash digest
SHA256 12c3f120226ebbfdfbb2e2fc17fea8ea45e205559f6c126c30001b33a8c1606b
MD5 92bbfd8d4057299a5d9907e397c16d9f
BLAKE2b-256 7936850984e8b7d89db0b9383b333eed12c3b9c80dedb21694a3d90427bf5b41

See more details on using hashes here.

File details

Details for the file batsms-0.3-py3-none-any.whl.

File metadata

  • Download URL: batsms-0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for batsms-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ce74e0e463308c1a8233d8b8da259a2c0d20bacab3cbd4c0e234be7de930a839
MD5 bfdd762fa02d73a916ab2a7299c161b9
BLAKE2b-256 6d3228bda4d113bba8c9f1038c73a1d009c6e9d8f054473c9e7cab2c81d6a491

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