This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Project Description

Twisted based library for interacting with’s XML API

Methods implemented

  • Login
  • Logout
  • NewMessages
  • DeleteNewMessages
  • SendMessages
  • SentMessages
  • DeleteSentMessages


It runs in Twisted, uses Trial for unittests.

$ virtualenv --no-site-packages ve
$ source ve/bin/activate

Run the client tests, the responses for these are mocked and do not need a Foneworx account set up.

(ve)$ trial tests.client_tests

Run the connection tests, these tests do actually connect to Foneworx to send & receive SMSs. Running these tests will cost you money / SMS credits.

(ve)$ MSISDN=+27xxx USERNAME=xxx PASSWORD=xxx trial tests.connection_tests

Part of the tests is a full stack: receive, reply, delivery report & delete.

(ve)$ USERNAME=xxx PASSWORD=xxx trial \
> tests.connection_tests.FoneworxConnectionTestCase.test_full_stack
    test_full_stack ... Please send a test SMS to Foneworx in order to fill the inbox.
Checking for new SMSs every 2 seconds
Checking for new SMSs every 2 seconds
Checking for new SMSs every 2 seconds
Checking for new SMSs every 2 seconds
Replying to an SMS received from +27xxxxxxxxx
Waiting until delivered
Not delivered yet: At Network
Not delivered yet: At Network
Not delivered yet: At Network
Deleting the received message
Deleted: Success
Deleting the sent message
Deleted: None
Logging out
Logged out: Success

Ran 1 tests in 51.191s

PASSED (successes=1)
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
python-foneworx-0.1.tar.gz (10.4 kB) Copy SHA256 Checksum SHA256 Source May 5, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting