Skip to main content

LightningProxiesAPI

PyPI version

LightningProxiesAPI is a Python package for interacting with Lightning Proxies' API, providing access to residential, datacenter, IPv6, mobile, and ISP proxy services. This library simplifies the integration of proxy management, offering functionalities such as adding/removing proxies, retrieving plan details, managing whitelists, and more.

Features

  • Manage proxies: Access residential, datacenter, mobile, ISP, and IPv6 proxies.
  • Plan management: View and manage proxy plans.
  • Whitelisting: Easily manage IP whitelists for your proxies.
  • Bandwidth: Monitor and adjust proxy bandwidth usage.
  • Flexible API: Interact with a wide range of API endpoints for proxy management.

Installation

You can install the lightning-proxies package directly from PyPI using pip:

pip install lightning-proxies

Example usage

from lightning_proxies import LightningProxies

# Initialize the client with your API key
client = LightningProxies(api_key="your_api_key")

# Get residential proxy information using plan ID
plan_id = "648248c31fac1bd9475b61ba"
response = client.get_residential_proxy_info(plan_id)

print(response)

Example: Add an IP to the Whitelist

from lightning_proxies import LightningProxies

# Initialize the client with your API key
client = LightningProxies(api_key="your_api_key")

# Add an IP address to the whitelist for IPv6 proxies
plan_id = "648248c31fac1bd9475b61ba"
ip_address = "1.1.1.1"
response = client.add_ip_to_whitelist(plan_id, ip_address)

print(response)

Documentation

-- soon --

Contributing

We welcome contributions! Please fork the repository, create a branch, and submit a pull request. Ensure that all tests pass and that your code adheres to the project's coding standards.

Steps for Contributing:

  1. Fork the repository.
  2. Create a new feature branch.
  3. Make your changes and commit them.
  4. Push your changes to your fork.
  5. Open a pull request to the main branch.

Metadata

Release files for lightning-proxies 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lightning-proxies 0.1.1
File Size Uploaded
lightning_proxies-0.1.1.tar.gz 20.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lightning-proxies 0.1.1
File Interpreter ABI Platform
lightning_proxies-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 40.9 kB

Release files / lightning_proxies-0.1.1.tar.gz

Download URL lightning_proxies-0.1.1.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6e0e3db13165bf65bd04d55e7602f2cbdc19c8dad7e16dc48c18e73bc6278f24
BLAKE2b-256 checksum
How to use checksums
ff5f16b1365f7e7fbbdba63eb94dc41e0f574148fc6de8449cb48c679369c754
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.4

Release files / lightning_proxies-0.1.1-py3-none-any.whl

Download URL lightning_proxies-0.1.1-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed72d6528db07929309c86d529ccb6f4983236f0621d1159d5eddfcf63daaccb
BLAKE2b-256 checksum
How to use checksums
255ea01152addb82ac83af5e6e7bd04a92b837f7d41ba0e5a109bdecf9e8d779
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page