This package allows to download all CSV Files from GCP bucket
Project description
[]
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
Youtube Links to Tutorials
- Tutorial : https://www.youtube.com/watch?v=Cd7v8UtyFpw
Authors
Soumil Nitin Shah
Bachelor in Electronic Engineering | Masters in Electrical Engineering | Master in Computer Engineering |
- Website : https://soumilshah.herokuapp.com
- Github: https://github.com/soumilshah1995
- Linkedin: https://www.linkedin.com/in/shah-soumil/
- Blog: https://soumilshah1995.blogspot.com/
- Youtube : https://www.youtube.com/channel/UC_eOodxvwS_H7x2uLQa-svw?view_as=subscriber
- Facebook Page : https://www.facebook.com/soumilshah1995/
- Email : shahsoumil519@gmail.com
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file gcpcsvhunt-2.2.0-py3-none-any.whl
.
File metadata
- Download URL: gcpcsvhunt-2.2.0-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25dc72f6301005d7bc7054e89159141dcb9fc4ae5f5e4042f24aeaf2d330009c |
|
MD5 | 20e72c9c2359d52e60866cf6feeb7710 |
|
BLAKE2b-256 | 60abfc6908c481a46451e8aa2444a2c5fa2a059dd0256642e0e8a1d886bfd340 |