Skip to main content

A CLI tool for gists like no other. Run, download and help build a searchable gist API

Project description

ingi-cli

A CLI tool for gists like no other. Run, download and help build a searchable gist API

Build Status Python version Coverage Status

Features

  • Run gists directly from your bash. Multiple language support (python, ruby, shell, node)
  • Offline cache for gists

Installation

ingi assumes that any required binaries for executing gists are installed on your system, if not then it will fail.

Install the cli tool through pip:

pip install ingi-cli

Usage

Invoking a gist

ingi get https://api.github.com/gists/ac5a0fb49370e7cff3bee93ecc40b9a8

or use the gist ID

ingi get --use_id ac5a0fb49370e7cff3bee93ecc40b9a8

You can also just cache the gist to use later

ingi get --save_only --use_id ac5a0fb49370e7cff3bee93ecc40b9a8

TODO & Improvements

  • Implementing a gist index to search gists programmatically. Any gists executed locally get automatically inserted and indexed on API to be used. This will provide us with a rest API to search for gists 😀.

  • Configurable invoke queue, like an invoke.yaml which lists a bunch of gists to execute in order.

  • arguments to be passed to scripts, for e.g:

ingi get --use_id ac5a0fb49370e7cff3bee93ecc40b9a8 first_arg second_arg

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

ingi-cli-0.1.1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

ingi_cli-0.1.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file ingi-cli-0.1.1.tar.gz.

File metadata

  • Download URL: ingi-cli-0.1.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for ingi-cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4ad40972e59037c18500c319b1347a5274c74d79d6bc838d2228705dd93481cc
MD5 5532662765c28e693479629b1603b9c0
BLAKE2b-256 92dd85211f9ef363046476b27e0286b724abf1c77ebc5a6f4b6a174242bce2e4

See more details on using hashes here.

File details

Details for the file ingi_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ingi_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for ingi_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82214a41c35fed35b881e1baf8986c90ff3285ed54ee6b95d328ce186660bfb8
MD5 4630387f7b64d36499e8b855142864d2
BLAKE2b-256 3e8ce3736808646325b0db8708598ce69fc0839f035fada42388a84e4495996e

See more details on using hashes here.

Supported by

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