Skip to content

[v0.0.6] Add HTTP/HTTPS proxy support for enterprise environments - #10

Merged
LeonardNoh merged 2 commits into
voidbox-ai:mainfrom
LeonardNoh:main
Nov 14, 2025
Merged

[v0.0.6] Add HTTP/HTTPS proxy support for enterprise environments#10
LeonardNoh merged 2 commits into
voidbox-ai:mainfrom
LeonardNoh:main

Conversation

@LeonardNoh

Copy link
Copy Markdown
Contributor

Summary

Adds HTTP/HTTPS proxy support to all pyaps clients (AuthClient, DataManagementClient, AutomationClient) for enterprise environments that require proxy configuration.

Changes

Core Features

  • HTTPClient proxy support (src/pyaps/http/client.py)

    • Added proxies parameter for explicit proxy configuration
    • Added trust_env parameter for environment variable support (HTTP_PROXY, HTTPS_PROXY)
    • Supports authenticated proxies (username/password)
  • All clients updated to support proxy parameters:

    • AuthClient (src/pyaps/auth/client.py)
    • DataManagementClient (src/pyaps/datamanagement/client.py)
    • AutomationClient (src/pyaps/automation/client.py)

Documentation & Examples

  • Comprehensive proxy examples (src/pyaps/http/proxy_example.py)

    • 6 different usage patterns with detailed explanations
    • Best practices and troubleshooting guide
    • Security considerations
  • README updated (README.md)

    • Added proxy configuration section with code examples
    • Updated version to 0.0.6
    • Added version history entry

Package

Usage Example

# Explicit proxy configuration
client = AuthClient(
    client_id="...",
    client_secret="...",
    proxies={
        'http': 'http://proxy.company.com:8080',
        'https': 'https://proxy.company.com:8080'
    }
)

# Or use environment variables
client = AuthClient(
    client_id="...",
    client_secret="...",
    trust_env=True  # Default - reads HTTP_PROXY, HTTPS_PROXY
)

@LeonardNoh
LeonardNoh merged commit f5a625f into voidbox-ai:main Nov 14, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant