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: 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-22T05:53:16.000Z (3 months ago)
- Last Synced: 2025-04-28T11:25:16.744Z (2 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: 1
- 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



[](https://github.com/hackersandslackers/googlecloud-storage-tutorial/issues)
[](https://github.com/hackersandslackers/googlecloud-storage-tutorial/stargazers)
[](https://github.com/hackersandslackers/googlecloud-storage-tutorial/network)
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.