{"id":23473078,"url":"https://github.com/caltechlibrary/manage_dois","last_synced_at":"2025-04-13T05:50:05.230Z","repository":{"id":111429272,"uuid":"134312199","full_name":"caltechlibrary/manage_dois","owner":"caltechlibrary","description":"Scripts for managing custom DOIs","archived":false,"fork":false,"pushed_at":"2022-10-19T22:34:35.000Z","size":67,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-13T05:50:01.927Z","etag":null,"topics":["datacite","doi"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caltechlibrary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json","zenodo":null}},"created_at":"2018-05-21T18:56:59.000Z","updated_at":"2022-10-19T22:34:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e0678ba-ee2b-4637-9ab7-2162a9151675","html_url":"https://github.com/caltechlibrary/manage_dois","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/caltechlibrary%2Fmanage_dois","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caltechlibrary%2Fmanage_dois/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caltechlibrary%2Fmanage_dois/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caltechlibrary%2Fmanage_dois/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caltechlibrary","download_url":"https://codeload.github.com/caltechlibrary/manage_dois/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670501,"owners_count":21142901,"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":["datacite","doi"],"created_at":"2024-12-24T17:15:08.669Z","updated_at":"2025-04-13T05:50:05.189Z","avatar_url":"https://github.com/caltechlibrary.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# manage_dois\n\nScripts to manage custom DOIs\n\nRequires: \n\nPython 3 (Recommended via [Anaconda](https://www.anaconda.com/download)) with [requests](https://pypi.python.org/pypi/requests) library and [Dataset](https://github.com/caltechlibrary/dataset).\n\nSet your DataCite password by making a file 'pw' under the directory 'data'\n\n## DOIs for Web Sites\n\n- web_doi.py - Search google sheet for archived web sites that need DOIs\n- static_content.py - Takes a CaltechDATA id and url for the web view of an\n  interactive resource stored in CaltechDATA  \n\n## TCCON New Site Release\n\n- Get a .xlsx metadata template (TCCON_Metadata_Template.xlsx) completed by the site PI.\n  Type `python tccon_doi.py template.xlsx` to generate a .json metadata file.\n  Transfer to TCCON server. Make sure the site has a web site (e.g.\n  https://tccon-wiki.caltech.edu/Sites/Hefei) and add to\n  create_readme_contents_tccon-data. Type ./run_new_site hf \n\n## Local Cool DOI Creation\n\nYou need some ruby dependencies installed. On a mac type :\n\n`sudo gem install base32-url`\n`sudo gem install securerandom`\n\nThen you can generate the DOI suffix with:\n\n`./gen-cool-doi`\n\nor in python\n\n`suffix = subprocess.check_output(['./gen-cool-doi'],universal_newlines=True)`\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaltechlibrary%2Fmanage_dois","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaltechlibrary%2Fmanage_dois","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaltechlibrary%2Fmanage_dois/lists"}