Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions _data/events.json

This file was deleted.

8 changes: 8 additions & 0 deletions _data/sponsored_events.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"2024": ["PyTexas", "PyOhio", "PyCon Africa", "PyCon South Africa", "PyCon Zimbabwe", "PyCon Nigeria", "IndabaX - Botswana", "PyCon Uganda", "PyHo - Ghana"],
"2025": {
"Africa": ["Django Girls - Ho", "PyCon Africa", "DjangoCon Africa", "IndabaX - Botswana", "PyCon Namibia", "PyTogo", "Zero to Hero Mentorship Program - Nigeria"],
"North America": ["PyTexas Foundation", "PyOhio", "PyBeach"],
"South America": ["Ubuntu Tech - Colombia", "Django Girls - Colombia"]
}
}
38 changes: 28 additions & 10 deletions _layouts/sponsored-events.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,38 @@
{% extends 'default.html' %}
{% block content %}
<section>
<h1>Upcoming Conferences</h1>
<h1>Supported Events</h1>

<p>Black Python Devs aims to partner with Python conferences around the world to increase the visibility and opportunities for Black leadership in the Python community. We understand that when you put qualified individuals on stage and at conferences it increases their value and opportunities for employment.</p>
<p>Black Python Devs aims to partner with Python conferences and events around the world to increase the visibility and opportunities for Black developers and leaders in the Python community.</p>

<p>Here are some highlighted upcoming conferences where you can find Black Python Developers involved on stage or behind the scenes</p>
<p>We believe that sponsorships does the following:</p>
<ul>
<li>👫 - raises awareness amongst our community to attend events.</li>
<li>🌐 - supports Python events that are accessible to black communities</li>

{% for conference in conferences %}
{% include '_includes/conferences.html' %}
{% endfor %}
</ul>
<p>Here is a look at events this year that we've supported:</p>
</section>

<h2>Regular Meetups</h2>
<section>
<h2>Events Sponsored in {{year}}</h2>
<section class="grid">
{% for segment in data[year] | sort %}
<article>
<h3>{{segment}}</h3>
{% for event in data[year][segment] | sort %}
<p>{{event}}</p>
{% endfor %}
</article>
{% endfor %}
</section>

<p>Join us every Friday for a cup of coffee and a chance to code with fellow Python enthusiasts. Our community is open to all levels of experience, from beginners to experts.</p>
<p>Interested in Black Python Devs supporting your event. Review our <a href="https://github.com/BlackPythonDevs/blackpythondevs/blob/main/policies/event-grants.md#22-budget-considerations">Grant Criteria</a> and email your prospectus to <a href="mailto:sponsorships@blackpythondevs.com">sponsorships@blackpythondevs.com</a></p>
</section>

<section>
<h2>Regular Meetups</h2>

<p>We'll be discussing the latest trends in Python development, sharing tips and tricks, and working on projects together. Whether you're looking to learn something new or just want to hang out with like-minded people, this is the perfect opportunity to do so. We look forward to seeing you there!</p>
<p>Join us every Friday for a cup of coffee and a chance to code with fellow Python enthusiasts. Our community is open to all levels of experience, sharing tips and tricks, and working on projects together. Whether you're looking to learn something new or just want to hang out with like-minded people, this is the perfect opportunity to do so. We look forward to seeing you there!</p>
</section>
{% endblock %}
{%endblock %}
9 changes: 7 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import yaml
import pathlib
import datetime
import json
import pathlib

import yaml

from render_engine import Site, Page, Collection, Blog
from render_engine_markdown import MarkdownPageParser

Expand Down Expand Up @@ -54,6 +57,8 @@ class Support(Page):
class SponsoredEvents(Page):
template = "sponsored-events.html"
slug = "sponsored-events"
data = json.loads(pathlib.Path("_data/sponsored_events.json").read_text())
template_vars = {"year": str(datetime.date.today().year)}


@app.collection
Expand Down
Loading