Skip to main content
4 votes
Accepted

Python & PDF parsing: any modern, powerful, well-maintained open-source libraries out there?

Finally I went for OCRmyPDF (https://github.com/jbarlow83/OCRmyPDF), which uses tesseract for the actual OCR part (https://github.com/tesseract-ocr/tesseract) - as I understand tesseract is a OCR tool ...
Jean Monet's user avatar
4 votes
Accepted

Parsing literal assignments from a Python file

I don't know of a library for this specific task, but it's easy to do it with ast.parse. Here's an example in Python 3: import ast with open("myfile.py", "r") as o: src = o.read() top_level = ...
Kodiologist's user avatar
  • 1,197
3 votes
Accepted

Alternative math evaluators in Python

SymPy is able to do what you are asking for (and much more): from sympy import sympify from sympy.abc import x,y expr = sympify('x * x + 2*y + 5') expr.subs({ x:3, y:4 }) Note that this is only one ...
Wrzlprmft's user avatar
  • 362
2 votes

Resume Parser online demo

You can try https://affinda.com/resume-parser/ for free - the web interface allows you to upload resumes for free, and get the results as XLS, XML or JSON. The best part is you don't get forced to ...
Anthony's user avatar
  • 31
2 votes
Accepted

Command-line option parser for Java

You could check out FeSimpleArgs I believe it fulfills all your requirements: Concept: A very light-weight command-line parser. Takes arguments in either a String or String[] form, returns a class ...
CPerkins's user avatar
  • 236
2 votes

File open/read libraries

A commercial library that I would recommend taking a look at is the LEADTOOLS Imaging SDK. The LEADTOOLS Imaging SDK contains support for loading/viewing/manipulating/saving 150+ file formats. ...
abrasington's user avatar
2 votes

Text pattern search tool or library for MS Word and PDF documents

For MS-Word documents, use LibreOffice on the command-line. It will work with .doc and .docx files as well as other formats (maybe even PDFs, not sure). Extract the text like so: libreoffice --...
einpoklum's user avatar
  • 3,259
2 votes

Actual implementation of JSR-353 (JSON)?

Reference implementation JSON-P is the reference implementation for JSR 374 (& 353). May or may not be a competitive one, in terms of feature and performance. This code is included as a part of ...
Franklin Yu's user avatar
2 votes

C/C++ ini file parser library

Modern and cross-platform library is also inicpp. It has pretty good test support, is easy to use and one of the greatest features is schema validation (with full type safety). It's not big, but it's ...
Semai's user avatar
  • 21
2 votes

Query HTML tags from the command line (like jq does for JSON)

I found this one https://github.com/mgdm/htmlq. There are some examples on the github page. e,i you can do something like this: curl --silent https://www.rust-lang.org/ | htmlq '#get-help'
fgomez's user avatar
  • 21
2 votes
Accepted

How can I parse the script code?

ITNOA as you can see in JavaScript parser in JavaScript many library have this, for example UglifyJS Esprima acorn https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API
sorosh_sabz's user avatar
1 vote
Accepted

Possible to download the past 12 month of Slashdot frontpage stories?

For Slashdot you can fetch the page for a particular day with a url in the format: https://slashdot.org/?issue=20200110 Where in this example the ?issue= is followed by a date in the format YYYYMMDD ...
Steve Barnes's user avatar
  • 31.7k
1 vote

Python & PDF parsing: any modern, powerful, well-maintained open-source libraries out there?

I'm now the maintainer of pypdf and PyPDF2. I merged everything back into pypdf. pypdf is the way to go. PyPDF2 will be deprecated. Original answer: PyPDF2 is mainained again since April 2022. We ...
Martin Thoma's user avatar
  • 2,579
1 vote

Is there a tool that can convert a huge .xml file to its corresponding YANG model?

YANG has an XML representation, so you're transforming one XML vocabulary to another and the typical tool for that is XSLT. How difficult it is depends on how much difference there is between the two ...
Michael Kay's user avatar
1 vote

Looking for a library to import c data structures into python

You should use ctypes for this. It is part of the standard python library. In an answer to a question on SO I've given an example of how to create ctypes structs. Here's another example for writing to ...
lonetwin's user avatar
  • 141
1 vote
Accepted

Tools to parse .scc closed caption subtitles

This command line tool currently converts better .scc files than PyCaption. php subtitles.phar input.scc output.srt
Mantas D's user avatar
  • 126
1 vote

Tools to parse .scc closed caption subtitles

I have used CCASDI.exe (Windows Executable) from this page successfully: http://www.theneitherworld.com/mcpoodle/SCC_TOOLS/DOCS/SCC_TOOLS.HTML#ccasdi And I have also used this JavaScript library: ...
Jean-François Beauchamp's user avatar
1 vote

Java XPath Generation Library for xml

XPath 3.1 has the function path() so //node()/path() will give you the paths of all nodes. However, these are XPath 3.1 paths - they will use the notation Q{uri}local to refer to element and attribute ...
Michael Kay's user avatar
1 vote

Ruby parser for scripting

Are you trying to edit the ruby files while the ruby application is running? Or are you using the python scripts to generate a project, like cookiecutter? Ruby does support reflection and ...
ConorSheehan1's user avatar
1 vote
Accepted

Tool for convert bitbucket and github tracked issues into PDFs

You can achieve your requirements by using the following steps. Get all the issue ids using the REST api of GitHub or Bitbucket. GitHub: https://developer.github.com/v3/issues/ Bitbucket: https://...
Karthikeyan's user avatar
1 vote

Actual implementation of JSR-353 (JSON)?

Genson Besides the reference implementation shown in correct Answer by Yu, another implementation of JSR 353 is Genson. See the project page and the GitHub page. While I have not used it, the ...
Basil Bourque's user avatar
1 vote

Library to parse and analyse source code

I don't know if it covers all the languages you need, or emits all the metadata you need, but Doxygen might suffice. It can output XML that includes things like function and variable declarations.
Chris's user avatar
  • 121
1 vote

Text pattern search tool or library for MS Word and PDF documents

With quite a shallow a learning curve you can do this all in python with a couple of libraries: For extracting the text from recent MS-Word formats, (.docx), you will need to install python-docx For ...
Steve Barnes's user avatar
  • 31.7k
1 vote

Software to parse web site content and make analysis

You will need multiple tools to accomplish your goal. Screen-scraping First you need to retrieve the web page, and parse to extract the meaningful content removed from the chaff of the HTML markup. ...
Basil Bourque's user avatar
1 vote

Software that converts simple text format to json

I've implemented Huge JSON Viewer in C# with JSON.NET. For C#, you can use SharpDevelop as an IDE for it.
Thomas Weller's user avatar
1 vote

SDF (Chemical Table File) parser in any language

The OpenEyes library supports reading from MOD SD Files and writing to .csv files as you can see here along with a large number of others of course. #!/usr/bin/env python from openeye.oechem import * ...
Steve Barnes's user avatar
  • 31.7k
1 vote

Software to Extract and Organize text from Docx

For a coding based solution: Essential PDF , Essential DocIO can be used to parse PDF and Doc/Docx files respectively. Essential XlsIO can be used to output the structured data to Excel. PDF text ...
Davis Jebaraj's user avatar
1 vote

Tool to convert formulas to C# code faster

I doubt you will find a tool that does exactly what you want off the shelf; the number of pairs of translations from computer language A to language B is big because there are lots of As and Bs, and ...
Ira Baxter's user avatar
  • 1,134

Only top scored, non community-wiki answers of a minimum length are eligible