Skip to main content

Read tables in pdf files using camelot for pyexcel community

Project description

https://raw.githubusercontent.com/pyexcel/pyexcel.github.io/master/images/patreon.png https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg https://travis-ci.org/pyexcel/pyexcel-pdfr.svg?branch=master https://codecov.io/gh/pyexcel/pyexcel-pdfr/branch/master/graph/badge.svg https://badge.fury.io/py/pyexcel-pdfr.svg https://pepy.tech/badge/pyexcel-pdfr/month https://img.shields.io/gitter/room/gitterHQ/gitter.svg https://img.shields.io/static/v1?label=continuous%20templating&message=%E6%A8%A1%E7%89%88%E6%9B%B4%E6%96%B0&color=blue&style=flat-square https://img.shields.io/static/v1?label=coding%20style&message=black&color=black&style=flat-square

Support the project

If your company has embedded pyexcel and its components into a revenue generating product, please support me on github, patreon or bounty source to maintain the project and develop it further.

If you are an individual, you are welcome to support me too and for however long you feel like. As my backer, you will receive early access to pyexcel related contents.

And your issues will get prioritized if you would like to become my patreon as pyexcel pro user.

With your financial support, I will be able to invest a little bit more time in coding, documentation and writing interesting posts.

Introduction

pyexcel-pdfr does Read tables in pdf files using camelot for pyexcel community. Please note it works on python 3.6+ only.

It reads only phyical files and does not read io streams, not a URL.

Installation

You can install pyexcel-pdfr via pip:

$ pip install pyexcel-pdfr

or clone it and install it:

$ git clone https://github.com/pyexcel/pyexcel-pdfr.git
$ cd pyexcel-pdfr
$ python setup.py install

Development guide

Development steps for code changes

  1. git clone https://github.com/pyexcel/pyexcel-pdfr.git

  2. cd pyexcel-pdfr

Upgrade your setup tools and pip. They are needed for development and testing only:

  1. pip install –upgrade setuptools pip

Then install relevant development requirements:

  1. pip install -r rnd_requirements.txt # if such a file exists

  2. pip install -r requirements.txt

  3. pip install -r tests/requirements.txt

Once you have finished your changes, please provide test case(s), relevant documentation and update CHANGELOG.rst.

How to test your contribution

Although nose and doctest are both used in code testing, it is adviable that unit tests are put in tests. doctest is incorporated only to make sure the code examples in documentation remain valid across different development releases.

On Linux/Unix systems, please launch your tests like this:

$ make

On Windows systems, please issue this command:

> test.bat

Before you commit

Please run:

$ make format

so as to beautify your code otherwise travis-ci may fail your unit test.

License

New BSD License

Change log

0.6.0 - 11.10.2020

updated

  1. read tabular data out from pdf format in python 3.6+ with camelot-py

0.5.0-rc1 - 14.03.2019

first release

  1. read tabular data out from pdf format

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

pyexcel-pdfr-0.6.0.tar.gz (517.9 kB view details)

Uploaded Source

Built Distribution

pyexcel_pdfr-0.6.0-py2.py3-none-any.whl (5.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyexcel-pdfr-0.6.0.tar.gz.

File metadata

  • Download URL: pyexcel-pdfr-0.6.0.tar.gz
  • Upload date:
  • Size: 517.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for pyexcel-pdfr-0.6.0.tar.gz
Algorithm Hash digest
SHA256 ba7e48e2f6ff14ed774dd3cadb18465d84bcab3211410b4f5bd24a3581514074
MD5 c71501b298e806ca2c474648ea35ce70
BLAKE2b-256 60bba528d81c9c6a3189ef2d27cb3d36e1ee7c2b9bf5df282b3bfd9bcde76010

See more details on using hashes here.

File details

Details for the file pyexcel_pdfr-0.6.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pyexcel_pdfr-0.6.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for pyexcel_pdfr-0.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3e05a57038930b01abe3cc6ebbc0dd0f85f025edec99f0110ac81dd9af0dc74b
MD5 ed48e0ceaea0fe0e1be4ac0ceba4189a
BLAKE2b-256 671e6bf4c0643c32ee0317c29659dfdf7cd2b517845d4417da780dec5a2afb2d

See more details on using hashes here.

Supported by

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