Skip to main content

Pgcs is an intuitive TUI tool designed to simplify your interaction with Google Cloud Storage. Stay in your coding zone by navigating directories, searching files (with case-insensitive support), and previewing files all from your terminal. Easily save paths to clipboard or download files with straightforward keyboard shortcuts. Experience a seamless Cloud Storage interaction right from your terminal; no more swapping to a browser. Stimulate your productivity with Pgcs.

Project description

image PyPI PyPI - Python Version GitHub

Pgcs

Pgcs is an intuitive TUI tool designed to simplify your interaction with Google Cloud Storage. Stay in your coding zone by navigating directories, searching files (with case-insensitive support), and previewing files all from your terminal. Easily save paths to clipboard or download files with straightforward keyboard shortcuts. Experience a seamless Cloud Storage interaction right from your terminal; no more swapping to a browser.

Features

  • Navigate through directories with left and right arrows
  • Peco-like search UI
  • Case-insensitive search
  • Preview of the file is available
  • Press 'ctrl-p' to save the path to clipboard
  • Press 'ctrl-d' to download

Installation

$ pip install pgcs

Usage

[!IMPORTANT] Both gcloud auth login and gcloud auth application-default login are required.

command description
pg or pg traverse navigate through Google Cloud Storage directories
pg pref --init initialize or reset preferences file
pg pref <key> <value> set preference with key to value

[!Note] If you want to use clipboard functionality on Linux without a GUI, you need to execute the following. Below is an example.

$ sudo apt-get install xvfb
$ sudo apt-get install xclip
$ Xvfb :99 -screen 0 1280x720x16 &
$ export DISPLAY=:99

Versioning

This repo uses Semantic Versioning.

License

pgcs is released under the MIT License. See LICENSE for additional details.

Project details


Download files

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

Source Distribution

pgcs-0.1.2.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

pgcs-0.1.2-py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page