topecz / slate Goto Github PK
View Code? Open in Web Editor NEWThis project forked from timclicks/slate
The simplest way to extract text from PDFs in Python
Home Page: http://tumblr.com/xniokbnmm
License: GNU General Public License v3.0
This project forked from timclicks/slate
The simplest way to extract text from PDFs in Python
Home Page: http://tumblr.com/xniokbnmm
License: GNU General Public License v3.0
====================================================== slate: the easiest way to get text from PDFs in Python ====================================================== Slate is a Python package that simplifies the process of extracting text from PDF files. It depends on the PDFMiner package. Slate provides one class, PDF. PDF takes a file-like object and will extract all text from the document, presentating each page as a string of text: >>> with open('example.pdf') as f: ... doc = slate.PDF(f) ... >>> doc [..., ..., ...] >>> doc[1] 'Text from page 2...' If your pdf is password protected, pass the password as the second argument: >>> with open('secrets.pdf') as f: ... doc = slate.PDF(f, 'password') ... >>> doc[0] "My mother doesn't know this, but..." More complex operations ----------------------- If you would like access to the images, font files and other information, then take some time to learn the PDFMiner API. What is wrong with PDFMiner? ---------------------------- 1. Getting simple things done, like extracting the text is quite complex. The program is not designed to return Python objects, which makes interfacing things irritating. 2. It's an extremely complete set of tools, with multiple and moderately steep learning curves. 3. It's not written with hackability in mind. GPL? ---- If you would like to use this software in a non-free manner, please contact the copyright owner.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.