Skip to main content

This package allows to download all CSV Files from GCP bucket

Project description

[license]

GCPCsvHunt

what is GCPCsvHunt ?

  • GCP Csv Hunt is a open Source Python Modules that allows you to download all the Files from the GCP bucket with 2 lines of python code check ouyt the example on How to use it

Dependencies

pip install google-cloud-storage
pip install pandas

Installation

pip install GCPCsvHunt

Usage

from gcpcsvhunt.gcpcsvhunt import GCPCsvHunt


pathToJsonFile = 'PATH TO YOUR JSON FILE '
BucketName = 'BUCKET NAME GOES HERE '
prefix = ''             # Searches in Outer Directory

obj = GCPCsvHunt(path=pathToJsonFile, bucketName=BucketName)

data = obj.getAllCSV(prefix=prefix)         # Return list of Objects

df1 = data.pop()                            # Pop the First Pandas Object
print(df1.data)                             # Print Pandas Data Frame

Screen Shot 2019-12-28 at 11 45 22 AM

Youtube Links to Tutorials

Authors

Soumil Nitin Shah

Bachelor in Electronic Engineering | Masters in Electrical Engineering | Master in Computer Engineering |

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Project details


Release history Release notifications

Download files

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

Files for gcpcsvhunt, version 2.2.0
Filename, size File type Python version Upload date Hashes
Filename, size gcpcsvhunt-2.2.0-py3-none-any.whl (15.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page