Permalink
Browse files

Initial revision

  • Loading branch information...
driftx committed Oct 9, 2009
0 parents commit af0db803e3b974f4e14bf50c1ccf3b387cc05817
Showing with 771 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +19 −0 LICENSE
  3. +33 −0 README
  4. +26 −0 bin/chiton-client
  5. 0 chiton/__init__.py
  6. +401 −0 chiton/chiton.glade
  7. +289 −0 chiton/viewer.py
@@ -0,0 +1,3 @@
+*.pyc
+*.sw?
+*.cache
19 LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2009 Brandon Williams, <brandon@faltering.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
33 README
@@ -0,0 +1,33 @@
+Chiton
+========
+
+Description
+-----------
+
+Chiton is a GTK-based browser for Cassandra
+
+Installation
+------------
+
+Prerequisites:
+
+ * Python 2.5 or later
+ * Twisted 8.1.0 or later
+ * Thrift (latest svn)
+ * PyGTK 2.14 or later
+ * simplejson
+ * Telephus (http://github.com/driftx/Telephus)
+
+Usage
+-----
+
+Run bin/chiton-client --help for options, or run it and connect to a host in your
+Cassandra cluster.
+
+Features
+--------
+
+* Automatic Keyspace, Column, and SuperColumn introspection
+* Browse columns with pagination
+* Completion history for rows and SuperColumn names
+
@@ -0,0 +1,26 @@
+#!/usr/bin/python
+from twisted.internet import gtk2reactor
+gtk2reactor.install()
+from twisted.internet import reactor
+from twisted.python import log, usage
+from chiton.viewer import ChitonViewer
+import sys
+
+class Options(usage.Options):
+ optParameters = [
+ ['host', 'h', None, 'host to connect to', str],
+ ['port', 'p', 9160, 'port', int],
+ ]
+
+options = Options()
+try:
+ options.parseOptions()
+except usage.UsageError, errortext:
+ print '%s: %s' % (sys.argv[0], errortext)
+ print '%s: Try --help for usage details.' % (sys.argv[0])
+ sys.exit(1)
+
+log.startLogging(sys.stdout)
+
+v = ChitonViewer(options['host'], options['port'])
+reactor.run()
No changes.
Oops, something went wrong.

0 comments on commit af0db80

Please sign in to comment.