Metadata-Version: 2.5
Name: fsdpythons
Version: 0.1.0
Summary: React practical slips: slip-wise code, guides and solved projects
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# fsdpythons

React practical slips (1 to 21): all code slip-wise with folder structure and file paths, guides with commands, explanations and viva questions, plus a solved project for each slip.

## Install

```powershell
python -m pip install fsdpythons
```

## Use

```powershell
fsdpythons              # all code, slip by slip (Enter = next, a = all, q = quit)
fsdpythons code 8       # code of slip 8 only
fsdpythons code --all   # all code without pausing
fsdpythons txt          # save ALL_SLIPS_CODE.txt in the current folder
fsdpythons menu         # interactive menu
fsdpythons list         # all slips
fsdpythons start        # basics: how to write React code
fsdpythons show 8       # guide for slip 8
fsdpythons get 8        # copy slip 8 project into .\slip8
fsdpythons export       # copy everything into .\practical-slips
fsdpythons viva         # viva questions
```

If PowerShell says `fsdpythons` is not recognized, use `python -m fsdpythons` instead, for example `python -m fsdpythons list`.

## Use from Python

```python
import fsdpythons

print(fsdpythons.list_slips())
print(fsdpythons.get_code(1))
print(fsdpythons.get_guide(1))
fsdpythons.export_slip(1, "my_folder")
```

## Running a copied project

The slips are React projects. Install Node.js (22 LTS recommended) separately, then:

```powershell
cd slip8
npm install
npm run dev
```

## Rebuild after changing the slips

```powershell
python sync.py
python -m build
```
