{"id":21660211,"url":"https://github.com/slub/marcsigel","last_synced_at":"2025-05-08T00:22:55.313Z","repository":{"id":150196269,"uuid":"190202922","full_name":"slub/marcsigel","owner":"slub","description":"a commandline command (Python3 program) that adds a Sigel to a given collection of binary MARC records (into MARC field 935 a; and optionally deduplicates this collection to another given collection)","archived":false,"fork":false,"pushed_at":"2020-11-17T09:02:06.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-25T09:44:42.778Z","etag":null,"topics":["command-line-tool","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-04T13:04:45.000Z","updated_at":"2024-04-18T21:06:52.000Z","dependencies_parsed_at":"2023-06-26T00:51:43.130Z","dependency_job_id":null,"html_url":"https://github.com/slub/marcsigel","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%2Fmarcsigel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Fmarcsigel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Fmarcsigel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Fmarcsigel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slub","download_url":"https://codeload.github.com/slub/marcsigel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235547097,"owners_count":19007626,"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":["command-line-tool","marc","marc21","python"],"created_at":"2024-11-25T09:32:29.955Z","updated_at":"2025-01-25T07:09:05.231Z","avatar_url":"https://github.com/slub.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# marcsigel\n\nmarcsigel is a Python3 program that adds a Sigel to a given collection of binary MARC records (into MARC field 935 a; and optionally deduplicates this collection to another given collection)\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## Run\n\n* clone this git repo or just download the [marcsigel.py](marcsigel/marcsigel.py) file\n* run ./marcsigel.py\n* for a hackish way to use marcsigel system-wide, copy to /usr/local/bin\n\n### Install system-wide via pip\n\n* via pip:\n    ```\n    python3.6 -m pip install --upgrade [ABSOLUTE PATH TO YOUR LOCAL GIT REPOSITORY OF MARCSIGEL]\n    ```\n    (which provides you ```marcsigel``` as a commandline command)\n\n## Usage\n\n    marcsigel [-h] -sigel SIGEL -input-collection INPUT_COLLECTION -output-collection OUTPUT_COLLECTION [-another-collection ANOTHER_COLLECTION]\n\nrequired arguments:\n  -sigel SIGEL                              the Sigel that should be added to the MARC records into MARC field 935 a (default: None)\n  -input-collection INPUT_COLLECTION        an input file with binary MARC records, where the Sigel should be added into MARC field 935 a (default:None)\n  -output-collection OUTPUT_COLLECTION      the output file with binary MARC records (incl. added Sigels and optionally deduplication against the other collection) (default: None)\n\noptional arguments:\n  -h, --help                                show this help message and exit\n  -another-collection ANOTHER_COLLECTION    a file with binary MARC records that should be utilised for deduplication, i.e., the Sigel values from MARC field 935 a will be merged (default: None)\n\n### Usage example\n\n    marcsigel -sigel [SIGEL OF THE INPUT COLLECTION TO ADD] -input-collection [INPUT BINARY MARC RECORDS COLLECTION FILE] -output-collection [OUTPUT BINARY MARC RECORDS COLLECTION FILE WITH SIGELS]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslub%2Fmarcsigel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslub%2Fmarcsigel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslub%2Fmarcsigel/lists"}