6 Commits

Author SHA1 Message Date
6a781ad238 Fixed get_course_by_tag name logic error (#14) 2024-11-21 11:17:10 +01:00
a1104522f1 Merge branch 'main' of github:Code-For-Groningen/temmies 2024-11-21 11:14:53 +01:00
fb8b5cd454 Unignored setup 2024-11-21 11:14:49 +01:00
1367fd667f Smaller temmie 2024-11-20 20:02:29 +01:00
1516ef74be Deliberately lowered resolution of roman scale 2024-11-20 20:01:47 +01:00
c37edb59c6 Updated logo 2024-11-20 19:59:42 +01:00
7 changed files with 35 additions and 8 deletions

1
.gitignore vendored
View File

@ -3,7 +3,6 @@ config.py
tests/ tests/
pathfinding/ pathfinding/
test.py test.py
setup.py
#Doc env #Doc env
.docs_env .docs_env

View File

@ -1,5 +1,5 @@
<p align="center"> <p align="center">
<img src="https://github.com/Code-For-Groningen/temmies/blob/v1.1.0/docs/img/rugemmie.gif" /> <img src="docs/img/temmie.png" width= 200px/>
</p> </p>
<p align="center"> <p align="center">
<a href="https://temmies.confest.im"><img alt="Read the Docs" src="https://img.shields.io/readthedocs/temmies"></a> <a href="https://temmies.confest.im"><img alt="Read the Docs" src="https://img.shields.io/readthedocs/temmies"></a>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 KiB

BIN
docs/img/temmie.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -1,5 +1,5 @@
# Temmies! # Temmies!
<center>![Temmie](img/rugemmie.gif)</center> <center>![Temmie](img/temmie.png)</center>
## What is this? ## What is this?

30
setup.py Normal file
View File

@ -0,0 +1,30 @@
from setuptools import find_packages, setup
with open("README.md", "r") as f:
l_description = f.read()
setup(
name="temmies",
version="1.2.1",
packages=find_packages(),
description="A wrapper for the Themis website",
long_description=l_description,
long_description_content_type="text/markdown",
url="https://github.com/Code-For-Groningen/temmies",
author="Boyan K.",
author_email="boyan@confest.im",
license="GPLv3",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3.9",
],
install_requires=[
"requests",
"lxml",
"beautifulsoup4",
"keyring"
],
python_requires=">=3.9",
)

View File

@ -53,8 +53,6 @@ class Year:
soup = BeautifulSoup(response.text, "lxml") soup = BeautifulSoup(response.text, "lxml")
title_element = soup.find("h1")
if not title_element:
title_elements = soup.find_all("a", class_="fill accent large") title_elements = soup.find_all("a", class_="fill accent large")
if title_elements: if title_elements:
title_element = title_elements[-1] title_element = title_elements[-1]