Registry / data / memfabric-hybrid

memfabric-hybrid

JSON →
library1.1.1pypypi✓ verified 83d ago

The `memfabric-hybrid` library provides a Python API client for interacting with the Memfabric Hybrid data platform. It simplifies operations like endpoint management and data access within a hybrid cloud environment. The current version is 1.0.8, with releases appearing to be made as features are developed or bugs are fixed, indicating an active development status.

pip install memfabric-hybrid
INSTALL
IMPORT
SIG · MEMFABRIC-HYBRID
M
memfabric-hybrid
datapythonv1.1.1
Install
2.3s avg
Import
Disk
29MB
Pass rate
4/ 10
Env Coverage4 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.1.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✓ 2.2s
py 3.11
✕ build_error
✓ 2.25s
py 3.12
✕ build_error
✓ 2.6s
py 3.13
✕ build_error
✓ 2.05s
py 3.9
✕ build_error
✕ build_error
29MB installed
● package 29MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TransferEngine
from memfabric_hybrid import TransferEngine
from memfabric_hybrid.client import MemfabricClient
create_config_store
from memfabric_hybrid import create_config_store
from memfabric_hybrid.client import MemfabricClient
initialize
from memfabric_hybrid import initialize
from memfabric_hybrid.client import MemfabricClient

This quickstart initializes the `MemfabricClient` which relies on `MEMFABRIC_API_KEY` and `MEMFABRIC_API_URL` environment variables for configuration. It then demonstrates fetching available endpoints. Remember to set your environment variables before running.

import os from memfabric_hybrid.client import MemfabricClient from memfabric_hybrid.exceptions import AuthError, APIError # Configure API credentials and URL using environment variables # For example: # export MEMFABRIC_API_KEY="your_api_key_here" # export MEMFABRIC_API_URL="https://api.memfabric.com" # Ensure environment variables are set for a successful connection api_key = os.environ.get('MEMFABRIC_API_KEY', '') api_url = os.environ.get('MEMFABRIC_API_URL', '') if not api_key or not api_url: print("Warning: MEMFABRIC_API_KEY and MEMFABRIC_API_URL environment variables are not set.") print("Please set them to run this example successfully.") else: try: client = MemfabricClient() print("MemfabricClient initialized successfully.") # Example: List available endpoints endpoints = client.get_endpoints() print(f"Available endpoints: {endpoints}") except AuthError as e: print(f"Authentication error: {e}. Check your API key.") except APIError as e: print(f"Memfabric API error: {e}") except Exception as e: print(f"An unexpected error occurred: {e}")
Debug
Known issues
gotchaThe `MemfabricClient` relies heavily on environment variables (`MEMFABRIC_API_KEY`, `MEMFABRIC_API_URL`) for configuration. If these are not set or are incorrect, the client will fail to authenticate or connect.
fix
Always ensure `MEMFABRIC_API_KEY` and `MEMFABRIC_API_URL` are correctly set in your environment before initializing `MemfabricClient` or explicitly pass them during initialization if supported (check documentation).
affects: All versions
gotchaDirect network connectivity to the Memfabric API endpoint is crucial. Connection issues, firewalls, or incorrect `MEMFABRIC_API_URL` can lead to `requests.exceptions.ConnectionError`.
fix
Verify your internet connection, firewall settings, and ensure the `MEMFABRIC_API_URL` is correct and reachable from your environment. Use `ping` or `curl` to test connectivity to the API endpoint if troubleshooting.
affects: All versions
gotchaAPI operations can raise specific exceptions like `AuthError` (for authentication failures) or `APIError` (for general API-side errors). Generic `Exception` catching might hide specific issues.
fix
Implement specific exception handling for `memfabric_hybrid.exceptions.AuthError` and `memfabric_hybrid.exceptions.APIError` to provide more informative error messages and recovery logic, as shown in the quickstart.
affects: All versions
Upgrade
Version history
1.1.1latest on PyPI · released Jun 3, 2026
Audit
Dependencies
requestsrequiredUsed for making HTTP requests to the Memfabric API.
pydanticrequiredUsed for data validation and settings management (e.g., client configuration).
Agent activity
25 hits · last 30 days
node
22
Resources
memfabric-hybrid — pip install memfabric-hybrid · libregistry