🔍 Code Extractor

Browse Components

Showing 20 of 2143 components

  • function main_v14

    Orchestrates the conversion of an improved markdown file containing warranty disclosures into multiple tabular formats (CSV, Excel, Word) with timestamp-based file naming.

    File: /tf/active/vicechatdev/improved_convert_disclosures_to_table.py | Lines: 421-480

    file-conversion markdown-processing warranty-data csv-export excel-export
  • function generate_header_examples

    Prints formatted examples of HTTP headers required for different types of file uploads to a reMarkable cloud sync service, including PDFs, metadata, content, and schema files.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/analyze_headers.py | Lines: 79-154

    documentation http-headers remarkable cloud-sync upload
  • function analyze_rm_filename_patterns

    Analyzes and documents the rm-filename header patterns used in reMarkable cloud sync API requests by examining raw log data and printing a comprehensive report of file naming conventions, upload sequences, and implementation requirements.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/analyze_headers.py | Lines: 10-76

    remarkable cloud-sync api-analysis file-patterns documentation
  • function show_current_root

    Fetches and displays the current root.docSchema from the reMarkable cloud sync service, showing metadata and analyzing document entries.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/show_current_root.py | Lines: 8-80

    remarkable cloud-sync api document-management debugging
  • class DocumentToTrashMover

    A class that moves reMarkable documents to the trash by updating their metadata parent field to 'trash' and synchronizing changes through the reMarkable cloud API.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/move_documents_to_trash.py | Lines: 45-443

    remarkable cloud-sync document-management trash file-operations
  • function parse_directory_listing_debug

    A debug version of a directory listing parser that extracts and categorizes file entries with detailed console output for troubleshooting.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/debug_rm_parsing.py | Lines: 8-66

    parsing debug directory-listing file-system regex
  • function verify_document_status

    Verifies the current status and metadata of a specific test document in the reMarkable cloud sync system by querying the sync API endpoints and analyzing the document's location and properties.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/verify_document_status.py | Lines: 13-153

    remarkable cloud-sync document-verification api-client debugging
  • class RemarkableDiscovery

    Handles hierarchical discovery of reMarkable cloud content

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/discovery.py | Lines: 63-755

    class remarkablediscovery
  • class RemarkableNode

    A dataclass representing a node (file or folder) in the reMarkable cloud storage system, containing metadata, hierarchy information, and component hashes for documents.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/discovery.py | Lines: 38-60

    dataclass tree-structure hierarchy remarkable cloud-storage
  • class RemarkableNode_v1

    A dataclass representing a node (file or folder) in the reMarkable tablet's file system hierarchy, storing metadata, hashes, and local file paths.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/sync_replica_new.py | Lines: 29-57

    dataclass remarkable file-system node tree-structure
  • function analyze_trash_indicators

    Analyzes trash indicators in Remarkable Cloud document schemas by comparing documents that were moved to trash versus those that weren't, examining their hash changes and metadata components.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/analyze_trash_indicators.py | Lines: 9-96

    remarkable cloud-api document-analysis trash-detection sync-protocol
  • class DocumentRefresher

    A class that forces the reMarkable web app to refresh and display documents by programmatically moving them between folders, triggering synchronization.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/force_web_app_refresh.py | Lines: 49-292

    remarkable cloud-sync document-management api-client file-synchronization
  • function compute_crc32c_header

    Computes a CRC32C checksum for binary content and returns it as a base64-encoded string formatted for Google Cloud Storage x-goog-hash headers.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/force_web_app_refresh.py | Lines: 30-47

    checksum crc32c data-integrity google-cloud-storage hash
  • function get_authenticated_session

    Creates and returns an authenticated requests session for the Remarkable API by instantiating a RemarkableAuth object and calling its authentication method.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/auth.py | Lines: 126-134

    authentication http-session api-client remarkable requests
  • function authenticate_remarkable

    A convenience wrapper function that creates a RemarkableAuth instance and performs authentication to obtain a user token for the reMarkable cloud service.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/auth.py | Lines: 115-123

    authentication remarkable cloud-service token api
  • class RemarkableAuth

    Handles the complete authentication flow for reMarkable cloud services, managing device tokens, user tokens, and authenticated HTTP sessions.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/auth.py | Lines: 36-112

    authentication remarkable cloud-api token-management session-management
  • class RemarkableConfig

    A dataclass that stores configuration constants for interacting with the reMarkable cloud API, including API endpoints and local file paths for device tokens.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/auth.py | Lines: 24-33

    configuration dataclass remarkable cloud-api authentication
  • function print_usage

    Displays formatted usage instructions for the reMarkable PDF Upload Tool command-line interface, showing syntax, arguments, and examples.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/upload_pdf_new.py | Lines: 109-125

    cli help documentation usage command-line
  • class RemarkablePDFUploader

    A wrapper class that provides a simplified interface for uploading PDF documents to a reMarkable tablet using a temporary database session.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/upload_pdf_new.py | Lines: 19-107

    remarkable pdf upload file-management cloud-sync
  • function logged_request_v1

    A wrapper function that intercepts HTTP requests, logs their details (method, URL, headers, body) along with response information, and returns the response object.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/raw_request_logger.py | Lines: 70-101

    logging http requests middleware wrapper