Skip to content
forked from kanakb/pyhelix

Python participant and spectator for Apache Helix

License

Notifications You must be signed in to change notification settings

lei-xia/pyhelix

 
 

Repository files navigation

pyhelix

Python bindings for Apache Helix

Install:

sudo easy_install pyhelix

OR

sudo pip install pyhelix

Start a participant:

# Imports
import pyhelix.participant as participant
import pyhelix.examples.dummy.dummy_statemodel as statemodel

# Define a participant
p = participant.Participant('test-cluster', 'myhost', 12120, 'zkhost:2181')

# Register a state model factory
p.register_state_model_fty('MasterSlave', statemodel.DummyStateModelFactory())

# Connect
p.connect()

# Disconnect
p.disconnect()

Build Status

About

Python participant and spectator for Apache Helix

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 94.3%
  • Smarty 3.3%
  • CSS 2.4%