Skip to main content

Universal vendor connectors with transparent secret management, including Meshy AI for 3D assets

Project description

Vendor Connectors

Universal vendor connectors for the jbcom ecosystem, providing standardized access to cloud providers, third-party services, and AI APIs.

Features

  • AWS Connector: Boto3-based client with role assumption and retry logic
  • Google Cloud Connector: Workspace and Cloud Platform APIs with lazy credential loading
  • GitHub Connector: Repository management, GraphQL queries, and file operations
  • Slack Connector: Bot and app integrations with rate limiting
  • Vault Connector: HashiCorp Vault with Token and AppRole auth
  • Zoom Connector: Meeting and user management
  • Meshy Connector: Meshy AI 3D asset generation (text-to-3D, rigging, animation, retexture)
  • VendorConnectors: Cached public API with get_*_client() getters

Installation

pip install vendor-connectors

Optional Extras

# For Meshy webhooks
pip install vendor-connectors[webhooks]

# For CrewAI agent integration
pip install vendor-connectors[crewai]

# For MCP server integration  
pip install vendor-connectors[mcp]

# For Meshy vector store/RAG
pip install vendor-connectors[vector]

# Everything
pip install vendor-connectors[all]

Usage

Using VendorConnectors (Recommended)

The VendorConnectors class provides cached access to all connectors:

from vendor_connectors import VendorConnectors

# Initialize once - reads credentials from environment
vc = VendorConnectors()

# Get cached clients
slack = vc.get_slack_client()
github = vc.get_github_client(github_owner="myorg")
s3 = vc.get_aws_client("s3")
vault = vc.get_vault_client()

Using Individual Connectors

from vendor_connectors import AWSConnector, GithubConnector, SlackConnector

# AWS with role assumption
aws = AWSConnector(execution_role_arn="arn:aws:iam::123456789012:role/MyRole")
s3 = aws.get_aws_client("s3")

# GitHub operations
github = GithubConnector(
    github_owner="myorg",
    github_repo="myrepo",
    github_token=os.getenv("GITHUB_TOKEN")
)

# Slack messaging
slack = SlackConnector(
    token=os.getenv("SLACK_TOKEN"),
    bot_token=os.getenv("SLACK_BOT_TOKEN")
)
slack.send_message("general", "Hello from vendor-connectors!")

Meshy AI (3D Asset Generation)

from vendor_connectors import meshy

# Generate a 3D model
model = meshy.text3d.generate("a medieval sword with ornate handle")
print(model.model_urls.glb)

# Rig it for animation
rigged = meshy.rigging.rig(model.id)

# Apply an animation (678 available)
animated = meshy.animate.apply(rigged.id, animation_id=0)  # Idle

# Or retexture it
gold = meshy.retexture.apply(model.id, "golden with embedded gems")

Architecture

All connectors extend DirectedInputsClass from the jbcom ecosystem:

  • directed-inputs-class: Input handling from environment, stdin, config
  • lifecyclelogging: Structured logging with verbosity control
  • extended-data-types: Utilities like is_nothing, strtobool, wrap_raw_data_for_export

The VendorConnectors class provides:

  • Client caching (same parameters = same instance)
  • Automatic credential loading from environment
  • Consistent interface across all providers

Environment Variables

Variable Description
AWS_* Standard AWS credentials
EXECUTION_ROLE_ARN AWS role to assume
GITHUB_TOKEN GitHub personal access token
GITHUB_OWNER GitHub organization/user
GOOGLE_SERVICE_ACCOUNT Google service account JSON
SLACK_TOKEN Slack user token
SLACK_BOT_TOKEN Slack bot token
VAULT_ADDR Vault server URL
VAULT_TOKEN Vault authentication token
VAULT_ROLE_ID / VAULT_SECRET_ID AppRole credentials
ZOOM_CLIENT_ID / ZOOM_CLIENT_SECRET / ZOOM_ACCOUNT_ID Zoom OAuth
MESHY_API_KEY Meshy AI API key

Part of jbcom Ecosystem

This package is part of the jbcom Python library ecosystem:

Project details


Download files

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

Source Distribution

vendor_connectors-0.1.1.tar.gz (131.0 kB view details)

Uploaded Source

Built Distribution

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

vendor_connectors-0.1.1-py3-none-any.whl (123.6 kB view details)

Uploaded Python 3

File details

Details for the file vendor_connectors-0.1.1.tar.gz.

File metadata

  • Download URL: vendor_connectors-0.1.1.tar.gz
  • Upload date:
  • Size: 131.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vendor_connectors-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cafb6795c9b6aeb803a2959feb02f8f925b891ec4c3d9c0f694dda16d779b7e1
MD5 5bd0643333aab1d03c81d525a4981f35
BLAKE2b-256 d7abb72f66912d695b0c87572c47b065e034fdb8d9c36c84d6e63c90b9aac388

See more details on using hashes here.

File details

Details for the file vendor_connectors-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for vendor_connectors-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c2e2942463abe954c4e5c779ddd4de3fbaee4011f18430199ec306337604df9
MD5 ee8cfdbd33d3fd66e389702cd529b45a
BLAKE2b-256 1824d84fd4317290cabe7829e61c18d8f404960b935ddbf90a59035fafc91df1

See more details on using hashes here.

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