GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Decodo/python at master · Decodo/Decodo

Expand file tree

/

python

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

python

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
python.py
python.py
 
 
pythonsocks5h.py
pythonsocks5h.py
 
 

README.md

Outline

Main Repository

Disclaimer

If you want to continue development with Python, we highly recommend reading their documentation.

Prerequisites

To run the following code example, you'll need Python installed:

  • Python

You should also have a Decodo account with access to the dashboard to get your credentials and endpoint information.

Installation

Once you have Python installed, continue with the following steps:

  1. Open the Terminal/Command Prompt.
  2. Create your project directory using the mkdir python_example command.
  3. Navigate to your project folder using the cd python_example command.
  4. Execute the following command to download the proxy setup example file:

HTTP(s): curl https://raw.githubusercontent.com/Decodo/Decodo/master/python/python.py > python.py

SOCKS5: `curl https://raw.githubusercontent.com/Decodo/Decodo/master/python/pythonsocks5h.py > pythonsocks5h.py

image
  1. You should see a new file named python.py in your project folder. Open it using an editor of your choice.
  2. To run this Python example, set your username, password, and endpoint information you'd like to use and enter them in the following sections of the code:
username = 'username'
password = 'password'

proxy = f'https://{username}:{password}@gate.decodo:7000'

Usage

To execute the Python example, simply run python python.py in your Terminal tool. You should see an IP address in the console window if everything was set up correctly:

Decodo successful python connection example

Need help?

Email - [email protected]

Live chat 24/7

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.