API¶
init module.
setup_django ¶
Setup the database.
Source code in src/video_vault/core/db/setup.py
core ¶
src package.
core ¶
init module.
consts ¶
This module contains constants for the application.
downloads ¶
Downloads module.
This module contains functions to add downloads.
DownloadWorker ¶
Bases: QThread
Worker to download a video.
Source code in src/video_vault/core/core/downloads.py
on_finished ¶
run ¶
Run the worker.
Source code in src/video_vault/core/core/downloads.py
show_notification ¶
Show a popup with the result of the download.
Source code in src/video_vault/core/core/downloads.py
update_downloads_page ¶
Update the downloads page.
Source code in src/video_vault/core/core/downloads.py
add_download ¶
do_download ¶
Add a download.
Source code in src/video_vault/core/core/downloads.py
security ¶
Security module.
This module contains functions to encrypt and decrypt data.
db ¶
init module.
make_migrations ¶
Script to create migrations for the video_vault.db app.
migrations ¶
init module.
models ¶
Models for the database.
File ¶
Bases: BaseModel
File model.
create_encrypted
classmethod
¶
Create a file.
Source code in src/video_vault/core/db/models.py
delete_file ¶
Delete a file.
Source code in src/video_vault/core/db/models.py
setup ¶
Database setup module.
This module contains the database settings. In the init we setup django settings and create the db if not existent.
setup_django ¶
Setup the database.
Source code in src/video_vault/core/db/setup.py
ui ¶
init module.
pages ¶
init module.
add_downloads ¶
Add downloads page module.
This module contains the add downloads page class for the VideoVault application.
AddDownloads ¶
Bases: Browser
Add downloads page for the VideoVault application.
Add a download button.
Source code in src/video_vault/core/ui/pages/add_downloads.py
Add a download.
Source code in src/video_vault/core/ui/pages/add_downloads.py
downloads ¶
Downloads page module.
This module contains the downloads page class for the VideoVault application.
Downloads ¶
Bases: Base
Downloads page for the VideoVault application.
Add a button to add a download.
Source code in src/video_vault/core/ui/pages/downloads.py
Add a button to delete all downloads.
Source code in src/video_vault/core/ui/pages/downloads.py
add_download_button(download: File) -> None
Add a download to the list.
Source code in src/video_vault/core/ui/pages/downloads.py
Add a list of downloads to scroll through and on click the video plays.
Source code in src/video_vault/core/ui/pages/downloads.py
Delete all downloads.
Source code in src/video_vault/core/ui/pages/downloads.py
play_download(download: File) -> None
Play the video.
Source code in src/video_vault/core/ui/pages/downloads.py
Remove a download from the list.
Source code in src/video_vault/core/ui/pages/downloads.py
player ¶
Player page module.
This module contains the player page class for the VideoVault application.
stylesheet ¶
Contains the stylesheet for the application.
main ¶
Main entrypoint for the project.
main ¶
run ¶
Main function to run the application.
Source code in src/video_vault/main.py
rig ¶
init module.
cli ¶
init module.
subcommands ¶
Subcommands for the CLI.
They will be automatically imported and added to the CLI IMPORTANT: All funcs in this file will be added as subcommands. So best to define the logic elsewhere and just call it here in a wrapper.
configs ¶
Package initialization.
remote_version_control ¶
Package initialization.
workflows ¶
Package initialization.
release ¶
Configs for pyrig.
All subclasses of ConfigFile in the configs package are automatically called.
Bases: ReleaseWorkflowConfigFile, ReleaseWorkflowConfigFile
You can override methods from the base class to customize behavior.
resource_modules() -> Iterable[ModuleType]
resources ¶
init module.