import json
from dataclasses import asdict, dataclass
@dataclass
class Stack:
languages : tuple = ("Python", "JS/TS", "Java", "C/C++")
databases : tuple = ("MySQL", "PostgreSQL", "Redis")
libraries : tuple = ("React", "Vue", "Svelte," "HTMX")
frameworks : tuple = ("FastAPI", "Django", "Next.js")
misc_tech : tuple = ("Docker", "Celery", "RabbitMQ")
def serialize(self):
return json.dumps(asdict(self), indent=4)
stack = Stack()
print(stack.serialize())
Highlights
- Pro
Block or Report
Block or report zero-sigma
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned Loading
-
-
tinypoly
tinypoly PublicA lightweight alternative to Unpoly with zero dependencies and an identical API surface.
JavaScript
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.