Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artifact Manager support #303

Merged
merged 4 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading