{"id":21660314,"url":"https://github.com/slub/addid","last_synced_at":"2026-05-19T04:04:04.605Z","repository":{"id":41279316,"uuid":"110830797","full_name":"slub/addid","owner":"slub","description":"adds (url-safe) base64 encoded ids (without padding) to given finc Solr schema conform line-delimited JSON","archived":false,"fork":false,"pushed_at":"2018-02-09T14:46:49.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-20T05:28:52.598Z","etag":null,"topics":["base64","cli","command-line-tool","finc-solr-schema","json","line-delimited-json"],"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:29:56.000Z","updated_at":"2023-12-16T01:47:56.000Z","dependencies_parsed_at":"2022-09-21T01:10:55.758Z","dependency_job_id":null,"html_url":"https://github.com/slub/addid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/slub/addid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Faddid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Faddid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Faddid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Faddid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slub","download_url":"https://codeload.github.com/slub/addid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slub%2Faddid/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268378806,"owners_count":24240896,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["base64","cli","command-line-tool","finc-solr-schema","json","line-delimited-json"],"created_at":"2024-11-25T09:32:51.986Z","updated_at":"2026-05-19T04:03:59.553Z","avatar_url":"https://github.com/slub.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# addid\n\nadds (url-safe) base64 encoded ids (without padding) to given finc Solr schema conform line-delimited JSON\n\nadds \"id\" field to given finc Solr schema conform line delimited JSON, whereby the ID will be constructed with following pattern:\n\n    [PREFIX]-[SOURCE ID]-[RECORD ID]\n\n * PREFIX will be taken from the parameter \"-prefix\"\n * SOURCE ID will be taken from field \"source_id\" of the JSON record\n * RECOURD ID will be taken from field \"record_id\" of the JSON record\n\n## requirements\n\n* [argparse](https://docs.python.org/3/library/argparse.html#module-argparse)\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    addid.py -prefix [PREFIX] \u003c [INPUT FINC SOLR SCHEMA CONFORM LINE-DELIMITED JSON] \u003e [OUTPUT ENHANCED FINC SOLR SCHEMA CONFORM LINE-DELIMITED JSON]\n\n(default prefix is \"dswarm\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslub%2Faddid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslub%2Faddid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslub%2Faddid/lists"}