Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hackersandslackers/googlecloud-storage-tutorial
:floppy_disk: :cloud: Tutorial for interacting with Google Cloud Storage via the Python SDK.
https://github.com/hackersandslackers/googlecloud-storage-tutorial
cloud google google-cloud-storage python python-sdk tutorial
Last synced: about 2 months ago
JSON representation
:floppy_disk: :cloud: Tutorial for interacting with Google Cloud Storage via the Python SDK.
- Host: GitHub
- URL: https://github.com/hackersandslackers/googlecloud-storage-tutorial
- Owner: hackersandslackers
- License: mit
- Created: 2019-06-18T21:18:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-13T16:37:22.000Z (4 months ago)
- Last Synced: 2024-09-14T07:29:11.315Z (4 months ago)
- Topics: cloud, google, google-cloud-storage, python, python-sdk, tutorial
- Language: Python
- Homepage: https://hackersandslackers.com/manage-files-in-google-cloud-storage-with-python/
- Size: 264 KB
- Stars: 23
- Watchers: 2
- Forks: 7
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Google Cloud Storage Python SDK Tutorial
![Python](https://img.shields.io/badge/Python-v3.10-blue.svg?logo=python&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=4c566a)
![Google Cloud Storage](https://img.shields.io/badge/Google--Cloud--Storage-v2.18.0-blue.svg?logo=Google&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=4c566a)
![GitHub Last Commit](https://img.shields.io/github/last-commit/google/skia.svg?style=flat-square&colorA=4c566a&colorB=a3be8c)
[![GitHub Issues](https://img.shields.io/github/issues/toddbirchard/tableau-extraction.svg?style=flat-square&colorA=4c566a&colorB=ebcb8b)](https://github.com/hackersandslackers/googlecloud-storage-tutorial/issues)
[![GitHub Stars](https://img.shields.io/github/stars/toddbirchard/tableau-extraction.svg?style=flat-square&colorB=ebcb8b&colorA=4c566a)](https://github.com/hackersandslackers/googlecloud-storage-tutorial/stargazers)
[![GitHub Forks](https://img.shields.io/github/forks/toddbirchard/tableau-extraction.svg?style=flat-square&colorA=4c566a&colorB=ebcb8b)](https://github.com/hackersandslackers/googlecloud-storage-tutorial/network)![Google Cloud Storage Python SDK Tutorial](./.github/[email protected])
Source for the accompanying tutorial here: [https://hackersandslackers.com/google-cloud-storage-with-python/](https://hackersandslackers.com/google-cloud-storage-with-python/)
## Getting Started
Get set up locally in two steps:
### Environment Variables
Replace the values in **.env.example** with your values and rename this file to **.env**:
* `GCP_BUCKET_URL`: URL of your Google Cloud Storage bucket.
* `GCP_BUCKET_NAME`: Name of your Google Cloud Storage bucket.
* `GCP_BUCKET_FOLDER_NAME`: Directory within your bucket to store and modify files.
* `GOOGLE_APPLICATION_CREDENTIALS`: Path to your Google Cloud Platform service account key file.### Installation
Get up and running with `make run`:
```shell
git clone https://github.com/hackersandslackers/googlecloud-storage-tutorial.git
cd googlecloud-storage-tutorial
make run
```-----
**Hackers and Slackers** tutorials are free of charge. If you found this tutorial helpful, a [small donation](https://www.buymeacoffee.com/hackersslackers) would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content.