Skip to content

eijawa/python-factory-pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python Code style: black Checked with mypy Ruff

This project created for my article at Habr.

Python Factory pattern example

based on auto-generated module files

The main idea of this project is to show approach to develop a Factory-class, based on auto-generated dictionary from module files.

All necessary files located at src\parsers directory.

Setup

If you have not poetry, I left requirements.txt file.

Install required libraries

poetry install --with dev

Activate shell

poetry shell

Usage

python -m src

About

The main idea of this project is to show approach to develop a Factory-class, based on auto-generated dictionary from module files.

Topics

Resources

Stars

Watchers

Forks

Languages