Skip to main content

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

Release files for ingi-cli 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ingi-cli 0.1.1
File Size Uploaded
ingi-cli-0.1.1.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ingi-cli 0.1.1
File Interpreter ABI Platform
ingi_cli-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.5 kB

Release files / ingi-cli-0.1.1.tar.gz

Download URL ingi-cli-0.1.1.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4ad40972e59037c18500c319b1347a5274c74d79d6bc838d2228705dd93481cc
BLAKE2b-256 checksum
How to use checksums
92dd85211f9ef363046476b27e0286b724abf1c77ebc5a6f4b6a174242bce2e4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ingi_cli-0.1.1-py3-none-any.whl

Download URL ingi_cli-0.1.1-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82214a41c35fed35b881e1baf8986c90ff3285ed54ee6b95d328ce186660bfb8
BLAKE2b-256 checksum
How to use checksums
3e8ce3736808646325b0db8708598ce69fc0839f035fada42388a84e4495996e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page