Skip to main content

FABRIC Python Client Library and CLI Extensions

Project description

fabrictestbed-extensions

pypi-badge api-docs-badge

This is the implementation of a Python library, otherwise known as "FABlib", for interacting 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.

NOTE: This package has been tested and verified to work with Python versions 3.9 through 3.13.

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

This version

1.9.6

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fabrictestbed_extensions-1.9.6.tar.gz (458.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fabrictestbed_extensions-1.9.6-py3-none-any.whl (439.0 kB view details)

Uploaded Python 3

File details

Details for the file fabrictestbed_extensions-1.9.6.tar.gz.

File metadata

  • Download URL: fabrictestbed_extensions-1.9.6.tar.gz
  • Upload date:
  • Size: 458.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fabrictestbed_extensions-1.9.6.tar.gz
Algorithm Hash digest
SHA256 bb0462d07247513993f9f38f30ec0c13ccafbe45d3b85c1bdc47d559362bfcf5
MD5 122fb4b0356b2fbe5bef79ee9c53e06d
BLAKE2b-256 a8fee60b441011df36b45381dc8b2939585c32a6c52dd42e130e3f058919f6e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for fabrictestbed_extensions-1.9.6.tar.gz:

Publisher: publish.yml on fabric-testbed/fabrictestbed-extensions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fabrictestbed_extensions-1.9.6-py3-none-any.whl.

File metadata

File hashes

Hashes for fabrictestbed_extensions-1.9.6-py3-none-any.whl
Algorithm Hash digest
SHA256 252065427188ba93d46f16d82f89d12aa2d9ae6efe1639d9b4e1b72fb1fd41bf
MD5 4786030fecef9516f4aac42793b3fbf7
BLAKE2b-256 8c14a6f5aad09b9d2d9cb528d5baec4a31fd2c179e0b03dd618322122c067b55

See more details on using hashes here.

Provenance

The following attestation bundles were made for fabrictestbed_extensions-1.9.6-py3-none-any.whl:

Publisher: publish.yml on fabric-testbed/fabrictestbed-extensions

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page