🔍 Code Extractor

Browse Components

Showing 20 of 2143 components

  • class Folder

    Represents a folder item in a file system hierarchy, extending the Item base class with the ability to contain children and be uploaded as a ZIP archive.

    File: /tf/active/vicechatdev/rmcl/items.py | Lines: 284-297

    folder directory file-system upload zip
  • class Document_v1

    Document class represents a reMarkable document file, extending the Item class to provide document-specific operations like content extraction, uploading, and rendering with annotations.

    File: /tf/active/vicechatdev/rmcl/items.py | Lines: 214-281

    document remarkable pdf epub annotation
  • class Item

    Base class representing an item (document or folder) in a reMarkable cloud storage system, providing methods for metadata management, file operations, and synchronization.

    File: /tf/active/vicechatdev/rmcl/items.py | Lines: 38-211

    remarkable cloud-storage document-management async metadata
  • function with_lock_v1

    A decorator that implements reentrant locking for async methods, allowing the same task to acquire the lock multiple times without deadlocking.

    File: /tf/active/vicechatdev/rmcl/items.py | Lines: 26-35

    decorator async concurrency locking thread-safety
  • class Config_v7

    A persistent configuration dictionary that automatically saves changes to a JSON file whenever the dictionary is modified.

    File: /tf/active/vicechatdev/rmcl/config.py | Lines: 10-32

    configuration persistence dictionary json storage
  • function register_device

    Asynchronously registers a device using a provided registration code by delegating to the client's register_device method.

    File: /tf/active/vicechatdev/rmcl/api.py | Lines: 397-398

    device-registration authentication async client-wrapper device-pairing
  • function invalidate_cache

    Asynchronous function that invalidates the cache by resetting the refresh deadline of the client to None.

    File: /tf/active/vicechatdev/rmcl/api.py | Lines: 393-394

    cache invalidation async client-management refresh
  • function get_client

    Asynchronous singleton factory function that retrieves or initializes a global Client instance with optional device registration prompting.

    File: /tf/active/vicechatdev/rmcl/api.py | Lines: 383-390

    singleton factory async client-management initialization
  • class Client

    API Client for the Remarkable Cloud that handles authentication, communication, and document management with the Remarkable Cloud service.

    File: /tf/active/vicechatdev/rmcl/api.py | Lines: 44-377

    api-client remarkable cloud-storage authentication async
  • class ZipHeader

    A dataclass representing the central directory header structure of a ZIP archive file, containing metadata about compressed files.

    File: /tf/active/vicechatdev/rmcl/zipdir.py | Lines: 16-47

    zip archive file-format parsing binary-data
  • function unpack

    Reads binary data from a stream and unpacks it according to a specified struct format string.

    File: /tf/active/vicechatdev/rmcl/zipdir.py | Lines: 10-12

    binary-data struct unpacking serialization deserialization
  • class custom_tabulator

    A custom extension of Panel's Tabulator widget that overrides the _patch method to handle data updates with special logic for filtering, sorting, and remote pagination scenarios.

    File: /tf/active/vicechatdev/panel_edits/custom_tabulator.py | Lines: 13-39

    panel tabulator widget data-table pagination
  • function updating

    A decorator function that temporarily sets an object's `_updating` flag to True during the execution of a wrapped method, then restores the original flag value.

    File: /tf/active/vicechatdev/panel_edits/custom_tabulator.py | Lines: 3-11

    decorator state-management flag-management panel ui-framework
  • class Study_progress

    A Panel ReactiveHTML component that displays study progress as a visual taskbar with completed and pending items represented by SVG icons.

    File: /tf/active/vicechatdev/resources/.ipynb_checkpoints/py2html-checkpoint.py | Lines: 490-566

    panel reactive progress-bar visualization ui-component
  • class Study_progress_v1

    A Panel ReactiveHTML component that displays study progress as a visual taskbar with completed and pending items represented by SVG icons.

    File: /tf/active/vicechatdev/resources/py2html.py | Lines: 765-840

    panel reactive progress-bar visualization study-tracker
  • class print_client

    A class that generates formatted print messages for different types of laboratory objects (Parblock, Organ, Study, Slide, Reagent) by querying a Neo4j graph database and building a pipe-delimited message string.

    File: /tf/active/vicechatdev/resources/printclient.py | Lines: 3-140

    printing label-generation neo4j graph-database laboratory
  • class Barcode_checker

    A parameterized class that continuously monitors a Neo4j database for barcode scans associated with a specific user, updating a reactive parameter when new barcodes are detected.

    File: /tf/active/vicechatdev/resources/barcode_backend.py | Lines: 21-100

    barcode-scanning database-polling neo4j real-time-monitoring parameterized
  • function reagents_report

    Generates a PDF report for reagents audit log data, including title, requester information, date, and a table of the provided dataframe.

    File: /tf/active/vicechatdev/resources/reports.py | Lines: 123-130

    pdf-generation reporting audit-log reagents dataframe
  • class PDF

    A custom PDF generation class that extends FPDF to create formatted PDF documents with titles, text, horizontal rules, and tables from pandas DataFrames.

    File: /tf/active/vicechatdev/resources/reports.py | Lines: 16-121

    pdf-generation reporting data-visualization fpdf pandas
  • class PropertyDict

    A specialized dictionary subclass that treats None values and missing keys as semantically identical, automatically removing None values and returning None for missing keys instead of raising KeyError.

    File: /tf/active/vicechatdev/resources/py2html.py | Lines: 842-928

    dictionary data-structure property-store key-value none-handling