summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir@cohens.org.il>2016-11-13 18:55:12 +0200
committerTzafrir Cohen <tzafrir@cohens.org.il>2016-11-13 18:55:12 +0200
commit9594a90cd61966d10942f6e4afb3084efffd27fc (patch)
tree42adc357539eab927e6be8c829c4b156fe39e102
parent3dd3ec7d23707e27ead70ff66a60fa08a2848bfa (diff)
A basic (and potentially incorrect) READMEHEADmaster
-rw-r--r--README19
1 files changed, 19 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..8041676
--- /dev/null
+++ b/README
@@ -0,0 +1,19 @@
+MARC parser
+
+This code is intended to parse code in the MARC format[1] from the
+Israeli National Library.
+
+An example minimal file is included in the repository under test_data.
+A more complete data set could be downloaded from
+https://www.wetransfer.com/downloads/5ae37fc7985ddd1966b8c397cd2133a820160918061533/408158
+
+The code is Python 3. You can run a test with:
+
+ PYTHONPATH=. python3 readers/xml_reader.py
+ PYTHONPATH=. python3 testers/factorytester.py
+
+TODO: it seems to require adding the top-level directory to the
+PYTHONPATH.
+
+[1] http://www.loc.gov/marc/bibliographic/
+