A Python library for proxy server list management
Project description
Configuration
(TODO: Fill out this section)
Usage
Python invocation
To import a text file containing a proxy server list:
proxy_factory = ProxyFactory(config=dict(db_uri='sqlite:///test.db'))
proxy_factory.import_proxies('proxylist.txt')
To make a request:
r = proxy_factory.make_request('https://github.com/suminb/hallucination')
print r.text
Shell frontend
To create an SQLite database file:
python frontend.py -c proxy.db
To export the proxy server list to a text file:
python frontend.py -e proxylist.txt
To import a text file containing a proxy server list:
python frontend.py -i proxylist.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hallucination-0.2.4.tar.gz
(4.2 kB
view hashes)