Skip to content

slub/pymarc2jsonl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EFRE-Lod logo

pymarc2jsonl

MARC21 to MarcXchange formatted ld-JSON and reverse converter based on pymarc. Also converts to MARC-XML.

requirements

Installation

Clone this Repository, cd into it and run:

python3 -m pip install --user .

usage

pymarc2jsonl, json2marc21 and json2marcxml don't use any cmdline arguments, they only use stdout and stdin.

e.g.:

pymarc2jsonl < binary_marc21.mrc > line_delmited_json.ldj
json2marc21 < line_delimited_json.ldj > binary_marc21.mrc
json2marcxml < line_delimited_json.ldj > xml_marc.xml

Tests

this package comes with tests, run via:

python3 -m pytest tests/

About

MARC21 to MarcXchange formatted ld-JSON and reverse converter based on pymarc

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy