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

Download files

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

Files for python-sfor, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size python-sfor-0.1.3.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page