From 7f7007b1b321417edd8605aa372098b706f4b41e Mon Sep 17 00:00:00 2001
From: vuillaut <thomas.vuillaume@gmail.com>
Date: Sun, 26 Sep 2021 11:53:19 +0200
Subject: [PATCH] rerun demo

---
 examples/notebooks/ossr_api.ipynb | 30 +++++++++++-------------------
 1 file changed, 11 insertions(+), 19 deletions(-)

diff --git a/examples/notebooks/ossr_api.ipynb b/examples/notebooks/ossr_api.ipynb
index 0d86344f..bd379b11 100644
--- a/examples/notebooks/ossr_api.ipynb
+++ b/examples/notebooks/ossr_api.ipynb
@@ -45,7 +45,7 @@
     {
      "data": {
       "text/plain": [
-       "15"
+       "16"
       ]
      },
      "execution_count": 3,
@@ -85,7 +85,7 @@
      "name": "stdout",
      "output_type": "stream",
      "text": [
-      "Record #5176089 : EOSC Symposium 2021 Report\n"
+      "Record #5524913 : eossr\n"
      ]
     }
    ],
@@ -102,7 +102,7 @@
     {
      "data": {
       "text/plain": [
-       "Record({'conceptdoi': '10.5281/zenodo.5176088', 'conceptrecid': '5176088', 'created': '2021-08-16T07:21:15.005975+00:00', 'doi': '10.5281/zenodo.5176089', 'files': [{'bucket': '409f3f8e-cb73-4a10-b718-3b8fc238a616', 'checksum': 'md5:eab8fbaa4c318cbd75629eb6a7719ecb', 'key': 'EOSC_SYMPOSIUM_2021_Report.pdf', 'links': {'self': 'https://zenodo.org/api/files/409f3f8e-cb73-4a10-b718-3b8fc238a616/EOSC_SYMPOSIUM_2021_Report.pdf'}, 'size': 1654918, 'type': 'pdf'}], 'id': 5176089, 'links': {'badge': 'https://zenodo.org/badge/doi/10.5281/zenodo.5176089.svg', 'bucket': 'https://zenodo.org/api/files/409f3f8e-cb73-4a10-b718-3b8fc238a616', 'conceptbadge': 'https://zenodo.org/badge/doi/10.5281/zenodo.5176088.svg', 'conceptdoi': 'https://doi.org/10.5281/zenodo.5176088', 'doi': 'https://doi.org/10.5281/zenodo.5176089', 'html': 'https://zenodo.org/record/5176089', 'latest': 'https://zenodo.org/api/records/5176089', 'latest_html': 'https://zenodo.org/record/5176089', 'self': 'https://zenodo.org/api/records/5176089'}, 'metadata': {'access_right': 'open', 'access_right_category': 'success', 'communities': [{'id': 'envri'}, {'id': 'eosc_synergy'}, {'id': 'eoscsecretariat'}, {'id': 'escape2020'}, {'id': 'expands'}, {'id': 'ni4os-europe'}, {'id': 'sshoc'}], 'contributors': [{'affiliation': 'Trust-IT Services', 'name': 'Ferguson, Nicholas', 'orcid': '0000-0001-5523-6430', 'type': 'WorkPackageLeader'}], 'creators': [{'affiliation': 'Technopolis Group Belgium', 'name': 'Bertacchini, Veronica'}, {'affiliation': 'Trust-IT Services', 'name': 'Drago, Federico', 'orcid': '0000-0002-1333-4478'}, {'affiliation': 'TU Wien', 'name': 'Flicker, Katharina', 'orcid': '0000-0001-6040-2798'}, {'affiliation': 'KIT', 'name': 'Gebreyesus, Netsanet'}, {'affiliation': 'GÉANT', 'name': 'Grant, Annabel'}, {'affiliation': 'CERN', 'name': 'Jones, Bob', 'orcid': '0000-0001-9092-4589'}, {'affiliation': 'CSC-IT Center for Science', 'name': 'Liinamaa, Iiris'}, {'affiliation': 'CSC-IT Center for Science', 'name': 'Märkälä, Anu'}, {'affiliation': 'Athena Research Center', 'name': 'Marinos-Kouris, Christos'}, {'affiliation': 'GO FAIR Foundation', 'name': 'Meerman, Bert', 'orcid': '0000-0002-0071-2660'}, {'affiliation': 'TU Wien', 'name': 'Saurugger, Bernd', 'orcid': '0000-0001-5730-3983'}, {'affiliation': 'Trust-IT Services', 'name': 'Smith, Zachary', 'orcid': '0000-0002-9984-008X'}], 'description': '<p>The EOSC Symposium 2021 provided a key engagement opportunity for the EOSC community after the European Open Science Cloud finally entered its highly-anticipated implementation phase in 2021. Delivered online to just under 1,000 EOSC stakeholders from over 63 different countries, this was not only the largest EOSC Symposium yet, but it was also an essential opportunity for convergence and alignment on principles and priorities.</p>\\n\\n<p>The EOSC Association will play an important role in this phase. With already over 210 member and observer organisations from across Europe, the Association represents a single voice for the advocacy and representation of the broader EOSC Stakeholder community in Europe, promoting alignment of EU research policy and priorities.</p>\\n\\n<p>The Association will continuously develop the EOSC Strategic Research and Innovation Agenda (SRIA) which will influence future EOSC activities at institutional, national and EU level (including the EOSC-related work programmes in Horizon Europe). This living document will adapt to the changing EOSC ecosystem and the needs of EOSC stakeholders. The Association is setting up a series of Advisory Groups (AG) with Task Forces (TF) to engage with the EOSC community around priority areas, namely:</p>\\n\\n<ul>\\n\\t<li>Implementation of EOSC</li>\\n\\t<li>Metadata and Data Quality</li>\\n\\t<li>Research Careers and Curricula</li>\\n\\t<li>Sustaining&nbsp;EOSC</li>\\n\\t<li>Technical Challenges on EOSC</li>\\n</ul>\\n\\n<p>The Symposium was the first opportunity for the Association to present the draft charters of the Task Forces. A key objective of the event was also for the Association to understand what work has been carried out, is in progress, or is planned on the topics of the AGs and TFs. A call for contributions ran throughout May 2021, with a total of 137 applications received. Through presentations, lightning talks, and panels, over 70 community members were able to highlight key findings and recommendations for the AGs and TFs to take into consideration for their work.</p>', 'doi': '10.5281/zenodo.5176089', 'grants': [{'acronym': 'EOSCsecretariat.eu', 'code': '831644', 'funder': {'acronyms': [], 'doi': '10.13039/501100000780', 'links': {'self': 'https://zenodo.org/api/funders/10.13039/501100000780'}, 'name': 'European Commission'}, 'links': {'self': 'https://zenodo.org/api/grants/10.13039/501100000780::831644'}, 'program': 'H2020', 'title': 'EOSCsecretariat.eu'}], 'keywords': ['EOSC', 'Open Science', 'Horizon Europe', 'Interoperability'], 'language': 'eng', 'license': {'id': 'CC-BY-4.0'}, 'publication_date': '2021-08-10', 'related_identifiers': [{'identifier': '10.5281/zenodo.5176088', 'relation': 'isVersionOf', 'scheme': 'doi'}], 'relations': {'version': [{'count': 1, 'index': 0, 'is_last': True, 'last_child': {'pid_type': 'recid', 'pid_value': '5176089'}, 'parent': {'pid_type': 'recid', 'pid_value': '5176088'}}]}, 'resource_type': {'subtype': 'report', 'title': 'Report', 'type': 'publication'}, 'title': 'EOSC Symposium 2021 Report'}, 'owners': [91736], 'revision': 9, 'stats': {'downloads': 482.0, 'unique_downloads': 414.0, 'unique_views': 517.0, 'version_downloads': 482.0, 'version_unique_downloads': 414.0, 'version_unique_views': 517.0, 'version_views': 540.0, 'version_volume': 797670476.0, 'views': 540.0, 'volume': 797670476.0}, 'updated': '2021-09-15T10:47:47.359003+00:00'})"
+       "Record({'conceptdoi': '10.5281/zenodo.5524912', 'conceptrecid': '5524912', 'created': '2021-09-23T15:03:51.644210+00:00', 'doi': '10.5281/zenodo.5524913', 'files': [{'bucket': '165e5f9a-17bc-4792-bd04-b01cef8b9fc7', 'checksum': 'md5:20d7ce7abc06541bed2655f19edfb956', 'key': 'codemeta.json', 'links': {'self': 'https://zenodo.org/api/files/165e5f9a-17bc-4792-bd04-b01cef8b9fc7/codemeta.json'}, 'size': 3271, 'type': 'json'}, {'bucket': '165e5f9a-17bc-4792-bd04-b01cef8b9fc7', 'checksum': 'md5:33489eacd42433ffdb66da2972b3e900', 'key': 'Docker_v0.2.tar', 'links': {'self': 'https://zenodo.org/api/files/165e5f9a-17bc-4792-bd04-b01cef8b9fc7/Docker_v0.2.tar'}, 'size': 3085572608, 'type': 'tar'}, {'bucket': '165e5f9a-17bc-4792-bd04-b01cef8b9fc7', 'checksum': 'md5:ef70d30cd1d548e1ba8ebd71679cbbb8', 'key': 'eossr-v0.2.zip', 'links': {'self': 'https://zenodo.org/api/files/165e5f9a-17bc-4792-bd04-b01cef8b9fc7/eossr-v0.2.zip'}, 'size': 60988, 'type': 'zip'}], 'id': 5524913, 'links': {'badge': 'https://zenodo.org/badge/doi/10.5281/zenodo.5524913.svg', 'bucket': 'https://zenodo.org/api/files/165e5f9a-17bc-4792-bd04-b01cef8b9fc7', 'conceptbadge': 'https://zenodo.org/badge/doi/10.5281/zenodo.5524912.svg', 'conceptdoi': 'https://doi.org/10.5281/zenodo.5524912', 'doi': 'https://doi.org/10.5281/zenodo.5524913', 'html': 'https://zenodo.org/record/5524913', 'latest': 'https://zenodo.org/api/records/5524913', 'latest_html': 'https://zenodo.org/record/5524913', 'self': 'https://zenodo.org/api/records/5524913'}, 'metadata': {'access_right': 'open', 'access_right_category': 'success', 'communities': [{'id': 'escape2020'}], 'creators': [{'affiliation': 'LAPP, CNRS', 'name': 'Vuillaume, Thomas', 'orcid': '0000-0002-5686-2078'}, {'affiliation': 'LAPP, CNRS', 'name': 'Garcia, Enrique', 'orcid': '0000-0003-2224-4594'}, {'affiliation': 'GSI', 'name': 'Tacke, Christian', 'orcid': '0000-0002-5321-8404'}, {'affiliation': 'ECAP, FAU (Nuremberg, Germany)', 'name': 'Gál, Tamás', 'orcid': '0000-0001-7821-8673'}], 'description': '<p>ESCAPE OSSR library</p>\\n\\n<ul>\\n\\t<li>Code: <a href=\"https://gitlab.in2p3.fr/escape2020/wp3/eossr\">https://gitlab.in2p3.fr/escape2020/wp3/eossr</a></li>\\n\\t<li>Documentation: <a href=\"https://escape2020.pages.in2p3.fr/wp3/eossr/\">https://escape2020.pages.in2p3.fr/wp3/eossr/</a></li>\\n</ul>', 'doi': '10.5281/zenodo.5524913', 'grants': [{'acronym': 'ESCAPE', 'code': '824064', 'funder': {'acronyms': [], 'doi': '10.13039/501100000780', 'links': {'self': 'https://zenodo.org/api/funders/10.13039/501100000780'}, 'name': 'European Commission'}, 'links': {'self': 'https://zenodo.org/api/grants/10.13039/501100000780::824064'}, 'program': 'H2020', 'title': 'European Science Cluster of Astronomy & Particle physics ESFRI research infrastructures'}], 'keywords': ['jupyter-notebook'], 'language': 'eng', 'license': {'id': 'MIT'}, 'notes': \"Release Notes:\\nThis major release of the eossr introduces 3 pillars that allow the user to interact easily with the ESCAPE OSSR:\\n\\n\\n- **API** module: introduces an API to communicate with the OSSR built on Zenodo's API:\\n   - fetch OSSR records\\n   - get records metadata\\n   - upload a new record\\n   - update an existing record\\n\\n\\n- **metadata** module:\\n   - implement the official metadata schema for the OSSR based on codemeta schema\\n   - method to translate codemeta metadata into zenodo metadata\\n\\n- **continuous integration**: collection of methods and snippets to allow users to use the gitlab CI to: \\n   - make a new record in the OSSR\\n   - update an existing record in the OSSR\\n   - build a Docker container / image\\n   - build a Singularity container / image\\n   - add containers to the gitlab registry\\n   - add images to your OSSR upload\", 'publication_date': '2021-09-23', 'related_identifiers': [{'identifier': 'https://gitlab.in2p3.fr/escape2020/wp3/eossr', 'relation': 'isSupplementTo', 'resource_type': 'software', 'scheme': 'url'}, {'identifier': '10.5281/zenodo.5524912', 'relation': 'isVersionOf', 'scheme': 'doi'}], 'relations': {'version': [{'count': 1, 'index': 0, 'is_last': True, 'last_child': {'pid_type': 'recid', 'pid_value': '5524913'}, 'parent': {'pid_type': 'recid', 'pid_value': '5524912'}}]}, 'resource_type': {'title': 'Software', 'type': 'software'}, 'title': 'eossr', 'version': 'v0.2'}, 'owners': [37616], 'revision': 4, 'stats': {'downloads': 11.0, 'unique_downloads': 6.0, 'unique_views': 3.0, 'version_downloads': 11.0, 'version_unique_downloads': 6.0, 'version_unique_views': 3.0, 'version_views': 5.0, 'version_volume': 3085720752.0, 'views': 5.0, 'volume': 3085720752.0}, 'updated': '2021-09-24T13:48:31.042154+00:00'})"
       ]
      },
      "execution_count": 6,
@@ -140,27 +140,18 @@
      "name": "stdout",
      "output_type": "stream",
      "text": [
-      "=== Record #5176089 ===\n",
-      "Title: EOSC Symposium 2021 Report ===\n",
-      "DOI: 10.5281/zenodo.5176089\n",
-      "URL: https://zenodo.org/record/5176089\n",
+      "=== Record #5524913 ===\n",
+      "Title: eossr ===\n",
+      "DOI: 10.5281/zenodo.5524913\n",
+      "URL: https://zenodo.org/record/5524913\n",
       "Description:\n",
-      "<p>The EOSC Symposium 2021 provided a key engagement opportunity for the EOSC community after the European Open Science Cloud finally entered its highly-anticipated implementation phase in 2021. Delivered online to just under 1,000 EOSC stakeholders from over 63 different countries, this was not only the largest EOSC Symposium yet, but it was also an essential opportunity for convergence and alignment on principles and priorities.</p>\n",
-      "\n",
-      "<p>The EOSC Association will play an important role in this phase. With already over 210 member and observer organisations from across Europe, the Association represents a single voice for the advocacy and representation of the broader EOSC Stakeholder community in Europe, promoting alignment of EU research policy and priorities.</p>\n",
-      "\n",
-      "<p>The Association will continuously develop the EOSC Strategic Research and Innovation Agenda (SRIA) which will influence future EOSC activities at institutional, national and EU level (including the EOSC-related work programmes in Horizon Europe). This living document will adapt to the changing EOSC ecosystem and the needs of EOSC stakeholders. The Association is setting up a series of Advisory Groups (AG) with Task Forces (TF) to engage with the EOSC community around priority areas, namely:</p>\n",
+      "<p>ESCAPE OSSR library</p>\n",
       "\n",
       "<ul>\n",
-      "\t<li>Implementation of EOSC</li>\n",
-      "\t<li>Metadata and Data Quality</li>\n",
-      "\t<li>Research Careers and Curricula</li>\n",
-      "\t<li>Sustaining&nbsp;EOSC</li>\n",
-      "\t<li>Technical Challenges on EOSC</li>\n",
+      "\t<li>Code: <a href=\"https://gitlab.in2p3.fr/escape2020/wp3/eossr\">https://gitlab.in2p3.fr/escape2020/wp3/eossr</a></li>\n",
+      "\t<li>Documentation: <a href=\"https://escape2020.pages.in2p3.fr/wp3/eossr/\">https://escape2020.pages.in2p3.fr/wp3/eossr/</a></li>\n",
       "</ul>\n",
       "\n",
-      "<p>The Symposium was the first opportunity for the Association to present the draft charters of the Task Forces. A key objective of the event was also for the Association to understand what work has been carried out, is in progress, or is planned on the topics of the AGs and TFs. A call for contributions ran throughout May 2021, with a total of 137 applications received. Through presentations, lightning talks, and panels, over 70 community members were able to highlight key findings and recommendations for the AGs and TFs to take into consideration for their work.</p>\n",
-      "\n",
       "\n"
      ]
     }
@@ -216,6 +207,7 @@
       "Record #3743489 : ESCAPE the maze\n",
       "Record #4923992 : ESCAPE template project\n",
       "Record #5093909 : ESCAPE Data Science Summer School 2021\n",
+      "Record #5524913 : eossr\n",
       "Record #4044010 : EOSC - a tool for enabling Open Science in Europe\n"
      ]
     }
-- 
GitLab