bsamadi commited on
Commit
5d02df2
Β·
1 Parent(s): bad06f6

Track images via xet

Browse files
.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: KCH
3
- emoji: πŸŒ–
 
4
  colorFrom: green
5
  colorTo: pink
6
  sdk: docker
7
  pinned: false
8
  license: mit
9
- short_description: Kashi Coding Handbook
10
  ---
11
 
12
- To get started working with quarto we recommend you first [install quarto](https://quarto.org/docs/get-started/) locally so that you can render the site without Docker.
13
- We also recommend the [Quarto VS Code Extension](https://marketplace.visualstudio.com/items?itemName=quarto.quarto) which provides syntax highlighting, code completion, a preview button and more.
 
14
 
15
- The quarto source is located in `src` and you can preview the site with:
16
 
17
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  quarto preview src
19
  ```
20
 
21
- A web browser should open up with a live preview of the site.
 
 
22
 
23
- ## Making changes
24
 
25
- The `src/_quarto.yml` contains the site-level configuration for the quarto website and tells quarto which files to render, and how they should be organized.
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
- Quarto can render markdown, ipynb, and .qmd files, and you can mix formats in a single document.
 
 
 
 
 
 
 
29
 
30
- ## Executing code
31
 
32
- One of the main virtues of Quarto is that it lets you combine code and text in a single document.
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
- ```{python}
37
- import seaborn as sns
38
- import matplotlib.pyplot as plt
39
 
40
- # Sample data
41
- tips = sns.load_dataset("tips")
 
 
42
 
43
- # Create a seaborn plot
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
- plt.title("Tip by Total Bill")
49
- plt.show()
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

  • SHA256: f95bc30a794b18dcb4fb972c819be69ca393445c98dd443f751a39988e21bf04
  • Pointer size: 132 Bytes
  • Size of remote file: 2.2 MB
src/images/KashiAI.png ADDED

Git LFS Details

  • SHA256: da0593aff8deda126c71ed1d6264a29e23172596d3c17e704d9fca5f50f7282c
  • Pointer size: 132 Bytes
  • Size of remote file: 1.76 MB