From 0fefcd64bc9b2fe4faa6808c2cf2c9d2947b85b6 Mon Sep 17 00:00:00 2001 From: davidb Date: Tue, 22 Apr 2003 23:32:23 +0000 Subject: [PATCH] initial 2 minute version --- README | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..762a30f --- /dev/null +++ b/README @@ -0,0 +1,40 @@ +WHAT IS IT? + +As a programming exercise for learning Python, I wrote a simple rwhois +server. It uses in-memory data structures, and it intuits +the schema based on the data it sees. The server as input takes a +schema file, which for now just describes which attributes should be +indexed (and how), and data files which look much like the C rwhoisd's +data files. + +REQUIREMENTS + +python 2.2 or later + +INSTALL + +For now, just run it from the source directory: + + +RUNNING IT + +% tar zxvf python-rwhoisd-0.1.tar.gz + +% cd python-rwhoisd-0.1 + +% ./bin/pyrwhoisd sample_data/example_schema \ + sample_data/example_data & + +Voila! You should now have some sort of rwhois server running on port +4321 + +CONFIGURING IT + +Edit rwhoisd/config.py. +This file is sort of commented as to what you can change. + + +DATA + +See the example_schema and example_data files in the sample_data +directory. -- 2.36.6