ridwaanhall Profile Photo
Ridwan Halim

El-Perintis

A philosophical simulation about building from scratch versus continuing a legacy, through Python code and a narrative of struggle.

El-Perintis

Description

This repository explores the philosophy of building from scratch (pioneer) and continuing a legacy (inheritor) through two approaches: OOP and non-OOP.

The `perintis` branch contains an OOP-based simulation depicting the struggle of building a new foundation.

The `pewaris` branch contains a non-OOP approach that continues the old pattern with adaptation and reflection.

The narrative of struggle is written dynamically through Python functions and a simple API endpoint.

Inspired by the story of Ryu Kintaro and the dilemma between writing your own destiny or keeping the flame that has already been lit.

Features

OOP vs non-OOP Simulation

The `perintis` branch uses OOP to build a new foundation, while `pewaris` continues the existing system procedurally.

Struggle Narrative

Python functions illustrate the journey, failures, and victories in a social and personal context.

Simple API

FastAPI endpoint to generate the struggle narrative dynamically and contextually.

Tech Stack

Python
Python Versatile programming language for web development, data science, and automation
FastAPI
FastAPI Modern, fast web framework for building APIs with Python
pytest
pytest Framework that makes building simple and scalable test cases easy