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

# fpythons

React (FSD) 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.

It covers the React question of each slip, not the Selenium question.

## Install

```powershell
python -m pip install fpythons
```

## Use

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

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

## Use from Python

```python
import fpythons

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

## Running a copied project

The package does not include Node.js or `node_modules`. Install Node.js, then:

```powershell
cd slip8
npm install
npm start
```

## Rebuild after changing the code

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