Skip to main content

Generate a simple pac for proxy and ad-block

Project description


Generate a simple pac for proxy and ad-block(use the code from easylist-pac-privoxy).

usage: simplepac [-h] -p PROXY -o OUTPUT [--proxy-rule PROXY_RULE]
                 [--user-rule USER_RULE] [--ad-block]
                 [--black-hole BLACK_HOLE]

Generate a simple pac

optional arguments:
  -h, --help            show this help message and exit
  -p PROXY, --proxy PROXY
                        pac proxy like "PROXY","SOCKS
  -o OUTPUT, --output OUTPUT
                        output pac file
  --proxy-rule PROXY_RULE
                        [optional]proxy rule, Base64 or text, default use
  --user-rule USER_RULE
                        [optional]user rule like proxy rule, support cidr like
  --ad-block            [optional]enable ad block, use easylist.
  --black-hole BLACK_HOLE
                        [optional]ad proxy, usually use a unreachable proxy,
                        IOS may need to set nginx server,default:"PROXY

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simplepac-0.1.tar.gz (24.1 kB view hashes)

Uploaded source

Built Distribution

simplepac-0.1-py3-none-any.whl (25.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page