https://github.com/cfryerdev/python-learning
A repository aimed at teaching me the basics of Python
https://github.com/cfryerdev/python-learning
Last synced: 4 days ago
JSON representation
A repository aimed at teaching me the basics of Python
- Host: GitHub
- URL: https://github.com/cfryerdev/python-learning
- Owner: cfryerdev
- Created: 2025-05-29T23:13:12.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-04T20:00:09.000Z (about 1 year ago)
- Last Synced: 2025-06-04T23:59:16.261Z (about 1 year ago)
- Language: Python
- Size: 519 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# People Agentic Microservice API
A simple agentic microservice API to manage a list of people, built with Python, FastAPI, and SQLite.
## Documentation
- [New to Python](./.docs/LEARNING.md) - Learning Python? Start here...
- [The Solution](./.docs/SOLUTION.md) - A breakdown of the code solution
- [Claude Desktop](./.claude/README.md) - Sample integration with Claude Desktop
- [LLM Integration](./.docs/LLM.md) - More information about the LLM integration (OpenAI & Semantic Kernel)
- [MCP Integration](./.docs/MCP.md) - All things MCP
- [Architecture Details](./.docs/ARCHITECTURE.md) - The architecture of the solution
## Features
- CRUD operations for people (Create, Read, Update, Delete)
- Swagger UI for API documentation and testing
- SQLite database for persistence
- Configuration via `.env` file
## Setup and Run
1. **Create a virtual environment (recommended):**
```bash
python3 -m venv venv
source venv/bin/activate
```
2. **Install dependencies:**
```bash
pip install -r requirements.txt
```
3. **Run the application:**
```bash
uvicorn main:app --reload --host 0.0.0.0 --port 8000
```
The API will be available at `http://127.0.0.1:8000` and the Swagger UI at `http://127.0.0.1:8000/docs`.
## Running the unit tests
You can run the unit tests with the following command:
```bash
python -m pytest -v
```
Or by using pytest directly:
```bash
pytest -v
```