Skip to main content

No project description provided

Project description

# PacGen: Pac file generator written in Python
If you use multiple proxies and you want to define rules to set specific proxy per specific host, this package can help you.
Simply create a ~/.pacgen.yml config file and define your rules there.
After that run updatepac command in your terminal and it will create ~/.proxy.pac

# Installation
pip install pacgen

# Sample ~/.pacgen.yml
ssh_tunnel: socks5://
shadowsocks: socks5://
routes: ssh_tunnel shadowsocks shadowsocks httpproxy
# default_proxy will be used for hosts which are not defined in routes.
default_proxy: shadowsocks
# here we define hosts that we don't want to use proxy for them.

Project details

Download files

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

Files for PacGen, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size PacGen-0.1.2-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size PacGen-0.1.2.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page