publish v1

This commit is contained in:
Mathias DUPEUX 2025-03-05 15:41:26 +01:00
commit 761e6d810a
21 changed files with 526 additions and 0 deletions

8
classes.py Normal file
View file

@ -0,0 +1,8 @@
class Article:
def __init__(self, template, title, category="uncategorized"):
self.template = template
self.title = title
self.category = "uncategorized" if category == None else category
def __repr__(self):
return f'Article(title="{self.title}")'