refactor: restructure package and rename CLI to ravin
This commit is contained in:
26 files changed
+2923
-2118
No files matched your search
@@ -0,0 +1,20 @@
|
||||
"""Project-wide defaults and version information."""
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
DEFAULT_SITE = "https://training.ravinacademy.com"
|
||||
DEFAULT_RAVIN_LOGIN_URL = "https://lms.ravinacademy.com/"
|
||||
__version__ = "0.5.0"
|
||||
USER_AGENT = f"RavinMoodleDownloader/{__version__} (+personal Moodle client)"
|
||||
DOWNLOADABLE_MODULES = {"resource", "folder", "page", "book"}
|
||||
DEFAULT_ENV_FILE = Path.cwd() / ".env"
|
||||
ENV_KEYS = {
|
||||
"username": "RAVIN_USERNAME",
|
||||
"password": "RAVIN_PASSWORD",
|
||||
"login_url": "RAVIN_LOGIN_URL",
|
||||
"user_agent": "RAVIN_USER_AGENT",
|
||||
"cookie": "RAVIN_COOKIE",
|
||||
}
|
||||
LIBRARY_ASSETS = ("index.html", "course.html", "styles.css", "app.js")
|
||||
CONTENT_SCHEMA_VERSION = 1
|
||||
Reference in new issue
Block a user