{"id":21660290,"url":"https://github.com/slub/addfullrecord","last_synced_at":"2026-05-20T03:10:35.276Z","repository":{"id":41279315,"uuid":"110831725","full_name":"slub/addfullrecord","owner":"slub","description":"add fullrecord field into given finc Solr schema conform line-delimited JSON","archived":false,"fork":false,"pushed_at":"2018-02-09T14:43:22.000Z","size":9,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-25T07:09:04.467Z","etag":null,"topics":["cli","command-line-tool","finc-solr-schema","json","line-delimited-json","marc","marc21","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-15T12:39:17.000Z","updated_at":"2023-12-16T01:48:58.000Z","dependencies_parsed_at":"2022-09-21T00:10:30.526Z","dependency_job_id":null,"html_url":"https://github.com/slub/addfullrecord","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Faddfullrecord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Faddfullrecord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Faddfullrecord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Faddfullrecord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slub","download_url":"https://codeload.github.com/slub/addfullrecord/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244555978,"owners_count":20471542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line-tool","finc-solr-schema","json","line-delimited-json","marc","marc21","python"],"created_at":"2024-11-25T09:32:41.600Z","updated_at":"2026-05-20T03:10:30.236Z","avatar_url":"https://github.com/slub.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# addfullrecord\n\nadd fullrecord field into given finc Solr schema conform line-delimited JSON\n\nreads a finc Solr schema conform line-delimited JSON (from stdin), (tries to) retrieves the binary MARC record for each record (by a given folder containing single MARC record files (that can be matched by id)), writes the record into the \"fullrecord\" field and prints out the result to stdout  \n\n## requirements\n\n* [argparse](https://docs.python.org/3/library/argparse.html#module-argparse)\n* [pymarc](https://github.com/edsu/pymarc)\n\n### install requirements\n\n1. (optionally) install [pip](https://pip.pypa.io/) for Python 3.x:\n\n    sudo apt-get install python3-pip\n\n2. install requirements with pip:\n\n    sudo -H pip3 install -r requirements.txt\n\n## usage\n\n    addfullrecord.py [-h] [-marc_record_folder MARC_RECORD_FOLDER]\n\noptional arguments:\n\n    -h, --help            show this help message and exit\n    -marc_record_folder MARC_RECORD_FOLDER set MARC record (containing single MARC record files)\n\n### usage example\n\n    ./addfullrecord.py -marc_record_folder [PATH TO YOUR MARC RECORD FOLDER CONTAINING SINGLE MARC RECORD FILES] \u003c [PATH TO YOUR FINC SOLR SCHEMA CONFORM LINE-DELIMITED JSON FILE] \u003e [PATH TO THE RESULT FINC SOLR SCHEMA CONFORM LINE-DELIMITED JSON FILE]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslub%2Faddfullrecord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslub%2Faddfullrecord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslub%2Faddfullrecord/lists"}