Giter Site home page Giter Site logo

cloudxtreme / zkui-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from echoma/zkui

0.0 1.0 0.0 665 KB

zkui is a GUI client of Apache ZooKeeper implemented with Python3 + Qt5 + HTML5.

License: Apache License 2.0

Python 22.29% JavaScript 30.61% HTML 47.10%

zkui-1's Introduction

zkui

zkui is a cross platform GUI frontend of Apache ZooKeeper implemented with Python3 + Qt5 + HTML5.

A screenshot on Xubuntu 15.04 The Main Window

Check Here For More Screenshots

Features

  • Browse the ZooKeeper node tree, edit the node's data.
  • Copy a node to new path recursively.
  • Export / Import between node and your local storage recursively.
  • Delete node and its children recursively.
  • ACL supportted, sheme including world,digest,ip
  • Use a pre-configured default ACL when create new node
  • Cross-platform, this is the nature given by Python3 and Qt5

Download Pre-built Binaries

If it's too complicated for you to build a Python3+PyQt5 environment, You can download pre-built binary executables here.

  • Currently, there are only MS Windows executables provided.
  • The latest binary package is uploaded on 2016-02-03

Build By Yourself

1. Install Python3.x

  • The latest version is 3.4.3 as Iwrite this. This is also the recommended version. download it here

  • Install PyQt5 package.

    We use PyQt5 to draw the native window and use its QWebkit to render all the gui component inside the window.

    On Linux distribution, you can install it through software center, or download source code and compile it by yourself.

    On MS Windows, you can install it via a binary installer

  • Install Kazoo package.

    Kazoo is a pure Python3 implemented ZooKeeper client.

    Install this package with this command: python3 -m pip install kazoo

  • Install pyyaml package.

    using this command: python3 -m pip install pyyaml

2. Run zkui

  • Start zkui with this command: python3 ./zkui.py

Freeze Python Scripts Into Binaries

Install Python3's cx_Freeze package.

  • cx_Freeze is a set of cross platform tools which can freeze Python scripts into executables.

  • Install this package with this commad: python3 -m pip install cx_Freeze

On MS-Windows

  • build executables: python3 ./cx_freeze_setup.py build

  • build MS Installer: python3 ./cx_freeze_setup.py bdist_msi

On Linux

  • build RPM (not tested): python3 ./cx_freeze_setup.py bdist_rpm

On Mac OSX

  • build DMG: python3 ./cx_freeze_setup.py bdist_dmg

Simple Usage Guidance

The whole UI is composed with three parts:

  • The top part is "navigation". It shows which node you are browsing. The "Go Up" and "Go Down" button is very helpful.
  • The left part is "children and operations". The blue blocks is the children of current node, click it to browse the child. The orange button has many useful operations, discover them by yourself.
  • The right part is "node data". You can view and edit the node data here.

Miscellaneous

license

  • I choose Apache License v2, but I am not an expert on license. Zkui uses many other opensource modules, I am not sure whether Apache Licese v2 is legal.

todo

  • switch to QT5.5/5.6 to use QtWebEngine for better html5 support
  • merge new upstream releases of h5 component
  • make editor window resizable instead of editor itself resizable
  • select export/import directory by dialog
  • support dump node tree at an interval
  • node value editor syntax highlighting
  • diff utility when editor node value

zkui-1's People

Contributors

echoma avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.