Skip to main content

A friendly Extractor of Text

Project description

aTXT.py
=======

A Python 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.

Installing
----------

```
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 a 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.
```

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.0.tar.gz (38.9 MB view details)

Uploaded Source

File details

Details for the file aTXT-v1.0.0.tar.gz.

File metadata

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

File hashes

Hashes for aTXT-v1.0.0.tar.gz
Algorithm Hash digest
SHA256 4441f1fe82563514d4b9e8dc4d0c393caa440058afa29a296cd061eb60eab6bc
MD5 6f3b9f5fe99a88db42399f8db6ed460a
BLAKE2b-256 4d66155af187774ab5d907fb07040f71118206bad2e03ca5b3a60a2569c1d6e9

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