Accessing Bluebeam Revu PDF Data
Project description
pymkup
pymkup is a Python library for viewing markups lists and property data in PDFs created by Bluebeam Revu.
About
This is a reverse-engineered unofficial API for accessing data generated in Bluebeam Revu authored PDFs. Once a file is loaded, it can be scraped for some information.
Installation
Use the package manager pip to install pymkup.
pip install pymkup
Usage
from pymkup import Pymkup
x = Pymkup("link to your Revu PDF")
x.spaces() # Returns JSON dictionary of document spaces.
x.markups() # Returns JSON dictionary of markups.
Data export with custom columns example
First, you should identify the columns that are accessible in your file:
x.get_columns().values()
Second, you should review the extended columns that can also be added:
x.extended_columns()
Lastly, you can build the custom columns that you want to see returned:
columns = ['Subject', 'Label', 'Date', 'UUID', 'Space']
x.markups(column_list=columns)
Requirements
- pdfreader for browsing the PDF tree.
- matplotlib to build Spaces, convert colors.
- tox to run virtualenv tests.
- pytest for unit testing.
Dev Testing
pip install tox
Once installed, run 'tox' from project root directory, and it will run unit tests on multiple python installation. Tests are files within the /test folder.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pymkup-0.7.tar.gz
.
File metadata
- Download URL: pymkup-0.7.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf2667855ae44e1963a70bd878c0d42d687c80b6306c6983f658452cf3502415 |
|
MD5 | cae63adf13238a2d4d12d92b9d03341f |
|
BLAKE2b-256 | 62570a44115a1705eae4b2f9e6af4160588568aa98e88b0ff39d9d7b682a9026 |
File details
Details for the file pymkup-0.7-py3-none-any.whl
.
File metadata
- Download URL: pymkup-0.7-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 551a7cd287fd41ab34b821ada672b9e3ed961fe5d44e5a16f127bd434126adca |
|
MD5 | bff334e20e7af91e5ba636de84e86516 |
|
BLAKE2b-256 | 59bf8f6a918afa7a994af3d2894e72c55881849ceebbe9f5aa410e0c0d9f1005 |