{"id":15447469,"url":"https://github.com/datadavev/txt2pid","last_synced_at":"2025-03-28T08:44:19.841Z","repository":{"id":230961682,"uuid":"780568151","full_name":"datadavev/txt2pid","owner":"datadavev","description":"Extract a list of identifiers from text","archived":false,"fork":false,"pushed_at":"2024-04-02T13:19:35.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T09:27:24.109Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datadavev.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":"2024-04-01T18:41:00.000Z","updated_at":"2024-04-01T19:27:21.000Z","dependencies_parsed_at":"2025-02-02T09:25:57.138Z","dependency_job_id":"f4866bd3-8e0f-4044-913f-897c4bdca307","html_url":"https://github.com/datadavev/txt2pid","commit_stats":null,"previous_names":["datadavev/txt2pid"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadavev%2Ftxt2pid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadavev%2Ftxt2pid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadavev%2Ftxt2pid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadavev%2Ftxt2pid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datadavev","download_url":"https://codeload.github.com/datadavev/txt2pid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245999318,"owners_count":20707554,"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":[],"created_at":"2024-10-01T20:06:03.927Z","updated_at":"2025-03-28T08:44:19.823Z","avatar_url":"https://github.com/datadavev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# txt2pid\n\nExtract a list of identifiers from text.\n\nFor example, using the cli to output json-lines:\n\n```\ncurl -s \"https://sis.web.cern.ch/submit-and-publish/persistent-identifiers/pids-for-objects\" | \\\n  pandoc -s -r html -t plain | \\\n  python -m txt2pid\n\n{\"offset\": 14567, \"source\": \"ark:/13030/tf5p30086k\", \"scheme\": \"ark\", \"content\": \"13030/tf5p30086k\"}\n{\"offset\": 15033, \"source\": \"arXiv:1207.7214\", \"scheme\": \"arXiv\", \"content\": \"1207.7214\"}\n{\"offset\": 15929, \"source\": \"10.23731/CYRM-2019-007\", \"scheme\": \"doi\", \"content\": \"10.23731/CYRM-2019-007\"}\n{\"offset\": 15986, \"source\": \"10.7483/OPENDATA.CMS.6O84.WLN8\", \"scheme\": \"doi\", \"content\": \"10.7483/OPENDATA.CMS.6O84.WLN8\"}\n{\"offset\": 16037, \"source\": \"10.5281/zenodo.821635\", \"scheme\": \"doi\", \"content\": \"10.5281/zenodo.821635\"}\n{\"offset\": 16081, \"source\": \"10.1016/j.physletb.2012.08.020\", \"scheme\": \"doi\", \"content\": \"10.1016/j.physletb.2012.08.020\"}\n{\"offset\": 17060, \"source\": \"hdl:2381/12775\", \"scheme\": \"hdl\", \"content\": \"2381/12775\"}\n{\"offset\": 18819, \"source\": \"urn:isbn:0451450523\", \"scheme\": \"isbn\", \"content\": \"0451450523\"}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadavev%2Ftxt2pid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatadavev%2Ftxt2pid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadavev%2Ftxt2pid/lists"}