Skip to main content

Accessing Bluebeam Revu PDF Data

Project description

issues open license GPL last commit top language repo size Code style: black Code style: pycodestyle pre-commit

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

MIT

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

pymkup-0.8.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymkup-0.8-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file pymkup-0.8.tar.gz.

File metadata

  • Download URL: pymkup-0.8.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.6

File hashes

Hashes for pymkup-0.8.tar.gz
Algorithm Hash digest
SHA256 a95f366b245bcaca16200c75686f1b43e8b3fd8b7cddc8024131da7a99918bd1
MD5 02d50cecacd7802662c5d9abf2462e9f
BLAKE2b-256 0b5ee051deb17d405a1cbb6b500a31affe2a07ffa105478a49843da08e0106c5

See more details on using hashes here.

File details

Details for the file pymkup-0.8-py3-none-any.whl.

File metadata

  • Download URL: pymkup-0.8-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.6

File hashes

Hashes for pymkup-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 41da02a5844bb8a3fa349d431780fbd7a1fcc264fd38f294da065fdf3d664638
MD5 270ebad4316b364da4c4ae49a9c9e23c
BLAKE2b-256 97ba72de40dc71be300702e4e2430d885c764a6536cb5b26be2b1696eca853c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page