Skip to main content

Flora Data Extraction Project

This script is designed to extract data from pdf files of genera from the book Flora of North America. It creates csv files whose names match the PDF files given to the script as arguments. The csv files have the format

"Species name", "Location where the species appears"

and

"Species name", "Classifiers (if any)"

The easiest way to run the script is to move to a folder where the only pdf files are genera files from Flora of North America and enter:

python -m florana.extract -A -o data.csv

The script will then run on every pdf file in the directory and create a file called 'data.csv' of all the locations it can find, as well as a file 'data-classifiers.csv'. If the script couldn't find locations for some species, detailed information will be included in 'error.log'.

Note: python 2

If you also have python 2 installed on your system, you will probably need to run python3 instead of python

Installing

python -m pip install florana

Note: Windows Users

If you're running Windows, you'll likely need to install poppler. You'll need to extract the latest binary from the link provided and add its bin folder to your PATH environment variable. i.e. If C:\path\to\poppler is the directory where you extracted poppler, then you'll need to add C:\path\to\poppler\bin to your PATH environment variable.

Dependencies

Metadata

Release files for florana 1.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for florana 1.1.7
File Size Uploaded
florana-1.1.7.tar.gz 10.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for florana 1.1.7
File Interpreter ABI Platform
florana-1.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 21.6 kB

Release files / florana-1.1.7.tar.gz

Download URL florana-1.1.7.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ce3925ed79d6aa604d0912f36b9f9862b330fa16e10a64b46fb68d053b681ce9
BLAKE2b-256 checksum
How to use checksums
d8d4f7972b5b53dd76c818015bd4319381e75d0322caedcee61565c39714fa92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.3

Release files / florana-1.1.7-py3-none-any.whl

Download URL florana-1.1.7-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef4764ecd1b23ceedf510e9f7b7903c55cbf2681dd4e9034408fc77f14849e39
BLAKE2b-256 checksum
How to use checksums
cb30d6a1f2820af6c7fd8579e1fdcf4cfe2efaf43d8974a819695c4f8c84b0b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.1.7 This release

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page