Skip to main content

Python library to send SMS via AVM FRITZ!Box

Requirements

  • AVM FRITZ!Box with internal or USB cellular modem and SMS enabled SIM card.
  • User account with app-based second-factor enabled and TOTP secret available.

Example usage

from fritzsms.fritzbox import FritzBox
from aiohttp import ClientSession
import asyncio


async def async_main_test():
    async with ClientSession() as session:
        box = FritzBox("fritz.box", session)
        box.set_otp("TOTP-secret")
        print(box.get_otp()) # for confirmation during setup
        await box.login("username", "password")
        uid = await box.send_sms("mobile-number", "Hello World!")
        await box.delete_sms(uid)
        print(await box.list_sms())
        await box.logout()


if __name__ == "__main__":
    loop = asyncio.new_event_loop()
    asyncio.set_event_loop(loop)
    loop.run_until_complete(async_main_test())

Metadata

Release files for pyfritzsms 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyfritzsms 0.1.4
File Size Uploaded Provenance Actions
pyfritzsms-0.1.4.tar.gz 60.4 kB With provenance Details for pyfritzsms-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyfritzsms 0.1.4
File Interpreter ABI Platform Actions
pyfritzsms-0.1.4-py3-none-any.whl Python 3 none any Details for pyfritzsms-0.1.4-py3-none-any.whl

Total release size: 67.3 kB

Release files / pyfritzsms-0.1.4.tar.gz

Download URL pyfritzsms-0.1.4.tar.gz
Size 60.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5ba5a87fd5727d20e2793e1a110990d67ce9f460264c716bd42039ab44a9d27d
BLAKE2b-256 checksum
How to use checksums
67aef4453e17a83b473ee0f79aad9364a229b11d82a5647b25c20cde18321fa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 10, 2025.

Transparency log

Release files / pyfritzsms-0.1.4-py3-none-any.whl

Download URL pyfritzsms-0.1.4-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b2115ea18a77e04920804c8132e592d0506e9388992299d5ed9eef9455865498
BLAKE2b-256 checksum
How to use checksums
1f30fd8a0f5fc77ad235bec56f393ea5b29a61fe172d593d3c8c727662625476
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 10, 2025.

Transparency log

Security for pyfritzsms 0.1.4

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyfritzsms-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 10, 2025.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page