Skip to content

Commit 96800f9

Browse files
committed
Add frameworks page to CJ9
1 parent 477502b commit 96800f9

File tree

3 files changed

+117
-0
lines changed

3 files changed

+117
-0
lines changed

pydis_site/templates/events/pages/code-jams/9/_index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ <h3 id="how-to-join"><a href="#how-to-join">How to Join</a></h3>
3434
<p>The Qualifier isn't released yet, but to receive the most up-to-date information and to get notified
3535
when the Qualifier is released you can join the server: <a href="https://discord.gg/python">discord.gg/python</a>.</p>
3636

37+
<h3 id="technology"><a href="#technology">Technology</a></h3>
38+
<p>
39+
The chosen technology/tech stack for this year is <strong>WebSockets</strong>.
40+
Each team must make use of <a href="{% url "events:page" path="code-jams/9/frameworks" %}">the approved frameworks</a> to create a WebSockets-based app.
41+
For more information of websockets, check out <a href="https://en.wikipedia.org/wiki/WebSocket" target="_blank" rel="noopener">this wikipedia article</a>.
42+
</p>
43+
3744
<h3 id="prizes"><a href="#prizes">Prizes</a></h3>
3845
<p>
3946
Our Code Jam Sponsors have provided prizes for the winners of the code jam.
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
{% extends "events/base_sidebar.html" %}
2+
3+
{% load static %}
4+
5+
{% block title %}Summer Code Jam 2022{% endblock %}
6+
7+
{% block breadcrumb %}
8+
<li><a href="{% url "events:index" %}">Events</a></li>
9+
<li><a href="{% url "events:page" path="code-jams" %}">Code Jams</a></li>
10+
<li><a href="{% url "events:page" path="code-jams/9" %}">Summer Code Jam 2022</a></li>
11+
<li class="is-active"><a href="#">Approved Frameworks</a></li>
12+
{% endblock %}
13+
14+
{% block event_content %}
15+
<p>Below is the list of approved frameworks that you can use for the code jam.
16+
Please work with your team to choose a library that everyone can and want to develop with.
17+
If there is a library not listed below that you think should be here, you're welcome to discuss it with the Events Team over at <a href="https://discord.gg/HnGd3znxhJ">the server</a>.
18+
</p>
19+
<div class="card mb-4">
20+
<div class="card-content">
21+
<div class="content">
22+
<p class="subtitle">websockets</p>
23+
<p class="is-italic">websockets is a library for building WebSocket servers and clients in Python with a focus on correctness, simplicity, robustness, and performance.
24+
Built on top of asyncio, Python’s standard asynchronous I/O framework, it provides an elegant coroutine-based API.
25+
</p>
26+
</div>
27+
</div>
28+
<div class="card-footer">
29+
<a href="https://websockets.readthedocs.io/en/stable" class="card-footer-item"><i class="fas fa-book"></i>&ensp;Documentation</a>
30+
<a href="https://github.com/aaugustin/websockets" class="card-footer-item"><i class="fab fa-github"></i>&ensp;GitHub</a>
31+
</div>
32+
</div>
33+
<div class="card mb-4">
34+
<div class="card-content">
35+
<div class="content">
36+
<p class="subtitle">Flask-SocketIO</p>
37+
<p class="is-italic">Flask-SocketIO gives Flask applications access to low latency bi-directional communications between the clients and the server.
38+
</p>
39+
</div>
40+
</div>
41+
<div class="card-footer">
42+
<a href="https://flask-socketio.readthedocs.io/en/latest" class="card-footer-item"><i class="fas fa-book"></i>&ensp;Documentation</a>
43+
<a href="https://github.com/miguelgrinberg/flask-socketio" class="card-footer-item"><i class="fab fa-github"></i>&ensp;GitHub</a>
44+
</div>
45+
</div>
46+
<div class="card mb-4">
47+
<div class="card-content">
48+
<div class="content">
49+
<p class="subtitle">Django Channels</p>
50+
<p class="is-italic">Channels is a project that takes Django and extends its abilities beyond HTTP - to handle WebSockets, chat protocols, IoT protocols, and more.
51+
It’s built on a Python specification called ASGI.
52+
</p>
53+
</div>
54+
</div>
55+
<div class="card-footer">
56+
<a href="https://channels.readthedocs.io/en/stable" class="card-footer-item"><i class="fas fa-book"></i>&ensp;Documentation</a>
57+
<a href="https://github.com/django/channels" class="card-footer-item"><i class="fab fa-github"></i>&ensp;GitHub</a>
58+
</div>
59+
</div>
60+
<div class="card mb-4">
61+
<div class="card-content">
62+
<div class="content">
63+
<p class="subtitle">wsproto</p>
64+
<p class="is-italic">wsproto is a WebSocket protocol stack written to be as flexible as possible.
65+
To that end it is written in pure Python and performs no I/O of its own.
66+
Instead it relies on the user to provide a bridge between it and whichever I/O mechanism is in use, allowing it to be used in single-threaded, multi-threaded or event-driven code.
67+
</p>
68+
</div>
69+
</div>
70+
<div class="card-footer">
71+
<a href="https://python-hyper.org/projects/wsproto/en/stable" class="card-footer-item"><i class="fas fa-book"></i>&ensp;Documentation</a>
72+
<a href="https://github.com/python-hyper/wsproto" class="card-footer-item"><i class="fab fa-github"></i>&ensp;GitHub</a>
73+
</div>
74+
</div>
75+
<div class="card mb-4">
76+
<div class="card-content">
77+
<div class="content">
78+
<p class="subtitle">Starlette</p>
79+
<p class="is-italic">Starlette is a lightweight ASGI framework/toolkit, which is ideal for building async web services in Python.
80+
</p>
81+
</div>
82+
</div>
83+
<div class="card-footer">
84+
<a href="https://www.starlette.io/websockets" class="card-footer-item"><i class="fas fa-book"></i>&ensp;Documentation</a>
85+
<a href="https://github.com/encode/starlette" class="card-footer-item"><i class="fab fa-github"></i>&ensp;GitHub</a>
86+
</div>
87+
</div>
88+
<div class="card mb">
89+
<div class="card-content">
90+
<div class="content">
91+
<p class="subtitle">FastAPI</p>
92+
<p class="is-italic">FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
93+
</p>
94+
</div>
95+
</div>
96+
<div class="card-footer">
97+
<a href="https://fastapi.tiangolo.com/advanced/websockets" class="card-footer-item"><i class="fas fa-book"></i>&ensp;Documentation</a>
98+
<a href="https://github.com/tiangolo/fastapi" class="card-footer-item"><i class="fab fa-github"></i>&ensp;GitHub</a>
99+
</div>
100+
</div>
101+
102+
103+
{% endblock %}
104+
105+
{% block sidebar %}
106+
107+
{% include "events/sidebar/code-jams/9.html" %}
108+
109+
{% endblock %}

pydis_site/templates/events/sidebar/code-jams/9.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<div class="panel">
33
<p class="panel-heading">Important Links</p>
44
<a class="panel-block has-text-link" href="{% url "events:page" path="code-jams/9/rules" %}">Rules</a>
5+
<a class="panel-block has-text-link" href="{% url "events:page" path="code-jams/9/frameworks" %}">Approved Frameworks</a>
56
<a class="panel-block has-text-link" href="{% url "events:page" path="code-jams/code-style-guide" %}">The Code Style Guide</a>
67
</ul>
78
</div>

0 commit comments

Comments
 (0)