GithubHelp home page GithubHelp logo

cogniepoch / data-extractor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5 KB

Automate the extraction of data from ZIP files, offering flexibility for various data sources.

License: MIT License

Python 100.00%
automation data-extractor data-processing python python-script

data-extractor's Introduction

Data Extractor

This Python script automates the extraction of data from ZIP files, providing a flexible solution for various data sources.

Usage

  1. Clone the repository to your local machine:
    git clone https://github.com/CogniEpoch/Data-Extractor.git
    
  2. Update the script with your source and destination directories and configure ignore and stop files.
  3. Run the script:
    python data_extractor.py
    

Parameters

  • src_dir: Source directory where ZIP files are located.
  • dst_dir: Destination directory where files will be extracted.
  • ignore_files: List of files to ignore during extraction (optional).
  • stop_files: List of files to stop extraction at (optional).

Warning

Specify the src_dir and dst_dir to match your file locations.

Example

Specify source and destination directories:

src_dir = '/content/'
dst_dir = '/content/unzipped'

Specify files to ignore and stop extraction (optional):

ignore_files = ['this.zip', 'that.zip']
stop_files = ['these.zip', 'those.zip']

Important

Ensure that you have a clear understanding of the files in your source directory before running the script.
The script extracts all ZIP files up to the specified stop files and will ignore extracting the provided ignore files (if provided).

Caution

Disclaimer:
This script is for organizational purposes and assumes the user understands the structure of their data files.

data-extractor's People

Contributors

cogniepoch avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.