mirror of
https://github.com/webrecorder/pywb.git
synced 2025-04-01 11:41:27 +02:00
move to distinct packages: pywb.utils, pywb.cdx, pywb.warc, pywb.util, pywb.rewrite! each package will have its own README and tests shared sample_data and install
37 lines
870 B
Markdown
37 lines
870 B
Markdown
## PyWb CDX v0.2
|
|
|
|
[](https://travis-ci.org/ikreymer/pywb_cdx)
|
|
|
|
|
|
This package contains the CDX processing suite of the pywb wayback tool suite.
|
|
|
|
The CDX Server loads, filters and transforms cdx from multiple sources in response
|
|
to a given query.
|
|
|
|
### Installation and Tests
|
|
|
|
`pip install -r requirements` -- to install
|
|
|
|
`python run-tests.py` -- to run all tests
|
|
|
|
|
|
### Sample App
|
|
|
|
A very simple reference WSGI app is included.
|
|
|
|
Run: `python -m pywb_cdx.wsgi_cdxserver` to start the app, keyboard interrupt to stop.
|
|
|
|
The default [config.yaml](pywb_cdx/config.yaml) points to the sample data directory
|
|
and uses port 8080
|
|
|
|
### CDX Server API Reference
|
|
|
|
Goal is to provide compatiblity with this feature set and more:
|
|
https://github.com/internetarchive/wayback/tree/master/wayback-cdx-server
|
|
|
|
TODO
|
|
|
|
|
|
|
|
|