Track images via xet
Browse files- .gitattributes +1 -0
- README.md +66 -28
- scripts/install-xet.sh +3 -0
- src/images/KashiAI-logo.png +3 -0
- src/images/KashiAI.png +3 -0
.gitattributes
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 1 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 2 |
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 3 |
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 4 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,50 +1,88 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
|
|
|
| 4 |
colorFrom: green
|
| 5 |
colorTo: pink
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
license: mit
|
| 9 |
-
short_description: Kashi Coding Handbook
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
| 13 |
-
|
|
|
|
| 14 |
|
| 15 |
-
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
quarto preview src
|
| 19 |
```
|
| 20 |
|
| 21 |
-
|
|
|
|
|
|
|
| 22 |
|
| 23 |
-
##
|
| 24 |
|
| 25 |
-
The `src/_quarto.yml`
|
| 26 |
-
For example if you wanted to modify the [site navigation](https://quarto.org/docs/reference/site-navigation.html) you should modify this file.
|
| 27 |
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
-
|
| 31 |
|
| 32 |
-
|
| 33 |
-
By default if you include a code chunk in your document, Quarto will execute that code and include the output in the rendered document.
|
| 34 |
-
This is great for reproducibility and for creating documents that are always up-to-date.
|
| 35 |
|
| 36 |
-
|
| 37 |
-
import seaborn as sns
|
| 38 |
-
import matplotlib.pyplot as plt
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
|
|
|
|
|
|
| 42 |
|
| 43 |
-
|
| 44 |
-
sns.set_style("whitegrid")
|
| 45 |
-
g = sns.lmplot(x="total_bill", y="tip", data=tips, aspect=2)
|
| 46 |
-
g = (g.set_axis_labels("Total bill (USD)", "Tip").set(xlim=(0, 60), ylim=(0, 12)))
|
| 47 |
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Kashi Coding Handbook
|
| 3 |
+
description: A handbook for coding best practices and guidelines
|
| 4 |
+
author: KashiAI
|
| 5 |
colorFrom: green
|
| 6 |
colorTo: pink
|
| 7 |
sdk: docker
|
| 8 |
pinned: false
|
| 9 |
license: mit
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
+
<p align="center">
|
| 13 |
+
<img src="src/images/KashiAI.png" alt="KashiAI Logo" width="220"/>
|
| 14 |
+
</p>
|
| 15 |
|
| 16 |
+
# Kashi Coding Handbook
|
| 17 |
|
| 18 |
+
**Build AI-powered CLI tools with Python, from modern packaging to production deployment.**
|
| 19 |
+
|
| 20 |
+
## What is this?
|
| 21 |
+
|
| 22 |
+
The Kashi Coding Handbook is a comprehensive, project-driven guide for:
|
| 23 |
+
- Python developers and data scientists building robust CLI tools
|
| 24 |
+
- AI engineers integrating LLMs and multi-agent systems
|
| 25 |
+
- Anyone seeking reproducible, production-grade Python workflows
|
| 26 |
+
|
| 27 |
+
The handbook is a Quarto website ([see `src/`](src/)) with:
|
| 28 |
+
- 7 core chapters (see `src/chapters/`)
|
| 29 |
+
- Real-world projects (see [`docs/projects/`](docs/projects/))
|
| 30 |
+
- A 12-month [content plan](docs/content-plan.md) and [learning path](docs/learning-path.md)
|
| 31 |
+
- Deep dives on [Docker AI](docs/docker-ai.md), MCP, and more
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
## Quickstart
|
| 36 |
+
|
| 37 |
+
```bash
|
| 38 |
+
# 1. Install Quarto (https://quarto.org/docs/get-started/)
|
| 39 |
+
# 2. Clone this repo and install dependencies (pixi recommended)
|
| 40 |
+
git clone <this-repo-url>
|
| 41 |
+
cd KCH
|
| 42 |
+
pixi install
|
| 43 |
+
# 3. Preview the site
|
| 44 |
quarto preview src
|
| 45 |
```
|
| 46 |
|
| 47 |
+
We recommend the [Quarto VS Code Extension](https://marketplace.visualstudio.com/items?itemName=quarto.quarto) for syntax highlighting, code completion, and live preview.
|
| 48 |
+
|
| 49 |
+
---
|
| 50 |
|
| 51 |
+
## Handbook Structure
|
| 52 |
|
| 53 |
+
The handbook is organized as follows (see [`src/_quarto.yml`](src/_quarto.yml)):
|
|
|
|
| 54 |
|
| 55 |
+
- **Chapter 1: Foundation Setup** β Environment, project structure
|
| 56 |
+
- **Chapter 2: CLI Development** β Typer, config management
|
| 57 |
+
- **Chapter 3: AI Integration** β HuggingFace, Docker, MCP, prompt engineering
|
| 58 |
+
- **Chapter 4: Advanced Features** β Interactive elements, batch processing
|
| 59 |
+
- **Chapter 5: Testing & Quality** β Tests, code quality
|
| 60 |
+
- **Chapter 6: Publishing** β Packaging, PyPI
|
| 61 |
+
- **Chapter 7: Real-World Projects** β e.g., [FileOrganizer](docs/projects/FileOrganizer.md)
|
| 62 |
+
- **Appendices** β Pixi commands, learning resources
|
| 63 |
|
| 64 |
+
See [`src/chapters/`](src/chapters/) for all chapter sources.
|
| 65 |
|
| 66 |
+
---
|
|
|
|
|
|
|
| 67 |
|
| 68 |
+
## Documentation & Resources
|
|
|
|
|
|
|
| 69 |
|
| 70 |
+
- [Learning Path](docs/learning-path.md): Step-by-step curriculum
|
| 71 |
+
- [Content Plan](docs/content-plan.md): 12-month roadmap
|
| 72 |
+
- [Docker AI Guide](docs/docker-ai.md): LLM/MCP deployment
|
| 73 |
+
- [Project Blueprints](docs/projects/): Real-world project specs
|
| 74 |
|
| 75 |
+
---
|
|
|
|
|
|
|
|
|
|
| 76 |
|
| 77 |
+
## Contributing
|
| 78 |
+
|
| 79 |
+
Contributions, suggestions, and questions are welcome!
|
| 80 |
+
1. Fork the repo and create a feature branch
|
| 81 |
+
2. Open a pull request with a clear description
|
| 82 |
+
3. For major changes, please open an issue first to discuss
|
| 83 |
+
|
| 84 |
+
---
|
| 85 |
+
|
| 86 |
+
## License
|
| 87 |
+
|
| 88 |
+
MIT
|
scripts/install-xet.sh
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
|
| 3 |
+
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/huggingface/xet-core/refs/heads/main/git_xet/install.sh | sh
|
src/images/KashiAI-logo.png
ADDED
|
Git LFS Details
|
src/images/KashiAI.png
ADDED
|
Git LFS Details
|