kalourmade-arkesel
Python SDK for the Arkesel SMS/OTP gateway.
Install
pip install kalourmade-arkesel
Requires Python 3.9+. Single dependency: httpx.
Quickstart
Two things this SDK does: send SMS messages, and generate/verify OTPs.
import os
from kalourmade_arkesel import ArkeselClient
client = ArkeselClient(os.environ["ARKESEL_API_KEY"])
# Send a message
response = client.sms.send(sender="Arkesel", recipients=["233544919953"], message="Hello from Arkesel")
for result in response.results:
print(f"{result.recipient} -> {result.id}")
# Generate and verify an OTP
client.otp.generate(
expiry=5, length=6, medium="sms",
message="Your code is %otp_code%",
number="233544919953", sender_id="Arkesel", type="numeric",
)
client.otp.verify(code=user_entered_code, number="233544919953")
Full documentation, runnable examples, and the PHP/Node SDKs: github.com/kalourmade/arkesel-sdk.
Metadata
Release files for kalourmade-arkesel 0.1.1
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 |
|---|---|---|---|---|
| kalourmade_arkesel-0.1.1.tar.gz | 8.7 kB | Without provenance | Details for kalourmade_arkesel-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kalourmade_arkesel-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for kalourmade_arkesel-0.1.1-py3-none-any.whl |
Total release size: 16.4 kB
Release files / kalourmade_arkesel-0.1.1.tar.gz
| Download URL | kalourmade_arkesel-0.1.1.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
471110806004cc5797d90be526929c9a037597c2c227ab65491ca1ebb1c0c2f6
|
|
BLAKE2b-256 checksum How to use checksums |
aa1007391e5139be3f8eb807b935f97dae78f62e76fd18dee72789ca3fdfd4d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / kalourmade_arkesel-0.1.1-py3-none-any.whl
| Download URL | kalourmade_arkesel-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
213ca8388f9ea3b8d33e977fc63b57a47d02388c430ae0bd8049dea7b0c42056
|
|
BLAKE2b-256 checksum How to use checksums |
30b643edd44e1ecf84df6d334995bab1c7f888c4ea737c8342d462585c3a1ec2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for kalourmade-arkesel 0.1.1
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.