🔍 Code Extractor

Search Components

Full-Text: Fast keyword matching | Semantic: AI-powered understanding of intent (finds similar concepts)

Search Results for "mkdir"

Found 50 matching component(s)

  • function test_multiple_file_upload

    A test function that validates multiple file upload functionality to a Flask application endpoint by sending a transcript file and multiple previous report files.

    File: /tf/active/vicechatdev/leexi/test_flask_upload.py

    testing file-upload integration-test flask multipart-form
  • function index_documents_example

    A demonstration function that indexes documents from a specified folder using a DocumentIndexer, creating the folder if it doesn't exist, and displays indexing results and collection statistics.

    File: /tf/active/vicechatdev/docchat/example_usage.py

    document-indexing example tutorial demonstration RAG
  • function api_upload

    Flask API endpoint that handles file uploads, validates file types, saves files to a configured directory structure, and automatically indexes the uploaded document for search/retrieval.

    File: /tf/active/vicechatdev/docchat/app.py

    file-upload api-endpoint document-management rag indexing
  • class DocumentProcessor_v8

    Process different document types for indexing

    File: /tf/active/vicechatdev/docchat/document_indexer.py

    class documentprocessor
  • class AgentExecutor

    Agent-based script executor that generates standalone Python files, manages dependencies, and provides iterative debugging capabilities

    File: /tf/active/vicechatdev/vice_ai/agent_executor.py

    class agentexecutor
  • class SmartStatService

    Service for running SmartStat analysis sessions in Vice AI

    File: /tf/active/vicechatdev/vice_ai/smartstat_service.py

    class smartstatservice
  • class SmartStatConfig

    Configuration class for SmartStat service that manages directory paths and API keys for various LLM providers integrated into Vice AI.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    configuration setup initialization directory-management api-keys
  • function smartstat_upload_files

    Flask API endpoint that handles multi-file uploads (CSV, Excel, PDF, Word, PowerPoint) to a SmartStat session, processing data files as datasets and documents as information sheets.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    file-upload multi-file csv-processing excel-processing pdf-extraction
  • class Config

    Configuration class that manages application-wide settings, directory structures, API keys, and operational parameters for a statistical analysis application.

    File: /tf/active/vicechatdev/vice_ai/smartstat_config.py

    configuration settings flask api-keys directory-management
  • class DataAnalysisService

    Service class for managing data analysis operations within document sections, integrating with SmartStat components for statistical analysis, dataset processing, and visualization generation.

    File: /tf/active/vicechatdev/vice_ai/data_analysis_service.py

    data-analysis statistical-analysis session-management dataset-processing visualization
  • class DatabaseManager_v1

    Database manager for SmartStat following vice_ai patterns

    File: /tf/active/vicechatdev/vice_ai/smartstat_models.py

    class databasemanager
  • function ensure_dir

    Creates a directory and all necessary parent directories if they don't already exist, returning a boolean indicating success or failure.

    File: /tf/active/vicechatdev/CDocs/utils/__init__.py

    filesystem directory file-operations utility error-handling
  • class AgentExecutor_v1

    Agent-based script executor that generates standalone Python files, manages dependencies, and provides iterative debugging capabilities

    File: /tf/active/vicechatdev/full_smartstat/agent_executor.py

    class agentexecutor
  • function execute_enhanced_workflow_background

    Executes an enhanced SQL workflow in a background thread, retrieving data from a database, processing it through an AI-powered workflow, and automatically triggering statistical analysis on the results.

    File: /tf/active/vicechatdev/full_smartstat/app.py

    background-processing threading sql-workflow data-retrieval ai-powered
  • class Config_v1

    Configuration class that centralizes all application settings including Flask configuration, directory paths, API keys, LLM model settings, and statistical analysis parameters.

    File: /tf/active/vicechatdev/full_smartstat/config.py

    configuration settings flask llm openai
  • class VendorEmailExtractor

    Extract vendor email addresses from all organizational mailboxes

    File: /tf/active/vicechatdev/find_email/vendor_email_extractor.py

    class vendoremailextractor
  • function setup_logging_v2

    Configures Python's logging system with console and rotating file handlers, creating necessary directories and setting appropriate log levels for the application and third-party libraries.

    File: /tf/active/vicechatdev/email-forwarder/src/utils/logger.py

    logging configuration initialization file-rotation console-output
  • class AgentExecutor_v2

    Agent-based script executor that generates standalone Python files, manages dependencies, and provides iterative debugging capabilities

    File: /tf/active/vicechatdev/smartstat/agent_executor.py

    class agentexecutor
  • class DatabaseManager

    SQLite database manager for SmartStat application that handles persistence of statistical analysis sessions, steps, and results.

    File: /tf/active/vicechatdev/smartstat/models.py

    database sqlite persistence orm statistical-analysis
  • class ExcelGenerator

    Generates structured Excel files from extracted invoice data.

    File: /tf/active/vicechatdev/invoice_extraction/core/excel_generator.py

    class excelgenerator
  • function download_file_v1

    Downloads a single file from a FileCloud server using an authenticated session and saves it to a local path with streaming support.

    File: /tf/active/vicechatdev/UQchat/download_uq_files.py

    file-download filecloud cloud-storage streaming http-client
  • function sync_directory

    Recursively synchronizes a directory from a FileCloud remote server to a local filesystem, downloading new or modified files and creating directory structures as needed.

    File: /tf/active/vicechatdev/UQchat/download_uq_files.py

    file-sync directory-sync recursive file-download cloud-storage
  • function main_v39

    Main entry point function that orchestrates a file synchronization process from a FileCloud source to a local directory, with progress reporting and error handling.

    File: /tf/active/vicechatdev/UQchat/download_uq_files.py

    file-sync filecloud main-entry-point cloud-storage directory-sync
  • class DocumentAnalyzer

    Analyze PDF documents using OCR and LLM

    File: /tf/active/vicechatdev/mailsearch/document_analyzer.py

    class documentanalyzer
  • class EmailSearchApp

    A class for authenticating with Microsoft Graph API and searching emails in a user's mailbox, with support for downloading PDF attachments and maintaining download records.

    File: /tf/active/vicechatdev/mailsearch/email_search_app.py

    email microsoft-graph oauth authentication msal
  • function ensure_download_dir

    Creates a directory at the specified path, including any necessary parent directories, without raising an error if the directory already exists.

    File: /tf/active/vicechatdev/mailsearch/example_script.py

    filesystem directory utility file-management path-creation
  • class Zebra_Label

    Used to build a ZPL2 label and send a print commandline to a specified printer on a specified server. Notes ----- all dimensions are given in millimeters and automatically converted to printer dot units. Parameters ---------- height : int height of the label in mm. width : int width of the label in mm. dpmm : int dots per millimeter, 8.0 for 203 dpi, 12 for 300 dpi. server : str The server on which to print. queue : str The printer to print on. Attributes ---------- height : int height of the label in mm. width : int width of the label in mm. dpmm : int dots per millimeter, 8.0 for 203 dpi, 12 for 300 dpi. server : str The server on which to print. queue : str The printer to print on. code : str ZPL code string, each function adds to this and this is what is eventually send to the printer. graph : py2neo.Graph The connection to the database

    File: /tf/active/vicechatdev/resources/printers.py

    class zebra_label
  • class TSC_Label

    A class for creating and printing TSCPL2 format labels for laboratory information system (LIS) objects, specifically designed for TSC label printers with support for DataMatrix barcodes and text formatting.

    File: /tf/active/vicechatdev/resources/printers.py

    label-printing TSCPL2 barcode DataMatrix laboratory
  • 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

    configuration persistence dictionary json storage
  • 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

    migration cache file-system backward-compatibility xdg
  • 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

    database sqlite singleton connection-management caching
  • 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

    remarkable cloud-storage file-watcher pdf-conversion document-extraction
  • class RemarkableCloudManager

    Unified manager for reMarkable Cloud operations that uses REST API as primary method with rmcl library as fallback, handling authentication, file operations, and folder management.

    File: /tf/active/vicechatdev/e-ink-llm/remarkable_cloud.py

    remarkable cloud-storage e-ink document-management async
  • function run_tests

    Asynchronous test suite function that creates test images with various text prompts, processes them through an E-Ink LLM processor, and reports usage statistics and results.

    File: /tf/active/vicechatdev/e-ink-llm/test.py

    testing async e-ink llm openai
  • class EInkLLMProcessor

    Main processor class that handles the complete workflow

    File: /tf/active/vicechatdev/e-ink-llm/processor.py

    class einkllmprocessor
  • class RemarkableRestClient

    Direct REST API client for reMarkable Cloud without external dependencies

    File: /tf/active/vicechatdev/e-ink-llm/remarkable_rest_client.py

    class remarkablerestclient
  • class SessionManager_v1

    SessionManager is a class that manages conversation sessions and tracking using SQLite database, storing conversations and their exchanges with metadata.

    File: /tf/active/vicechatdev/e-ink-llm/session_manager.py

    session-management conversation-tracking database sqlite state-management
  • function main_v21

    Asynchronous main function that runs a reMarkable tablet file watcher as a separate process, monitoring a specified folder for new documents, processing them, and uploading responses back to the reMarkable Cloud.

    File: /tf/active/vicechatdev/e-ink-llm/run_remarkable_bridge.py

    async file-watcher remarkable-tablet cloud-sync document-processing
  • class OneDriveClient

    A comprehensive Microsoft OneDrive client that uses the Microsoft Graph API to authenticate and perform file operations (upload, download, list, delete) on OneDrive storage.

    File: /tf/active/vicechatdev/e-ink-llm/onedrive_client.py

    onedrive microsoft-graph cloud-storage file-operations authentication
  • class OneDriveProcessor

    OneDriveProcessor is a class that monitors a OneDrive folder for new files, processes them using an E-Ink LLM Assistant, and uploads the results back to OneDrive.

    File: /tf/active/vicechatdev/e-ink-llm/onedrive_client.py

    onedrive file-processing cloud-storage async file-watcher
  • function main_v77

    Executes a dry run comparison analysis of PDF upload requests between a simulated implementation and a real application, without making actual API calls.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/dry_run_comparison.py

    testing dry-run comparison validation pdf-upload
  • class RemarkableReplicaSync

    A class that synchronizes reMarkable cloud documents to a local replica directory, downloading and organizing folders and documents in a hierarchical structure.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/sync_replica_new.py

    remarkable cloud-sync document-management file-synchronization pdf-extraction
  • class CorrectedRootDocSchemaRepair

    A repair tool that fixes corrupted size entries in reMarkable cloud's root.docSchema file by recalculating correct document sizes from their component schemas.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/corrected_repair.py

    remarkable cloud-storage repair-tool data-integrity schema-validation
  • class RemarkableReplicaBuilder

    Step-by-step replica builder

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/local_replica_v2.py

    class remarkablereplicabuilder
  • class RemarkableUploadTests

    Test suite for reMarkable upload functionality

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/test_uploads.py

    class remarkableuploadtests
  • function main_v40

    Orchestrates a comprehensive analysis of Remarkable cloud state and replica synchronization, capturing detailed HTTP logs and saving results to JSON files.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/test_uploads.py

    remarkable cloud-analysis replica-sync diagnostic testing
  • 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

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

    Executes a simulation-only test of a fixed upload process for reMarkable documents, verifying that all critical fixes are correctly applied without making actual API calls.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/fixed_upload_test.py

    testing simulation upload remarkable validation
  • function main_v15

    A test function that uploads a PDF document to reMarkable cloud, syncs the local replica, and validates the upload with detailed logging and metrics.

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/test_raw_upload.py

    testing integration-test pdf-upload remarkable cloud-sync
  • class RemarkableLocalReplica

    Builds and maintains a complete local replica of reMarkable cloud

    File: /tf/active/vicechatdev/e-ink-llm/cloudtest/local_replica.py

    class remarkablelocalreplica

Search Examples