2018-08-04 23:28:51 +02:00
|
|
|
# PyPDF4
|
2014-07-15 23:50:39 +02:00
|
|
|
|
2018-08-04 23:28:51 +02:00
|
|
|
PyPDF4 is a pure-python PDF library capable of
|
2014-07-15 23:50:39 +02:00
|
|
|
splitting, merging together, cropping, and transforming
|
|
|
|
the pages of PDF files. It can also add custom
|
|
|
|
data, viewing options, and passwords to PDF files.
|
|
|
|
It can retrieve text and metadata from PDFs as well
|
|
|
|
as merge entire files together.
|
|
|
|
|
2018-08-04 23:45:45 +02:00
|
|
|
What happened to PyPDF2? Nothing; it's still available
|
|
|
|
at https://github.com/mstamy2/PyPDF2 . For various reasons
|
|
|
|
claird will eventually explain, I've simply decided to mark
|
|
|
|
a new "business model" with a slightly-renamed project name.
|
2018-08-06 00:56:27 +02:00
|
|
|
While PyPDF4 will continue to be available at no charge, I
|
|
|
|
have strong plans for better ongoing support to start in August 2018.
|
2018-08-04 23:45:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
Homepage (available soon)
|
2018-08-04 23:28:51 +02:00
|
|
|
http://claird.github.io/PyPDF4/
|
2014-07-15 23:50:39 +02:00
|
|
|
|
2017-03-25 06:55:06 +01:00
|
|
|
## Examples
|
2014-07-15 23:50:39 +02:00
|
|
|
|
2016-09-27 18:55:53 +02:00
|
|
|
Please see the `Sample_Code` folder.
|
2014-07-15 23:50:39 +02:00
|
|
|
|
2017-03-25 06:55:06 +01:00
|
|
|
## Documentation
|
2014-07-15 23:50:39 +02:00
|
|
|
|
2018-08-06 00:56:27 +02:00
|
|
|
Documentation soon will be available, although probably not at
|
2018-08-04 23:28:51 +02:00
|
|
|
https://pythonhosted.org/PyPDF4/
|
2014-07-15 23:50:39 +02:00
|
|
|
|
|
|
|
|
2017-03-25 06:55:06 +01:00
|
|
|
## FAQ
|
2018-08-04 23:45:45 +02:00
|
|
|
Please see
|
2018-08-04 23:28:51 +02:00
|
|
|
http://claird.github.io/PyPDF4/FAQ.html
|
2018-08-04 23:45:45 +02:00
|
|
|
(available in early August)
|
2015-06-04 11:48:05 +02:00
|
|
|
|
|
|
|
|
2017-03-25 06:55:06 +01:00
|
|
|
## Tests
|
2018-08-06 00:56:27 +02:00
|
|
|
PyPDF4 includes a modest (but growing!) test suite built on the unittest framework. All tests are located in the "Tests" folder.
|
2015-06-04 11:48:05 +02:00
|
|
|
Tests can be run from the command line by:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
python -m unittest Tests.tests
|
2016-09-27 18:55:53 +02:00
|
|
|
```
|