Skip to main content

simplepac

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 127.0.0.1:8888","SOCKS
                        127.0.0.1:1080"
  -o OUTPUT, --output OUTPUT
                        output pac file
  --proxy-rule PROXY_RULE
                        [optional]proxy rule, Base64 or text, default use
                        gfwlist
  --user-rule USER_RULE
                        [optional]user rule like proxy rule, support cidr like
                        "IP-CIDR,91.108.4.0/22"
  --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
                        127.0.0.1:12306"

Release files for simplepac 0.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 simplepac 0.1
File Size Uploaded
simplepac-0.1.tar.gz 24.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simplepac 0.1
File Interpreter ABI Platform
simplepac-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 50.0 kB

Release files / simplepac-0.1.tar.gz

Download URL simplepac-0.1.tar.gz
Size 24.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a8dc45034154415f5cc14b8045884197519422340cb10a2241086f03fb172aed
BLAKE2b-256 checksum
How to use checksums
4611f97809f3c78bccaa8b0efd8917aeaae4f7359f29e7e4139b33da1c87345a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / simplepac-0.1-py3-none-any.whl

Download URL simplepac-0.1-py3-none-any.whl
Size 25.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
095387c0dc4485bbe9ce4e2734bc136368a20eee556570e6fd002278281eebbf
BLAKE2b-256 checksum
How to use checksums
731be3e060144f677676652a70776a871ce7adb0718cf21a1568b9cd8dfd2e80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

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