README.md (pacparser-1.3.9) | : | README.md (pacparser-1.4.0) | ||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
### Implementation | ### Implementation | |||
Pacparser makes use of the Mozilla's JavaScript interpreter SpiderMonkey to pars e | Pacparser makes use of the Mozilla's JavaScript interpreter SpiderMonkey to pars e | |||
PAC files (which are nothing but javascripts). Apart from that, proxy | PAC files (which are nothing but javascripts). Apart from that, proxy | |||
auto-config standard assumes availability of some functions which are not | auto-config standard assumes availability of some functions which are not | |||
part of the standard JavaScript. Pacparser uses Mozilla's PAC implementation to | part of the standard JavaScript. Pacparser uses Mozilla's PAC implementation to | |||
define all these functions except couple of dns functions which are defined by | define all these functions except couple of dns functions which are defined by | |||
pacparser itself. As a result, pacparser is as close to standard as it gets :) | pacparser itself. As a result, pacparser is as close to standard as it gets :) | |||
### Install | ### Install | |||
Please see 'INSTALL' in the root directory of the package. | ||||
For Python module, you can use pip. Pre-built module is available for `64-bit Li | ||||
nux, | ||||
Windows, MacOS-Intel, and MacOS-ARM`, for Python `3.7, 3.8, 3.9, and 3.10`. | ||||
``` | ||||
python -m pip install pacparser | ||||
python -m pip install pacparser==1.3.8.dev15 (specific version) | ||||
``` | ||||
For other pre-built binaries, download them from the project's [releases]( | ||||
https://github.com/manugarg/pacparser/releases) page. | ||||
You can also download the latest binaries from the [Github actions]( | ||||
https://github.com/manugarg/pacparser/actions) artifcacts. | ||||
See [INSTALL](https://github.com/manugarg/pacparser/blob/master/INSTALL) for how | ||||
to compile pacparser from the source. | ||||
### How to use it? | ### How to use it? | |||
Pacparser comes as a shared library (`libpacparser.so` on Linux, `libpacparser.d ylib` | Pacparser comes as a shared library (`libpacparser.so` on Linux, `libpacparser.d ylib` | |||
on MacOS, and pacparser.dll on windows) as well as a python module. Using it is as | on MacOS, and pacparser.dll on windows) as well as a python module. Using it is as | |||
easy compiling your C programs against it or importing pacparser module in your | easy compiling your C programs against it or importing pacparser module in your | |||
python programs. | python programs. | |||
### Usage Examples | ### Usage Examples | |||
#### Python: | #### Python: | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 17 lines changed or added |