This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Simple library for controlling PPP connections with pppd. Under the hood it uses the subprocess module to interact with pppd to create and disconnect PPP connections. Positional and keyword arguments are passed to the pppd command- line although there is protection for shell exploits.

This library has been production tested connecting daily to 280+ remote locations via dial-up PPP connection for over a year. I have simply packaged and cleaned up the module as some may find it useful.

Anyone wanting to do something similar in a Windows environment should probably take a look at win32ras.


You will require pppd, the PPP daemon and PPP kernel modules.


To install simply:

pip install python-pppd

Alternatively, install from the repository:

git clone cd python-pppd python install

Getting Started

You can connect to an existing configured PPP connection:

>>> from pppd import PPPConnection
>>> ppp = PPPConnection(call='work') # blocks until connected
>>> ppp.connected() # check if connected, raises error if connection error
>>> ppp.laddr # address of local host
>>> ppp.raddr # address of remote client

You can specify any positional or keyword arguments:

PPPConnection('/dev/ttyS0', connect='/usr/bin/chat -v -f /etc/chatscripts/A1')

Which is equivalent to the following:

sudo pppd /dev/ttyS0 connect “/usr/bin/chat -v -f /etc/chatscripts/A1”

Normally you require sudo to use pppd, if you don’t have it and have setup the pppd binary with setuid-root or are running as root you can use:


You can also specify an alternate paths to pppd or sudo if the libary cannot find them:

PPPConnection(sudo_path='/usr/local/bin/sudo', pppd_path='/usr/local/sbin/pppd')


Distributed under the MIT license.

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

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
python-pppd-1.0.0.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 Source Aug 22, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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