Skip to main content

tempnumber

Python client and interactive Terminal User Interface (TUI) for temporary disposable phone numbers, SMS verification codes, and coin rewards (com.tempnumber.Temp_Number.Temp_Number).

Maintained by NeuralS.


Features

  • 62 Countries: Free temporary phone numbers across United States, United Kingdom, Canada, France, Netherlands, Sweden, etc.
  • Live SMS Feed: Real-time incoming SMS messages for receiving verification texts.
  • Automated OTP Extractor: Integrated regex engine that extracts 4–8 digit verification codes automatically.
  • Coin Rewards & Farming: Check-in daily, spin the lucky wheel, and open mystery boxes to earn coins.
  • Private Numbers: Rent dedicated, private numbers using earned coins.
  • Favorites: Bookmark frequently used phone numbers.
  • Interactive TUI: 8-tab terminal dashboard powered by Textual.
  • CLI Commands: Terminal utilities (tempnumber list, tempnumber sms, tempnumber code, tempnumber farm).

Installation

pip install tempnumber

Quickstart

Terminal Dashboard

# Python Textual TUI
tempnumber

# Or Bun + OpenTUI Dashboard
cd opentui
bun install
bun run start

CLI Commands

# List supported countries
tempnumber countries

# List available active numbers for a country
tempnumber list --country "United States"

# View SMS inbox for a number
tempnumber sms +12544525112

# Wait for and print the next OTP code
tempnumber code +12544525112 --timeout 60

# Check coin balance
tempnumber coins

# Automated one-click coin farming
tempnumber farm

# View private rented numbers
tempnumber private

# Manage bookmarked favorites
tempnumber fav
tempnumber fav --add +12544525112

Python SDK

from tempnumber import TempNumberClient

client = TempNumberClient()

# 1. Fetch available US numbers
numbers = client.get_numbers(country_name="United States")
phone = numbers[0]["ToNumber"]
print(f"Selected Phone: {phone}")

# 2. Check incoming SMS messages
messages = client.get_messages(phone)
for m in messages:
    print(f"[{m['FromNumber']}] {m['Messagebody']}")

# 3. Automatically wait for an OTP verification code
otp = client.wait_for_otp(phone, timeout_secs=60)
if otp:
    print(f"Extracted OTP: {otp['code']} from {otp['sender']}")

# 4. Automate daily coin farming
farm = client.farm_all_coins()
print("Farmed Coins Balance:", farm["balance"])

Endpoints

Category Endpoint Method Description
Public /api/country GET List 62 supported countries
Public /api/numbers POST Query available active numbers
Public /api/sms POST Read real-time incoming SMS messages
Coins /api/coins/getUserCoins GET Check coin balance
Coins /api/coins/performDailyCheck POST Claim daily attendance reward
Coins /api/coins/spinWheel POST Spin lucky wheel for coins
Coins /api/coins/openSurpriseBox POST Open mystery box reward
Private /api/purchased-numbers GET List user's dedicated rented numbers
Private /api/purchase-number-android POST Rent number using earned coins
Private /api/premium-sms POST Read private number SMS
Favs /api/favorite-numbers GET / POST Manage bookmarked numbers

License

MIT

Metadata

Release files for tempnumber 0.1.0

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

Source distribution (sdist)

Source distribution for tempnumber 0.1.0
File Size Uploaded Provenance
tempnumber-0.1.0.tar.gz 14.6 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 29.4 kB

Release files / tempnumber-0.1.0.tar.gz

Download URL tempnumber-0.1.0.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ef4fc99fb2af8e0dd9d00c2266d889b980159911cf9b16065cdddd20f7e82d14
BLAKE2b-256 checksum
How to use checksums
1adb0fd2511ba67a569f2292a027fb7361af7e65eedf2e648360ce5173fa418c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / tempnumber-0.1.0-py3-none-any.whl

Download URL tempnumber-0.1.0-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7db977aa77e39b028d1d29e60fd78629d598c6a95c37ccc2352d4d84e27ae4db
BLAKE2b-256 checksum
How to use checksums
371fc98fe2844f9bb421cdb10cdfe6f61b15eec42772cd7427fed752fa457d18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Security for tempnumber 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No 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