FABRIC Python Client Library and CLI Extensions
Project description
fabrictestbed-extensions
This is the implementation of a Python library, otherwise known as "FABlib", for intereacting with FABRIC testbed.
Your first encounter with FABlib might be through FABRIC project's JupyterHub instance, where FABlib is pre-installed for you. You will be presented with many examples of interacting with FABRIC testbed and FABlib usage when you log in there. Those notebook sources can be found on GitHub as well.
If you want to interact with FABRIC from Jupyter or a Python project on your local development environment, that is possible too. See Install the FABRIC Python API and the notes below for details.
FABlib API docs can be found here. If you have questions about FABRIC or FABlib usage, please ask them in FABRIC forums.
Installing FABlib
You can install released versions of FABlib from PyPI:
$ pip install fabrictestbed-extensions
If you need the current development version of FABlib, install it from the git repository:
$ pip install git+https://github.com/fabric-testbed/fabrictestbed-extensions@main
Note that installing FABlib using either methods will also install a number of dependencies, so you might want to install FABlib in a virtual environment. Your favorite tool for managing virtual environments (venv, virtualenv, or virtualenvwrapper) should work. FABRIC team tends to favor virtualenvwrapper.
Using FABlib
Once installed, you can use FABlib in your Python projects:
from fabrictestbed_extensions.fablib.fablib import FablibManager as fablib_manager
try:
fablib = fablib_manager()
fablib.show_config()
except Exception as e:
print(f"Exception: {e}")
Please note that some configuration is required for this to work.
Contributing to FABlib
We welcome contributions in the form of bug reports, feature requests, code patches, documentation updates, etc. If you have ideas that can help FABlib, please review the guidelines first.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fabrictestbed-extensions-1.6.3b0.tar.gz
.
File metadata
- Download URL: fabrictestbed-extensions-1.6.3b0.tar.gz
- Upload date:
- Size: 401.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a455e1ffafc96a20d34efe19306385f1679356b46b761a8b4e626d4a486e47c |
|
MD5 | 2bc1026367ec4c196d6ce8bb7987ca20 |
|
BLAKE2b-256 | cc737ab65ffdf8153b92506f92929e854c6c393ec89b2b1da2023e1d32850c04 |
File details
Details for the file fabrictestbed_extensions-1.6.3b0-py3-none-any.whl
.
File metadata
- Download URL: fabrictestbed_extensions-1.6.3b0-py3-none-any.whl
- Upload date:
- Size: 381.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 716c10e53b1ba9347527f05f9d2ba247e8f53d5be44e4c46ca88653b847e4738 |
|
MD5 | 44065160eb407ee845d9297754a7d556 |
|
BLAKE2b-256 | 6ed2d8de7493bb707157a765cf019bf3e8f047cc67dc1b0fb02f9be8a89dd4c1 |