Skip to content

Commit e7e46a0

Browse files
committed
initial setup
1 parent ca20e9f commit e7e46a0

File tree

14 files changed

+157
-0
lines changed

14 files changed

+157
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
src/config.toml
2+
13
# Byte-compiled / optimized / DLL files
24
__pycache__/
35
*.py[cod]

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM python:3.12
2+
3+
WORKDIR /srv
4+
5+
COPY requirements.txt .
6+
RUN pip install -r requirements.txt
7+
8+
COPY src/ ./src/
9+
COPY Makefile .
10+
11+
12+
CMD ["make", "update"]

Makefile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
deps/pre:
3+
pip install pip-tools
4+
5+
deps/compile:
6+
pip-compile
7+
8+
deps/install:
9+
pip-sync
10+
11+
install: deps/install
12+
13+
update:
14+
mkdir -p data/
15+
python src/save.py
16+
17+
download:
18+
cd src && python download.py

data/public/2024/schedule.json

Whitespace-only changes.

data/public/2024/sessions.json

Whitespace-only changes.

data/public/2024/speakers.json

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.json

requirements.in

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
pdbpp
2+
black
3+
isort
4+
pytest
5+
6+
requests
7+
pydantic
8+
python-slugify

requirements.txt

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.12
3+
# by the following command:
4+
#
5+
# pip-compile
6+
#
7+
attrs==21.4.0
8+
# via pytest
9+
black==22.3.0
10+
# via -r requirements.in
11+
certifi==2021.10.8
12+
# via requests
13+
charset-normalizer==2.0.12
14+
# via requests
15+
click==8.1.3
16+
# via black
17+
fancycompleter==0.9.1
18+
# via pdbpp
19+
idna==3.3
20+
# via requests
21+
iniconfig==1.1.1
22+
# via pytest
23+
isort==5.10.1
24+
# via -r requirements.in
25+
mypy-extensions==0.4.3
26+
# via black
27+
packaging==21.3
28+
# via pytest
29+
pathspec==0.9.0
30+
# via black
31+
pdbpp==0.10.3
32+
# via -r requirements.in
33+
platformdirs==2.5.2
34+
# via black
35+
pluggy==1.0.0
36+
# via pytest
37+
py==1.11.0
38+
# via pytest
39+
pydantic==1.9.0
40+
# via -r requirements.in
41+
pygments==2.12.0
42+
# via pdbpp
43+
pyparsing==3.0.9
44+
# via packaging
45+
pyrepl==0.9.0
46+
# via fancycompleter
47+
pytest==7.1.2
48+
# via -r requirements.in
49+
python-slugify==6.1.2
50+
# via -r requirements.in
51+
requests==2.27.1
52+
# via -r requirements.in
53+
text-unidecode==1.3
54+
# via python-slugify
55+
tomli==2.0.1
56+
# via pytest
57+
typing-extensions==4.2.0
58+
# via pydantic
59+
urllib3==1.26.9
60+
# via requests
61+
wmctrl==0.4
62+
# via pdbpp

0 commit comments

Comments
 (0)