Skip to content

Python social network implementation using object‑oriented design. (OOP_EX2)

Notifications You must be signed in to change notification settings

BarYechezkel/python-oop-social-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python OOP Social Network

Overview

This project is a Python implementation of a basic social network, developed as part of an Object‑Oriented Programming course (OOP EX2).
It demonstrates object‑oriented design principles including classes, encapsulation, and interactions between objects.

Topics Covered

  • Object‑Oriented Programming (OOP) in Python
  • Class design and interaction
  • Modeling real‑world entities (Users, Posts)
  • Basic simulation of social network behavior

Repository Structure

main.py User.py SocialNetwork.py Post.py auto_check.py output.txt image1.jpg

  • main.py – Entry point for running the simulation
  • User.py – Defines the User class
  • SocialNetwork.py – Defines the SocialNetwork class and logic
  • Post.py – Defines the Post class
  • auto_check.py – Script for automated tests / validation
  • output.txt – Sample output

Technologies

  • Python 3
  • Object‑Oriented Programming fundamentals

How to Run

Run the main program:

python3 main.py

See documentation in code comments or sample output in output.txt.

Example Output

Sample results from a run are included in output.txt and show:

User creation Post creation Interactions between users

Skills Demonstrated

This project demonstrates:

  • Clean OOP design in Python
  • Modeling of real‑world systems in code
  • Use of classes, methods, and object interaction

About

Python social network implementation using object‑oriented design. (OOP_EX2)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages