summaryrefslogtreecommitdiff
path: root/README
blob: 8041676973645f2263ff740d968f743b2fb15dd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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/