==========================================
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)
Metadata
Release files for batsms 0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| batsms-0.7.tar.gz | 3.7 kB | Without provenance | Details for batsms-0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| batsms-0.7-py3-none-any.whl | Python 3 | none | any | Details for batsms-0.7-py3-none-any.whl |
Total release size: 7.6 kB
Release files / batsms-0.7.tar.gz
| Download URL | batsms-0.7.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd8243608a1e8f09233cab0ce74a18302428f519f25b2ff04b77293d5e515292
|
|
BLAKE2b-256 checksum How to use checksums |
005002f545ed615a863e3a8db3d8bcac1a4309bdae2db8d66a9e525d7b11e367
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / batsms-0.7-py3-none-any.whl
| Download URL | batsms-0.7-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82bcc8e8f0ff61c22042bb506bbca3a55cd7d8e037f2361bd296b4a1da7c3e44
|
|
BLAKE2b-256 checksum How to use checksums |
6f14346d61e575a2e67e3907e68f6cbd25e4a8f0acd9af2998b2d855687c0073
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Security for batsms 0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.