Catalog PyPI
PACKAGE EXPLORERView in registry

adspower-sdk

PyPI

A Python SDK for interacting with AdsPower API

Versions collected1
Direct dependencies1From release 0.1.8
Last observed20 Oct, 19:54 UTC

README

Version 0.1.8 documentation

AdsPower SDK

AdsPower SDK is a Python library designed to interact seamlessly with the AdsPower Local API, enabling automated management of browser profiles for tasks such as multi-account operations, web automation, and more.

Features

  • Create, start, stop, and delete browser profiles
  • Check browser status and manage sessions
  • Lease management for multi-process environments
  • Integration with Selenium WebDriver for automation

Installation

Install the package using pip:

pip install adspower-sdk
from adspower.adspowerapi import AdsPowerAPI
from adspower.adspowermanager import AdspowerProfileLeaseManager
import redis

# Initialize API client
api = AdsPowerAPI(base_url='http://local.adspower.net:50325')

# Initialize Redis client
redis_client = redis.Redis(host='localhost', port=6379, db=0)

# Manage browser profile lease
with AdspowerProfileLeaseManager(api, redis_client) as driver:
    # Perform automated tasks using Selenium WebDriver
    driver.get('https://www.example.com')
    # ...

Project Structure

adspower-sdk/
├── adspower/
│   ├── __init__.py
│   ├── adspowerapi.py
│   └── adspowermanager.py
├── tests/
│   └── test_adspower.py
├── setup.py
├── README.md
└── LICENSE

License

This project is licensed under the MIT License. See the LICENSE file for details.

Feel free to customize this template further to suit the specific details and requirements of your project.

ProfilePool

是一个基于多进程的,在每个进程中是单例模式而已。

profile

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.87 Jun 20251

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
liweilijie/adspower-sdk

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:54 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:d0515c7eec17856906e6e15d61b853d33d07bb9e1de29d16808e91c91f8a7301