Skip to main content

Added Requirements

Project description

DocuScan Package

DocuScan is a lightweight document scanner.

DocuScan allows users to open up document types docx,doc,pdf and return the information inside as strings.

DocuScan also allows for manipulation of this information via regular expressions.

Check out my other projects!

Requirements:

  1. zipfile

  2. io

  3. re

  4. XML

Installation:

  1. run pip install DocuScan

  2. import DocuScan

Usage:

  1. class DocuScan('fileName') to a variable.

###It is worth noting that the fileName must be in the directory.

  1. use print(variable.returnFileText())

  2. use print(variable.executeRegex('regex here'))

  3. use print(executeHeaderRegex('regex here'))

  4. use print(executeFooterRegex('regex here'))

Functionality:

  1. returnFileText() - Returns the text of a file.

  2. executeRegex(regexExpression) - creates a list of all matching cases of regexExpression

  3. executeHeaderRegex(regularExpression) - creates a list of all matching cases of regexExpression in the header XML.

  4. executeFooterRegex(regularExpression) - creates a list of all matching cases of regexExpression in the Footer XML.

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

DocuScan-0.0.1.7.3.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file DocuScan-0.0.1.7.3.tar.gz.

File metadata

  • Download URL: DocuScan-0.0.1.7.3.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for DocuScan-0.0.1.7.3.tar.gz
Algorithm Hash digest
SHA256 d7cd7d126568d92383e9a487dea6fddb3efd90fc28fc9f99d6887cac6c512ac6
MD5 264189fd3c35d9cdfc0e7de6b51b11cc
BLAKE2b-256 4439ce565c0b89b5c10806458343ba93b6ba500cf5e7eca04ef09b347b4468cc

See more details on using hashes here.

Supported by

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