Skip to content

Commit

Permalink
Merge pull request #303 from fabric-testbed/ero
Browse files Browse the repository at this point in the history
Artifact Manager support
  • Loading branch information
kthare10 authored Aug 30, 2024
2 parents 389c4aa + d5641b7 commit 205cbac
Show file tree
Hide file tree
Showing 17 changed files with 613 additions and 17 deletions.
75 changes: 75 additions & 0 deletions artifact_manager.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "d95f0b2d-df12-4956-b049-19ede4d10f7e",
"metadata": {},
"source": [
"# FABRIC Artifact Manager:\n",
"\n",
"The FABRIC [Artifacts Manager](https://artifacts.fabric-testbed.net) is an invaluable tool for researchers and developers working with the FABRIC testbed. It facilitates the packaging, sharing, and reuse of complete, repeatable FABRIC experiments. By leveraging the FABRIC fablib, users can efficiently manage and interact with experimental artifacts in a streamlined, user-friendly manner. This not only ensures reproducibility but also enhances collaboration by making experiments easily accessible to others.\n",
"\n",
"## Accessing and Sharing Artifacts\n",
"Artifacts managed through the FABRIC Artifacts Manager can be easily accessed by anyone with the appropriate permissions. Whether you're looking to share your experiment with collaborators or make your work publicly available, the Artifact Manager simplifies this process.\n",
"\n",
"- **Public Artifacts**: Any user can read and download public artifacts directly from the Artifact Manager website or via the user interface generated by `ArtifactManagerUI`.\n",
"\n",
"- **Project-Specific Artifacts**: Artifacts that are tied to specific projects can also be accessed by project members, ensuring that all collaborators have easy access to the data and resources they need.\n",
"\n",
"This setup ensures that your experiments are not only repeatable but also sharable, fostering collaboration and innovation within the research community.\n"
]
},
{
"cell_type": "markdown",
"id": "9cb8171b-6b07-4d82-98fb-4d397602995a",
"metadata": {},
"source": [
"## Code Example\n",
"The following Python code demonstrates how to utilize the **FABRIC fablib** and `ArtifactManagerUI` to manage experimental artifacts. This example provides a foundation for interacting with and managing these artifacts directly through a user interface in the Jupyter Hub Environment."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "7375a04e-91bf-4c03-8093-f9b3d2de8900",
"metadata": {},
"outputs": [],
"source": [
"from fabrictestbed_extensions.fablib.fablib import FablibManager\n",
"from fabrictestbed_extensions.ui.artifact_manager_ui import ArtifactManagerUI\n",
"\n",
"artifact_manager_ui = ArtifactManagerUI(fablib=FablibManager())\n",
"artifact_manager_ui.create_ui()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "65cf8499-ecb7-49a0-95f2-ee9b552d05b5",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.8"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
Loading

0 comments on commit 205cbac

Please sign in to comment.