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


  • Author: Jonathan Prieto

  • Email:

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


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


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

pip install aTXT


aTXT --help

Console shows:

A friendly Extractor of Text for Data Mining

    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]

    <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


Do you wanna colaborate with me? send me a email to 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-v1.0.3.tar.gz (3.8 MB view hashes)

Uploaded Source

Supported by

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