Skip to main content

SGET

asciicast

INSTALL WITH AND PIP

pip install sget

INSTALL WITH GIT AND PIP

git clone git@github.com:ONordander/sget.git
cd sget
pip install .

QUICKSTART

# Add a snippet
sget add "grep -r sget"

# Add a snippet template with <$>, will prompt for a value at <$>.
sget add "scp sget@192.168.0.10:<$> ."

# Add many snippets from a .toml file
curl https://raw.githubusercontent.com/ONordander/snippets/master/unix.toml -o unix.toml
sget install unix.toml

# Run a snippet from search prompt
sget

# Run a snippet by name
sget run grep_sget

# Remove snippet by name (leaving the name blank will start a search prompt)
sget rm grep_sget

# List all snippets (with optional group)
sget list -g unix

# Clear all snippets
sget clear

Vim integration

nnoremap <expr> <Leader>s ":!sget cp<Space>" . input("Snippet name (leave blank to search): ") . "<CR>"

Metadata

Release files for sget 0.1.0

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

Source distribution (sdist)

Source distribution for sget 0.1.0
File Size Uploaded
sget-0.1.0.tar.gz 10.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sget 0.1.0
File Interpreter ABI Platform
sget-0.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 26.3 kB

Release files / sget-0.1.0.tar.gz

Download URL sget-0.1.0.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3f51ae0d4e8f89bbcd79bf8e90047363a37c8a2a965e0f440a2f01829ea267ee
BLAKE2b-256 checksum
How to use checksums
3255bb3a3eec23f931a153ab6a9ae62f7eb8c94d2ba738d3abc842b8dc75e832
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/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Release files / sget-0.1.0-py2.py3-none-any.whl

Download URL sget-0.1.0-py2.py3-none-any.whl
Size 15.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cffbc353358bbc5797f298a71133bb040e0dd17aa7ce884bb950ccac2a8342ff
BLAKE2b-256 checksum
How to use checksums
afe339f7b74516a753704a4fb129aa83c361183504675b8ad8c7fde6cbfc4c3d
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/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.1.0 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