Skip to content

Installation

onesms needs Python 3.10 or newer and depends only on httpx.

Install from PyPI

pip install onesms
uv add onesms

Pin a version

To stay on a specific release, pin it:

pip install onesms==<version>

Install the latest unreleased code

To install straight from the repository, optionally at a tag or commit:

pip install git+https://github.com/martian56/onesms-sdk.git@<tag-or-commit>

Check it worked

import onesms

print(onesms.__version__)

Everything you need is importable from the top-level onesms package:

from onesms import AsyncClient, Client, DeliveryStatus, verify_signature