Add requirements.txt for rtd

pull/2/head
Vinayak Mehta 2018-10-09 21:21:50 +05:30
parent 898646b73b
commit 750f955f9c
3 changed files with 12 additions and 5 deletions

View File

@ -41,7 +41,7 @@
| 2032_2 | 0.17 | 57.8 | 21.7% | 0.3% | 2.7% | 1.2% | | 2032_2 | 0.17 | 57.8 | 21.7% | 0.3% | 2.7% | 1.2% |
| 4171_1 | 0.07 | 173.9 | 58.1% | 1.6% | 2.1% | 0.5% | | 4171_1 | 0.07 | 173.9 | 58.1% | 1.6% | 2.1% | 0.5% |
There's a [command-line interface](https://camelot-py.readthedocs.io/en/latest/user/cli.html) too! There's a [command-line interface](https://camelot-py.readthedocs.io/en/master/user/cli.html) too!
**Note:** Camelot only works with text-based PDFs and not scanned documents. (As Tabula [explains](https://github.com/tabulapdf/tabula#why-tabula), "If you can click and drag to select text in your table in a PDF viewer, then your PDF is text-based".) **Note:** Camelot only works with text-based PDFs and not scanned documents. (As Tabula [explains](https://github.com/tabulapdf/tabula#why-tabula), "If you can click and drag to select text in your table in a PDF viewer, then your PDF is text-based".)
@ -66,7 +66,7 @@ $ conda install -c camelot-dev camelot-py
### Using pip ### Using pip
After [installing the dependencies](https://camelot-py.readthedocs.io/en/latest/user/install.html#using-pip) ([tk](https://packages.ubuntu.com/trusty/python-tk) and [ghostscript](https://www.ghostscript.com/)), you can simply use pip to install Camelot: After [installing the dependencies](https://camelot-py.readthedocs.io/en/master/user/install.html#using-pip) ([tk](https://packages.ubuntu.com/trusty/python-tk) and [ghostscript](https://www.ghostscript.com/)), you can simply use pip to install Camelot:
<pre> <pre>
$ pip install camelot-py[all] $ pip install camelot-py[all]
@ -74,7 +74,7 @@ $ pip install camelot-py[all]
### From the source code ### From the source code
After [installing the dependencies](https://camelot-py.readthedocs.io/en/latest/user/install.html#using-pip), clone the repo using: After [installing the dependencies](https://camelot-py.readthedocs.io/en/master/user/install.html#using-pip), clone the repo using:
<pre> <pre>
$ git clone https://www.github.com/socialcopsdev/camelot $ git clone https://www.github.com/socialcopsdev/camelot
@ -93,7 +93,7 @@ Great documentation is available at [http://camelot-py.readthedocs.io/](http://c
## Development ## Development
The [Contributor's Guide](https://camelot-py.readthedocs.io/en/latest/dev/contributing.html) has detailed information about contributing code, documentation, tests and more. We've included some basic information in this README. The [Contributor's Guide](https://camelot-py.readthedocs.io/en/master/dev/contributing.html) has detailed information about contributing code, documentation, tests and more. We've included some basic information in this README.
### Source code ### Source code

View File

@ -112,4 +112,4 @@ After `installing the dependencies`_, you can install from the source by:
$ cd camelot $ cd camelot
$ pip install ".[all]" $ pip install ".[all]"
.. _installing the dependencies: https://camelot-py.readthedocs.io/en/latest/user/install.html#using-pip .. _installing the dependencies: https://camelot-py.readthedocs.io/en/master/user/install.html#using-pip

7
requirements.txt 100755
View File

@ -0,0 +1,7 @@
click>=6.7
matplotlib>=2.2.3
numpy>=1.13.3
openpyxl>=2.5.8
pandas>=0.23.4
pdfminer.six>=20170720
PyPDF2>=1.26.0