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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pgcs-0.1.2.tar.gz.

File metadata

  • Download URL: pgcs-0.1.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.8.18 Linux/6.5.0-1016-azure

File hashes

Hashes for pgcs-0.1.2.tar.gz
Algorithm Hash digest
SHA256 419503d555076b5ed7387a56ec69e392374c5b470cf37be5443ec377c1b01f8d
MD5 dfbd1d7d58f59f6f0ab815cb75d5b874
BLAKE2b-256 0e00d3238b859992a2239c9eff9fb580babf3e9ffe906c45b6f7eba267cff9bd

See more details on using hashes here.

File details

Details for the file pgcs-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pgcs-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.8.18 Linux/6.5.0-1016-azure

File hashes

Hashes for pgcs-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e7e0b786755cd35a5b4e999a08796699c7d192fe7df839fcf6da0f335fa591db
MD5 9e6a3c871ddd69eb813a1929919da8bc
BLAKE2b-256 b711880147927b1f85b604cd431fc898cfa76eb27b0affc8376aab0dbf57713a

See more details on using hashes here.

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