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

Uploaded Python 3

File details

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

File metadata

  • Download URL: batsms-0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 58ad292c1f7de86f24e49857f4f3839c8ea8fff09ca95664484833a28ac11f27
MD5 3accd3e984d2b61fbaab3c7a8d3c0f49
BLAKE2b-256 a80be408a2aa16746607a382d5014ca457aeeb05b1c8ecc231855414d9cb0903

See more details on using hashes here.

File details

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

File metadata

  • Download URL: batsms-0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 72d0c98be88ed7305e7cb596e004eb660e4dee72581054d3fa25d5b33f4384a7
MD5 c7e065ecaab845a976d56847ce873872
BLAKE2b-256 0f45cb321ea4a405fb6b1b4f72a0cb82310fed2070545bcd98fbfe33f8bfd5f2

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