🔍 Code Extractor

Browse Components

Showing 20 of 2143 components

  • class CompactSection

    A dataclass representing a section in compact format with an icon, title, content, and priority level.

    File: /tf/active/vicechatdev/e-ink-llm/compact_formatter.py | Lines: 15-20

    dataclass data-structure section compact-format ui-component
  • function create_remarkable_session

    Creates and returns an authenticated requests.Session object configured for interacting with the reMarkable Cloud API.

    File: /tf/active/vicechatdev/e-ink-llm/mixed_cloud_processor.py | Lines: 664-685

    authentication remarkable cloud-api session-management http-client
  • function create_mixed_processor

    Factory function that instantiates and returns a MixedCloudProcessor object configured with OneDrive and reMarkable cloud integration settings.

    File: /tf/active/vicechatdev/e-ink-llm/mixed_cloud_processor.py | Lines: 658-660

    factory-function cloud-integration onedrive remarkable document-processing
  • class MixedCloudProcessor

    A cloud integration processor that monitors both OneDrive and reMarkable Cloud for input PDF files, processes them through an API, and manages file synchronization between cloud services.

    File: /tf/active/vicechatdev/e-ink-llm/mixed_cloud_processor.py | Lines: 476-654

    cloud-integration file-watcher async onedrive remarkable
  • class RemarkableCloudWatcher

    Monitors the reMarkable Cloud 'gpt_out' folder for new documents, automatically downloads them, and converts .rm (reMarkable native) files to PDF format.

    File: /tf/active/vicechatdev/e-ink-llm/mixed_cloud_processor.py | Lines: 36-473

    remarkable cloud-storage file-watcher pdf-conversion document-extraction
  • function parse_datetime_v2

    Parses a datetime string by normalizing fractional seconds and timezone format, then converts it to a datetime object using ISO format parsing.

    File: /tf/active/vicechatdev/rmcl/utils.py | Lines: 10-15

    datetime parsing ISO-format timezone API-response
  • function now

    Returns the current UTC datetime with timezone information.

    File: /tf/active/vicechatdev/rmcl/utils.py | Lines: 7-8

    datetime timestamp utc timezone current-time
  • function set_property

    Inserts or updates a property value for a specific file ID and version in a SQLite database table named 'filedata'.

    File: /tf/active/vicechatdev/rmcl/datacache.py | Lines: 45-50

    database sqlite persistence cache metadata
  • function get_property

    Retrieves a specific property value from a SQLite database table 'filedata' based on id, version, and property name.

    File: /tf/active/vicechatdev/rmcl/datacache.py | Lines: 35-43

    database sqlite query property-retrieval metadata
  • function _get_conn

    Lazy initialization function that returns a singleton SQLite database connection, creating the database and required table schema if they don't exist.

    File: /tf/active/vicechatdev/rmcl/datacache.py | Lines: 21-33

    database sqlite singleton connection-management caching
  • function _fix_old_cache_dir

    Migrates an old cache database file from the 'rmfuse' directory to the 'rmcl' directory in the XDG cache home location.

    File: /tf/active/vicechatdev/rmcl/datacache.py | Lines: 10-17

    migration cache file-system backward-compatibility xdg
  • class FileType

    An enumeration class that defines supported file types for document processing, including PDF, EPUB, notes, and unknown file types.

    File: /tf/active/vicechatdev/rmcl/const.py | Lines: 20-27

    enum enumeration file-type file-format type-safety
  • function add_sync

    A decorator that creates a synchronous wrapper function for an async function, automatically running it with trio.run() and injecting it into the caller's namespace with a suffix.

    File: /tf/active/vicechatdev/rmcl/sync.py | Lines: 10-20

    decorator async sync trio wrapper
  • class VirtualItemError

    A custom exception class that signals when an operation cannot be performed on a virtual item.

    File: /tf/active/vicechatdev/rmcl/exceptions.py | Lines: 35-37

    exception error-handling virtual-item custom-exception validation
  • class ApiError

    A custom exception class for API-related errors, specifically designed to handle cases where a requested document cannot be found.

    File: /tf/active/vicechatdev/rmcl/exceptions.py | Lines: 28-32

    exception error-handling api custom-exception document-not-found
  • class FolderNotFound

    A custom exception class that is raised when a requested folder cannot be found in the system.

    File: /tf/active/vicechatdev/rmcl/exceptions.py | Lines: 22-25

    exception error-handling filesystem folder directory
  • class UnsupportedTypeError

    A custom exception class that is raised when an unsupported or unexpected type is encountered during type validation or type checking operations.

    File: /tf/active/vicechatdev/rmcl/exceptions.py | Lines: 16-19

    exception error-handling type-checking validation custom-exception
  • class DocumentNotFound

    A custom exception class that is raised when a requested document cannot be found in the system.

    File: /tf/active/vicechatdev/rmcl/exceptions.py | Lines: 10-13

    exception error-handling custom-exception document-management not-found
  • class AuthError

    A custom exception class for handling authentication-related errors in an application.

    File: /tf/active/vicechatdev/rmcl/exceptions.py | Lines: 4-7

    exception authentication error-handling security custom-exception
  • class VirtualFolder

    VirtualFolder is a class representing a virtual folder in a file system hierarchy that doesn't correspond to a physical folder but exists for organizational purposes.

    File: /tf/active/vicechatdev/rmcl/items.py | Lines: 300-326

    virtual-folder file-system folder-hierarchy organization data-structure