mirror of
https://github.com/Code-For-Groningen/temmies.git
synced 2025-03-15 15:10:15 +01:00
Slight update in docs. Released version 1.0.21.
This commit is contained in:
parent
667a388da4
commit
54e086c93a
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,6 +3,7 @@ config.py
|
|||||||
tests/
|
tests/
|
||||||
pathfinding/
|
pathfinding/
|
||||||
test.py
|
test.py
|
||||||
|
setup.py
|
||||||
|
|
||||||
#Doc env
|
#Doc env
|
||||||
.docs_env
|
.docs_env
|
||||||
|
@ -5,7 +5,7 @@ Creates the initial connection to Themis.
|
|||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
```python
|
```python
|
||||||
from temmies.Themis import Themis
|
from temmies.themis import Themis
|
||||||
|
|
||||||
themis = Themis("s-number", "password")
|
themis = Themis("s-number", "password")
|
||||||
```
|
```
|
||||||
|
29
setup.py
29
setup.py
@ -1,29 +0,0 @@
|
|||||||
from setuptools import find_packages, setup
|
|
||||||
|
|
||||||
with open("README.md", "r") as f:
|
|
||||||
l_description = f.read()
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name="temmies",
|
|
||||||
version="1.0.1",
|
|
||||||
package_dir = {"": "temmies"},
|
|
||||||
packages=find_packages(where="temmies"),
|
|
||||||
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",
|
|
||||||
"bs4",
|
|
||||||
],
|
|
||||||
python_requires=">=3.9",
|
|
||||||
)
|
|
@ -0,0 +1 @@
|
|||||||
|
from .themis import Themis
|
@ -4,6 +4,7 @@ Houses the Course class which is used to represent a course in a year.
|
|||||||
|
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
from requests import Session
|
from requests import Session
|
||||||
|
|
||||||
from .exercise_group import ExerciseGroup
|
from .exercise_group import ExerciseGroup
|
||||||
from .exceptions.course_unavailable import CourseUnavailable
|
from .exceptions.course_unavailable import CourseUnavailable
|
||||||
from .exceptions.illegal_action import IllegalAction
|
from .exceptions.illegal_action import IllegalAction
|
||||||
|
0
temmies/exceptions/__init__.py
Normal file
0
temmies/exceptions/__init__.py
Normal file
Loading…
x
Reference in New Issue
Block a user