🔍 Code Extractor

Browse Components

Showing 20 of 2143 components

  • function logged_request_v2

    A wrapper function that logs HTTP requests and responses for debugging and analysis purposes, capturing request details, response status, and body content.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/test_real_app_upload.py | Lines: 21-65

    http logging debugging requests monitoring
  • class RawRequestLogger

    A logging utility class that captures and formats HTTP requests and responses in a human-readable format similar to reMarkable app logs, writing them to a file.

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

    logging http debugging request-logging file-io
  • function apply_working_trash_move

    Moves a hardcoded list of reMarkable cloud documents to trash by authenticating with the reMarkable API and applying trash operations to each document.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/apply_working_trash_move.py | Lines: 228-272

    remarkable cloud-storage document-management trash cleanup
  • function move_document_to_trash

    Moves a reMarkable document to trash by updating its metadata parent field to 'trash', then propagating the changes through the document schema hierarchy and updating the root hash.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/apply_working_trash_move.py | Lines: 23-226

    remarkable cloud-sync document-management trash api-integration
  • class SimplePDFUploadTest

    A test class for validating PDF upload functionality to reMarkable cloud, including raw content upload and complete document creation with metadata.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/test_simple_pdf_upload.py | Lines: 18-249

    testing pdf upload remarkable cloud-storage
  • function check_gpt_in_folder

    Diagnostic function that checks the status, metadata, and contents of a specific 'gpt_in' folder in the reMarkable cloud storage system, providing detailed analysis of folder structure and potential sync issues.

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

    remarkable cloud-sync diagnostics folder-management api-client
  • function test_root_format

    A test function that validates the correct format of root.docSchema content by comparing SHA256 hashes of different string formatting variations (with/without trailing newline) against an expected hash value.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/test_hash_format.py | Lines: 5-50

    testing validation hash-verification sha256 data-integrity
  • class RemarkableLocalReplica

    Builds and maintains a complete local replica of reMarkable cloud

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/local_replica.py | Lines: 93-618

    class remarkablelocalreplica
  • class ReplicaNode

    A dataclass representing a node in a local replica of reMarkable cloud storage, containing comprehensive metadata about files, folders, and their synchronization state.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/local_replica.py | Lines: 41-90

    dataclass remarkable sync metadata file-system
  • class NodeType

    An enumeration class that defines the three types of nodes that can exist in the reMarkable cloud storage system.

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

    enum enumeration constants remarkable cloud-storage
  • class FixedUploadTest

    A test class that simulates document upload to reMarkable cloud with specific fixes applied to match the real reMarkable desktop app behavior.

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

    testing remarkable cloud-sync document-upload pdf
  • class RealAppUploadAnalyzer

    Analyzes documents uploaded by the real reMarkable app by fetching and examining their structure, metadata, and components from the reMarkable cloud sync service.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/test_real_app_upload.py | Lines: 71-381

    remarkable document-analysis cloud-sync pdf-analysis metadata-extraction
  • function run_complete_test_suite

    Orchestrates a complete test suite for reMarkable cloud integration, running authentication, basic discovery, and complete replica build tests in sequence.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/test_complete_suite.py | Lines: 171-211

    testing integration-test remarkable cloud-sync authentication
  • function show_directory_tree

    Recursively displays a visual tree structure of a directory and its contents, showing files with sizes and subdirectories up to a specified depth.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/test_complete_suite.py | Lines: 136-168

    filesystem directory-tree visualization file-explorer recursive
  • function test_complete_replica_build

    Tests the complete local replica build process for a reMarkable device by creating a local copy of all content including folders, documents, notebooks, and PDFs with comprehensive statistics and logging.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/test_complete_suite.py | Lines: 82-133

    testing reMarkable sync replica backup
  • function test_basic_discovery

    Tests the basic hierarchical discovery functionality of a Remarkable device by creating a discovery instance, running discovery, and reporting statistics about discovered nodes.

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

    testing remarkable discovery hierarchical-structure device-sync
  • function test_authentication_v1

    Tests the authentication flow for the Remarkable API by creating a RemarkableAuth instance, attempting authentication, and returning the authenticated session object.

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

    authentication testing remarkable-api session-management api-testing
  • function test_authentication_v2

    Tests the authentication flow for the Remarkable API by attempting to authenticate and return a session object if successful.

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

    authentication testing remarkable api session
  • function test_quick_upload

    A test function that performs a quick PDF upload to a reMarkable device without performing a full synchronization, used for testing the upload functionality in isolation.

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

    testing pdf-upload remarkable file-upload integration-test
  • function move_documents_to_trash

    Moves specified reMarkable Cloud documents to trash by updating their metadata parent field to 'trash' and propagating changes through the document hierarchy.

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

    remarkable cloud-api document-management trash file-operations