Skip to main content

A Data Mining Tool For Extract Text From Files

Project description

A Data Mining Tool For Extract Text From Files.
Supported Files:
  • PDF

  • DOCX

  • DOC

  • DAT

Meta

  • Author: Jonathan Prieto

  • Email: prieto.jona@gmail.com

  • Notes: Have feedback? Please send me an email. This project is in development.

Requirements

This software is available thank to others open sources projects. The following list itemizes some of those

  • PySide (GUI lib)

  • Tessaract OCR

  • xpdf binaries (a option to process pdf)

  • lxml (doc files)

  • scandir (trasversal folder more easy and fast) (it could be need to compiled from source)

  • pdfminer

  • docx

Installing

Please before continue with installation process, make sure that the requirements listed above are sucessful installed.

pip install aTXT

Usage

aTXT --help

Console shows:

A friendly Extractor of Text for Data Mining

Usage:
    aTXT
    aTXT -i
    aTXT <file> [-v|--verbose] [-uo] [--to <to>]
    aTXT [--from <from>] [--to <to>] <file>... [-uo] [-v|--verbose]
    aTXT --path <path> --depth <depth> [--to <to>] [-v|--verbose]
            [-a|--all] [-p|--pdf] [-d|--doc] [-x|--docx] [-t|--dat] [-uo]
    aTXT [-h|--help]

Arguments:
    <file>            If <from> is none, file should be in current directory.
    --path <path>     Process the folder with path <path> and all files inside.

General Options:
    -i                Launch the (GUI) Graphical Interface.
    --from <from>     Process files from path <from>. [default: ./]
    --to <to>         Save all (*.txt) files to path <to> if <file> appears. [default: ./]
    --depth <depth>   Depth for trasvering path using depth-first-search
                      for --path option. [default: 1]
    -a, --all         Convert all allowed formats (pdf, docx, doc, dat).
    -p, --pdf         Convert files with extension (*.pdf|*.PDF).
    -x, --docx        Convert files with extension (*.docx|*.DOCX).
    -d, --doc         Convert files with extension (*.doc|*.DOC).
    -t, --dat         Convert files with extension (*.dat|*.DAT).
    -u                Use uppercase for all text processed.
    -o                Overwrite if *.txt file version yet exists.
    -h, --help        Print this help.
    -V, --version     Print current version installed.
    -v, --verbose     Print error messages.

Work inside graphical interface:

aTXT --i

Colaborating

Do you wanna colaborate with me? send me a email to prieto.jona@gmail.com or just make a pull request in the github repository.

I need some help to write testing routines for a lack of time.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aTXT-1.0.4.tar.gz (3.8 MB view details)

Uploaded Source

File details

Details for the file aTXT-1.0.4.tar.gz.

File metadata

  • Download URL: aTXT-1.0.4.tar.gz
  • Upload date:
  • Size: 3.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aTXT-1.0.4.tar.gz
Algorithm Hash digest
SHA256 3d7d45586697fefaf5d0d7e4d9a0154abc82f8b9d4f6899a538220c2f809810b
MD5 71187a8bbd39001b9b995c5936864b8e
BLAKE2b-256 eac18fba13bbe4262ed33c4d0fb335441f8ec3910bd7a04d6a2c366a519b844a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page