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.7.tar.gz (3.7 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.7-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for batsms-0.7.tar.gz
Algorithm Hash digest
SHA256 fd8243608a1e8f09233cab0ce74a18302428f519f25b2ff04b77293d5e515292
MD5 c505d1d3cc29659d84be3255a13995d3
BLAKE2b-256 005002f545ed615a863e3a8db3d8bcac1a4309bdae2db8d66a9e525d7b11e367

See more details on using hashes here.

File details

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

File metadata

  • Download URL: batsms-0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.9 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 82bcc8e8f0ff61c22042bb506bbca3a55cd7d8e037f2361bd296b4a1da7c3e44
MD5 ebc3e46b6f7ad3d4db52e58ada13761f
BLAKE2b-256 6f14346d61e575a2e67e3907e68f6cbd25e4a8f0acd9af2998b2d855687c0073

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