LogoLexmount Docs
LogoLexmount Docs
Homepage

Introduction

How to UseOpenClaw Integration with LexmountCodex Skill Integration with Lexmount
X (Twitter)

Python SDK

Import-ready Lexmount Python SDK documentation for Lex Home.

Lexmount Python SDK is the Python entry point for creating remote browser sessions, managing persistent contexts, uploading extensions, and retrieving session downloads.

Features

  • ๐Ÿš€ Easy to Use: Simple and intuitive API design
  • ๐Ÿ”’ Type-Safe: Complete type hints for better IDE support
  • ๐Ÿ“ Well Documented: Comprehensive docstrings and examples
  • ๐Ÿ›ก๏ธ Production Ready: Error handling, logging, and retry support
  • ๐Ÿ“Š Session Management: Create, list, and delete browser sessions
  • ๐Ÿ“ฅ Session Downloads: List, fetch, archive, and clear session downloads
  • ๐Ÿ” Advanced Querying: Pagination support and status filtering

Installation

pip install lexmount

Requirements:

  • Python 3.8+
  • httpx >= 0.23.0
  • python-dotenv >= 0.19.0
  • playwright (optional, for browser automation)

Runtime Configuration

Environment Variables

export LEXMOUNT_API_KEY="your-api-key"
export LEXMOUNT_PROJECT_ID="your-project-id"
export LEXMOUNT_BASE_URL="https://api.lexmount.com"  # Optional

Or use a .env file:

LEXMOUNT_API_KEY=your-api-key
LEXMOUNT_PROJECT_ID=your-project-id

What To Read Next

  • Quick Start for setup and first connection.
  • Capabilities for sessions, contexts, extensions, and downloads.
  • Examples for quickstart scripts and API reference entry points.

Table of Contents

Features
Installation
Runtime Configuration
Environment Variables
What To Read Next