Catalog PyPI
Back to packageRELEASE DETAILS

0.1.8

PyPI

adspower-sdk

A Python SDK for interacting with AdsPower API

Published7 Jun 2025
Direct dependencies1
Transitive dependenciesNot calculated

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.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
httpx
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
httpxruntime

Distribution files

2 collected
adspower_sdk-0.1.8-py3-none-any.whl

bdist_wheel · 20 KB · Python py3

Source file
adspower_sdk-0.1.8.tar.gz

sdist · 17.76 KB · Python source

Source file

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_version:40a0de67e5c981e42111be3e96730fc263c3b44205374bcabcbf654f2d1ace7c

Other collected versions

View all collected versions →