Skip to content
This repository was archived by the owner on Oct 29, 2022. It is now read-only.

Commit e2e6081

Browse files
committed
add website
1 parent f9dcfd8 commit e2e6081

File tree

16 files changed

+1442
-23
lines changed

16 files changed

+1442
-23
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,7 @@ dmypy.json
127127

128128
# Pyre type checker
129129
.pyre/
130-
.direnv
130+
.direnv
131+
node_modules
132+
.envrc
133+
output

app/__init__.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
from render_engine.site import Site
2+
from render_engine.blog import Blog
3+
from render_engine.page import Page
4+
5+
6+
class Site(Site):
7+
output_path = 'output'
8+
site_vars: dict = {
9+
"SITE_TITLE": "Python Community News",
10+
"SITE_URL": "https://pythoncommunitynews.com"
11+
}
12+
13+
if __name__ == '__main__':
14+
site = Site(static="static")
15+
16+
@site.render_page
17+
class index(Page):
18+
template = 'index.html'
19+
20+
@site.render_collection
21+
class archive(Blog):
22+
has_archive = True
23+
output_path = './'
24+
content_path = './app/content'
25+
template = 'new_post.html'
26+
archive_template: str = 'archive.html'

app/content/2022-08-26.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
---
22
title: Weekly Community News - 2022-08-26
33
date: 2022-08-26 15:00
4-
tags:
4+
tags: industry, conferences, security
55
---
66

77

8-
# Heroku ends free tier
8+
<iframe width="560" height="315" src="https://www.youtube.com/embed/_xyKDQJxNOg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
9+
10+
## Topics
11+
### Heroku ends free tier
912

1013
<small>Submitted by: [jonafato](https://api.github.com/users/jonafato) on 2022-08-26T17:47:10Z</small>
1114

@@ -14,7 +17,7 @@ URL: https://blog.heroku.com/next-chapter
1417
Heroku is ending its free tier and plans to remove "inactive" accounts.
1518

1619

17-
# Phishing attack targeting PyPI users
20+
### Phishing attack targeting PyPI users
1821

1922
<small>Submitted by: [jonafato](https://api.github.com/users/jonafato) on 2022-08-26T17:19:18Z</small>
2023

@@ -23,7 +26,7 @@ URL: https://twitter.com/pypi/status/1562442188285308929
2326
A phishing attack has targeted maintainers of projects hosted on https://pypi.org. This attack comes less than two months after PyPI [announced a plan](https://twitter.com/pypi/status/1545455297388584960) to require 2FA for "critical" packages. The PyPI admins have taken down malicious releases including several "typosquat" packages, and temporarily frozen affected maintainer accounts. Additionally, they have extended the [2FA security key giveaway](https://pypi.org/security-key-giveaway/) to include eligible maintainers that already have TOTP-based 2FA enabled on their accounts. At the end of the Twitter thread, the PyPI team reminds users to contact `[email protected]` if they believe they have been targeted by a phishing attack.
2427

2528

26-
# Python’s still No. 1, but employers love to see SQL skills
29+
### Python’s still No. 1, but employers love to see SQL skills
2730

2831
<small>Submitted by: [kjaymiller](https://api.github.com/users/kjaymiller) on 2022-08-26T15:58:45Z</small>
2932

@@ -34,12 +37,21 @@ Python's position w/e but I would like to learn more about why it's not as appea
3437
<!-- Edit the body of your new issue then click the ✓ "Create Issue" button in the top right of the editor. The first line will be the issue title. Assignees and Labels follow after a blank line. Leave an empty line before beginning the body of the issue. -->
3538

3639

37-
# KiwiPy Talks are Now Available
40+
### KiwiPy Talks are Now Available
3841

3942
<small>Submitted by: [kjaymiller](https://api.github.com/users/kjaymiller) on 2022-08-26T15:49:42Z</small>
4043

4144
You can now watch the KiwiPy talks on YouTube!
4245

46+
## Upcoming Conferences and CFPs
47+
### Open CFPs
48+
- [PyCon PL (Poland)](https://pl.pycon.org/2022/en/agenda/) (Closes September 2nd)
49+
- [PyJamas (Online)](https://pyjamas.live/cfp/)
4350

44-
<!-- Edit the body of your new issue then click the ✓ "Create Issue" button in the top right of the editor. The first line will be the issue title. Assignees and Labels follow after a blank line. Leave an empty line before beginning the body of the issue. -->
51+
### September
52+
- [PyCon APAC](https://tw.pycon.org/2022/en-us)
53+
- [PyBay](https://pybay.com)
4554

55+
### October
56+
- [Pycon Ghana](https://gh.pycon.org)
57+
- [DjangoCon US](https://2022.djangocon.us)

app/templates/new_post.html

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)