diff options
author | Tzafrir Cohen <tzafrir@cohens.org.il> | 2016-09-25 20:48:44 +0300 |
---|---|---|
committer | Tzafrir Cohen <tzafrir@cohens.org.il> | 2016-09-25 20:48:44 +0300 |
commit | ddcdaa39b412c1b52e86d172145c5e19b25bc56b (patch) | |
tree | 70ebddb4483915d3ba1981949f17d70da467991d | |
parent | 2180af50a21c85f44a5bdab9c2d957def9b6124a (diff) |
-rw-r--r-- | README | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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. 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=$PWD python3 readers/xml_reader.py + PYTHONPATH=$PWD python3 testers/factorytester.py + +TODO: it seems to require adding the top-level directory to the +PYTHONPATH. + +[1] http://www.loc.gov/marc/bibliographic/ + |