Skip to main content

Send SMS notifications to your own mobile via any internet-connected device.

Project description

freemobile SMS notifications

Send SMS notifications to your own free mobile via any internet-connected device.

Visit their website for more informations:

https://mobile.free.fr/account/mes-options/notifications-sms

You can directly activate the option here:

https://mobile.free.fr/account/mes-options?update=notifications-sms&activate=1

Copy your user_id and api_key in your environment like so:

export FREEMOBILE_USER_ID=19666242 FREEMOBILE_API_KEY=G0n@bha2Get

uv:

If you already are an uv fan and don't want to install this package, simply type the following in your terminal:

uvx freemobile "hello me :)"

You should receive an ... sms there it is :)

pip:

pip install freemobile
freemobile "hello me again"

Without environment variable:

freemobile --user-id 19666242 --api-key G0n@bha2Get "It's me again ..."

Send file content or standard input:

echo "hello $USER \!" > msg.txt
freemobile --from-file msg.txt

or

echo "hello $USER \!" | freemobile --from-file -

Limitations:

  • There seems to be a limit of 1000 characters per sending that I will fix in a future release (I never reach this limit in my personal usage ...).
  • I haven't reached the rate limit quota yet, but I've implemented a retry mechanism that should work for most.

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

freemobile-0.1.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

freemobile-0.1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file freemobile-0.1.1.tar.gz.

File metadata

  • Download URL: freemobile-0.1.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for freemobile-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a80e8adf18bbaddc67abc9f51170490b9f418522990af4f7d15d6634999e42a8
MD5 cb8b26015170d5cf0b7ece762b9fd887
BLAKE2b-256 06cdce335b2ce9296a42452d0a893ba78c1220428a62183ac87359aa3964938a

See more details on using hashes here.

Provenance

The following attestation bundles were made for freemobile-0.1.1.tar.gz:

Publisher: python-publish.yml on rambobinator/freemobile-SMS-notifications

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file freemobile-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: freemobile-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for freemobile-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c7e8288765303ec72de61f2d19e2aa5fb9bf18455d12a8c88c6ea2ba4916809
MD5 4cd39eeac5d57a6b981b07af497ae471
BLAKE2b-256 8007b82ecc90dd527e266973c0519351c08d58f33ee1a5c8b06cdac043b53c94

See more details on using hashes here.

Provenance

The following attestation bundles were made for freemobile-0.1.1-py3-none-any.whl:

Publisher: python-publish.yml on rambobinator/freemobile-SMS-notifications

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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