| |
- PyQt5.QtCore.QObject(sip.wrapper)
-
- Controller
class Controller(PyQt5.QtCore.QObject) |
|
Controller(scraper: src.Scraping.Scraper.Scraper, output_config: dict[str]) -> None
Controller class to handle the communication between the GUI and the Scraper. |
|
- Method resolution order:
- Controller
- PyQt5.QtCore.QObject
- sip.wrapper
- sip.simplewrapper
- builtins.object
Methods defined here:
- __init__(self, scraper: src.Scraping.Scraper.Scraper, output_config: dict[str]) -> None
- Initialize the Controller object.
:param scraper: Scraper object to scrape data
:param output_config: Configuration for the output file
- export_data(self, format: str, directory: str) -> None
- Export the scraped data to a file.
:param format: Format of the output file
:param directory: Directory to save the output file
:return:
progress_updated = <unbound PYQT_SIGNAL progress_updated(int)>
- async scrape_and_update_progress(self) -> dict[str, pandas.core.frame.DataFrame]
- Scrape data from the URLs and update the progress bar.
:return: Data frames of the scraped data
- scrape_data(self) -> None
- Scrape data from the URLs and update the progress bar.
:return:
scraping_done = <unbound PYQT_SIGNAL scraping_done()>
scraping_failed = <unbound PYQT_SIGNAL scraping_failed(QString)>
- view_search_queries(self) -> None
- Open the dialog to view and view/edit the search queries.
:return:
Methods inherited from PyQt5.QtCore.QObject:
- __getattr__(...)
- __getattr__(self, name: Optional[str]) -> Any
- blockSignals(...)
- blockSignals(self, b: bool) -> bool
- childEvent(...)
- childEvent(self, a0: Optional[QChildEvent])
- children(...)
- children(self) -> List[QObject]
- connectNotify(...)
- connectNotify(self, signal: QMetaMethod)
- customEvent(...)
- customEvent(self, a0: Optional[QEvent])
- deleteLater(...)
- deleteLater(self)
destroyed = <unbound PYQT_SIGNAL destroyed(QObject*)>
- disconnect(...)
- disconnect(a0: QMetaObject.Connection) -> bool
disconnect(self)
- disconnectNotify(...)
- disconnectNotify(self, signal: QMetaMethod)
- dumpObjectInfo(...)
- dumpObjectInfo(self)
- dumpObjectTree(...)
- dumpObjectTree(self)
- dynamicPropertyNames(...)
- dynamicPropertyNames(self) -> List[QByteArray]
- event(...)
- event(self, a0: Optional[QEvent]) -> bool
- eventFilter(...)
- eventFilter(self, a0: Optional[QObject], a1: Optional[QEvent]) -> bool
- findChild(...)
- findChild(self, type: Type[QObjectT], name: Optional[str] = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObjectT
findChild(self, types: Tuple[Type[QObjectT], ...], name: Optional[str] = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObjectT
- findChildren(...)
- findChildren(self, type: Type[QObjectT], name: Optional[str] = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObjectT]
findChildren(self, types: Tuple[Type[QObjectT], ...], name: Optional[str] = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObjectT]
findChildren(self, type: Type[QObjectT], regExp: QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObjectT]
findChildren(self, types: Tuple[Type[QObjectT], ...], regExp: QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObjectT]
findChildren(self, type: Type[QObjectT], re: QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObjectT]
findChildren(self, types: Tuple[Type[QObjectT], ...], re: QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObjectT]
- inherits(...)
- inherits(self, classname: Optional[str]) -> bool
- installEventFilter(...)
- installEventFilter(self, a0: Optional[QObject])
- isSignalConnected(...)
- isSignalConnected(self, signal: QMetaMethod) -> bool
- isWidgetType(...)
- isWidgetType(self) -> bool
- isWindowType(...)
- isWindowType(self) -> bool
- killTimer(...)
- killTimer(self, id: int)
- metaObject(...)
- metaObject(self) -> Optional[QMetaObject]
- moveToThread(...)
- moveToThread(self, thread: Optional[QThread])
- objectName(...)
- objectName(self) -> str
objectNameChanged = <unbound PYQT_SIGNAL objectNameChanged(QString)>
- parent(...)
- parent(self) -> Optional[QObject]
- property(...)
- property(self, name: Optional[str]) -> Any
- pyqtConfigure(...)
- QObject.pyqtConfigure(...)
Each keyword argument is either the name of a Qt property or a Qt signal.
For properties the property is set to the given value which should be of an
appropriate type.
For signals the signal is connected to the given value which should be a
callable.
- receivers(...)
- receivers(self, signal: PYQT_SIGNAL) -> int
- removeEventFilter(...)
- removeEventFilter(self, a0: Optional[QObject])
- sender(...)
- sender(self) -> Optional[QObject]
- senderSignalIndex(...)
- senderSignalIndex(self) -> int
- setObjectName(...)
- setObjectName(self, name: Optional[str])
- setParent(...)
- setParent(self, a0: Optional[QObject])
- setProperty(...)
- setProperty(self, name: Optional[str], value: Any) -> bool
- signalsBlocked(...)
- signalsBlocked(self) -> bool
- startTimer(...)
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) -> int
- thread(...)
- thread(self) -> Optional[QThread]
- timerEvent(...)
- timerEvent(self, a0: Optional[QTimerEvent])
- tr(...)
- tr(self, sourceText: Optional[str], disambiguation: Optional[str] = None, n: int = -1) -> str
Data descriptors inherited from PyQt5.QtCore.QObject:
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes inherited from PyQt5.QtCore.QObject:
- staticMetaObject = <PyQt5.QtCore.QMetaObject object>
Static methods inherited from sip.simplewrapper:
- __new__(*args, **kwargs) from sip.wrappertype
- Create and return a new object. See help(type) for accurate signature.
Data descriptors inherited from sip.simplewrapper:
- __dict__
| |