PdfTextExtractor 1.0.0
See the version list below for details.
dotnet add package PdfTextExtractor --version 1.0.0
NuGet\Install-Package PdfTextExtractor -Version 1.0.0
<PackageReference Include="PdfTextExtractor" Version="1.0.0" />
paket add PdfTextExtractor --version 1.0.0
#r "nuget: PdfTextExtractor, 1.0.0"
// Install PdfTextExtractor as a Cake Addin #addin nuget:?package=PdfTextExtractor&version=1.0.0 // Install PdfTextExtractor as a Cake Tool #tool nuget:?package=PdfTextExtractor&version=1.0.0
PdfTextExtractor
Simple C# library for extracting text and metadata from .docx, .pptx, and .xlsx files
PdfTextExtractor provides simple methods for extracting text and metadata from .pdf files.
New in v1.0.x
- Initial release
Disclaimer
This library is a shell wrapper leveraging an excellent Python library called pdfplumber
. As such there are some constraints:
- You must have Python v3.8, 3.9, 3.10, or 3.11 installed
- Python must be accessible in your path as
py
- You must
pip install pdfplumber
and associated dependencies
This library has been tested on a limited set of documents. It is highly likely that documents exist this from which the library, in its current state, cannot extract text.
Simple Examples
Refer to the Test
project for a full example.
using DocumentTextExtractor;
void Main(string[] args)
{
using (PdfTextExtractor pdf = new PdfTextExtractor("mydocument.docx"))
{
string text = docx.ExtractText();
Dictionary<string, string> metadata = docx.ExtractMetadata();
}
}
Version History
Please refer to CHANGELOG.md.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release. NOTE: requires Python and the Python package pdfplumber.