Skip to main content

Simple Failover Resolver

Project description


Simple failover resolver for Python

this is experimental version.
yet, you should not use in large-scale service.


pip install sfor


from sfor.sfor_simple import SforSimple, SforNodeInfo
import time
import logging

node_list = [
SforNodeInfo("hoge1", 80, "/status.html"),
SforNodeInfo("hoge2", 80, "/status.html"),

logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(message)s', datefmt='%m/%d/%Y %I:%M:%S %p')

sfor = SforSimple(node_list)

for n in range(60):

Project details

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
python-sfor-0.1.3.tar.gz (1.8 kB) Copy SHA256 hash SHA256 Source None Feb 13, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page