Metadata-Version: 2.4
Name: quicksnip
Version: 1.0.0
Summary: A fast, terminal-based code snippet manager
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click>=8.0
Requires-Dist: rich>=13.0
Requires-Dist: pyperclip>=1.8
Dynamic: license-file

# snip

> A fast, terminal-based code snippet manager for developers

[![PyPI](https://img.shields.io/pypi/v/snip.svg)](https://pypi.org/project/snip/)
[![Python](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)

![demo](demo.gif)

## Why snip?

Tired of searching through old projects for that one function you wrote? **snip** lets you save, search, and copy code snippets right from your terminal.

## Features

- **Fast** - Search and copy snippets in milliseconds
- **Fuzzy search** - Find snippets by name, description, or code
- **Tags & languages** - Organize your snippets
- **Clipboard integration** - Copy with one command
- **Import/Export** - Backup and share your snippets
- **Syntax highlighting** - Beautiful code display

## Installation

```bash
pip install snip
```

## Usage

### Add a snippet
```bash
snip add my-function -d "Quick sort implementation" -l python -t "algorithms,sorting" -c "def quicksort(arr): ..."
```

### Search snippets
```bash
snip search "sort"
snip search -l python
snip search -t algorithms
```

### Copy to clipboard
```bash
snip copy my-function
```

### List all snippets
```bash
snip list
snip list -l python
```

### Show a snippet
```bash
snip show my-function
```

### Export/Import
```bash
snip export backup.json
snip import backup.json
```

## License

MIT
