🔍 Code Extractor

Search Components

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

Search Results for "directory"

Found 50 matching component(s)

  • function sanitize_folders

    Recursively traverses a directory tree and sanitizes folder names by removing non-ASCII characters, renaming folders to ASCII-only versions.

    File: /tf/active/vicechatdev/creation_updater.py

    filesystem directory-management sanitization recursive file-operations
  • class RegulatoryExtractor

    A class for extracting structured metadata from regulatory guideline PDF documents using LLM-based analysis and storing the results in an Excel tracking spreadsheet.

    File: /tf/active/vicechatdev/reg_extractor.py

    pdf-extraction regulatory-documents llm-extraction ocr data-extraction
  • class ReferenceManager_v2

    Manages extraction and formatting of references for LLM chat responses. Handles both file references and BibTeX citations, formatting them according to various academic citation styles.

    File: /tf/active/vicechatdev/OneCo_hybrid_RAG copy.py

    class referencemanager
  • function create_folder

    Creates a nested folder structure on a FileCloud server by traversing a path and creating missing directories.

    File: /tf/active/vicechatdev/filecloud_wuxi_sync.py

    filecloud api folder-creation directory-management rest-api
  • function publish_document

    Publishes an approved controlled document by converting it to PDF with signatures and audit trail, uploading to FileCloud, and updating the document status to PUBLISHED.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-management publishing pdf-conversion audit-trail controlled-documents
  • function convert_document_to_pdf_v1

    Converts a document version from an editable format (e.g., Word) to PDF without changing the document's status, uploading the result to FileCloud and updating the version record.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-conversion pdf-generation filecloud controlled-documents document-management
  • function get_document_edit_url

    Generates an online editing URL for a document stored in FileCloud, allowing users to edit documents that are in editable states.

    File: /tf/active/vicechatdev/document_controller_backup.py

    document-management filecloud url-generation permission-control version-control
  • class FileCloudAPI

    Python wrapper for the FileCloud REST API. This class provides methods to interact with FileCloud server APIs, handling authentication, session management, and various file operations.

    File: /tf/active/vicechatdev/FC_api copy.py

    class filecloudapi
  • class PatternBasedExtractor

    Extract flocks based on farm-level In-Ovo usage patterns.

    File: /tf/active/vicechatdev/pattern_based_extraction.py

    class patternbasedextractor
  • function main_v5

    Command-line interface function that orchestrates pattern-based extraction of poultry flock data, including data loading, pattern classification, geocoding, and export functionality.

    File: /tf/active/vicechatdev/pattern_based_extraction.py

    cli command-line-interface data-extraction poultry-data pattern-analysis
  • function file_cleanup

    Removes files older than 60 seconds from the './static/files/' directory.

    File: /tf/active/vicechatdev/datacapture_integrated.py

    file-management cleanup temporary-files maintenance file-deletion
  • class ReferenceManager_v3

    Manages extraction and formatting of references for LLM chat responses. Handles both file references and BibTeX citations, formatting them according to various academic citation styles.

    File: /tf/active/vicechatdev/OneCo_hybrid_RAG_old.py

    class referencemanager
  • class FileCloudAPI_v1

    Python wrapper for the FileCloud REST API. This class provides methods to interact with FileCloud server APIs, handling authentication, session management, and various file operations.

    File: /tf/active/vicechatdev/FC_api.py

    class filecloudapi
  • class DocumentProcessor_v5

    Process different document types for RAG context extraction

    File: /tf/active/vicechatdev/offline_docstore_multi_vice.py

    class documentprocessor
  • function create_folder_hierarchy

    Creates a hierarchical structure of Subfolder nodes in a Neo4j graph database based on a file system path, connecting each folder level with PATH relationships.

    File: /tf/active/vicechatdev/offline_docstore_multi_vice.py

    neo4j graph-database file-system hierarchy folder-structure
  • class DocumentConverter

    A class that converts various document formats (Word, Excel, PowerPoint, OpenDocument, Visio) to PDF using LibreOffice's headless conversion capabilities, with support for parallel processing and directory structure preservation.

    File: /tf/active/vicechatdev/pdfconverter.py

    document-conversion pdf libreoffice batch-processing parallel-processing
  • class ImprovedProjectVictoriaGenerator

    Improved Project Victoria Disclosure Generator with proper reference management.

    File: /tf/active/vicechatdev/improved_project_victoria_generator.py

    class improvedprojectvictoriagenerator
  • class ReferenceManager_v4

    Manages extraction and formatting of references for LLM chat responses. Handles both file references and BibTeX citations, formatting them according to various academic citation styles.

    File: /tf/active/vicechatdev/OneCo_hybrid_RAG.py

    class referencemanager
  • class PDFConverter

    A class that converts various document formats (Word, PowerPoint, Excel, images) to PDF format using LibreOffice and ReportLab libraries.

    File: /tf/active/vicechatdev/msg_to_eml.py

    pdf conversion document-processing file-conversion libreoffice
  • function msg_to_pdf_improved

    Converts a Microsoft Outlook .msg file to PDF format using EML as an intermediate format for improved reliability, with fallback to direct conversion if needed.

    File: /tf/active/vicechatdev/msg_to_eml.py

    email-conversion msg-to-pdf file-conversion pdf-generation outlook
  • function msg_to_pdf

    Converts a Microsoft Outlook .msg email file to a single PDF document, including the email body and all attachments merged together.

    File: /tf/active/vicechatdev/msg_to_eml.py

    email-conversion pdf-generation msg-file outlook document-processing
  • function eml_to_pdf

    Converts an .eml email file to PDF format, including the email body and all attachments merged into a single PDF document.

    File: /tf/active/vicechatdev/msg_to_eml.py

    email-processing pdf-conversion eml-parser document-conversion attachment-handling
  • function ensure_dir_exists

    Creates a directory and all necessary parent directories if they don't already exist, with logging support.

    File: /tf/active/vicechatdev/msg_to_eml.py

    filesystem directory utility file-operations path-management
  • class FileCloudEmailProcessor

    A class that processes email files (.msg format) stored in FileCloud by finding, downloading, converting them to EML and PDF formats, and organizing them into mail_archive folders.

    File: /tf/active/vicechatdev/msg_to_eml.py

    email-processing file-conversion cloud-storage filecloud msg-to-eml
  • function generate_neo4j_schema_report

    Generates a comprehensive schema report of a Neo4j graph database, including node labels, relationships, properties, constraints, indexes, and sample data, outputting multiple file formats (JSON, HTML, Python snippets, Cypher examples).

    File: /tf/active/vicechatdev/neo4j_schema_report.py

    neo4j graph-database schema-analysis database-introspection documentation-generation
  • class DocxMerger

    A class named DocxMerger

    File: /tf/active/vicechatdev/word_merge.py

    class docxmerger
  • class ProjectVictoriaDisclosureGenerator

    Main class for generating Project Victoria disclosures from warranty claims.

    File: /tf/active/vicechatdev/project_victoria_disclosure_generator.py

    class projectvictoriadisclosuregenerator
  • class DocumentProcessor_v6

    Process different document types for RAG context extraction

    File: /tf/active/vicechatdev/offline_docstore_multi.py

    class documentprocessor
  • function create_folder_hierarchy_v1

    Creates a hierarchical structure of Subfolder nodes in a Neo4j graph database based on a file path, connecting each folder level with PATH relationships.

    File: /tf/active/vicechatdev/offline_docstore_multi.py

    neo4j graph-database folder-hierarchy file-system path-processing
  • function test_web_ui

    Integration test function that validates a Flask web UI for meeting minutes generation by testing file upload, generation, and regeneration endpoints with sample transcript and PowerPoint files.

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

    testing integration-test web-ui flask api-testing
  • class DocumentExtractor

    A document text extraction class that supports multiple file formats including Word, PowerPoint, PDF, and plain text files, with automatic format detection and conversion capabilities.

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

    document-processing text-extraction pdf word powerpoint
  • function test_document_extractor

    A test function that validates the DocumentExtractor class by testing file type support detection, text extraction from various document formats, and error handling.

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

    testing document-extraction file-processing validation text-extraction
  • function download_file

    Flask route handler that serves generated report files for download from a designated reports folder.

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

    flask file-download web-route file-serving error-handling
  • 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
  • class FileCloudClient

    A client class for interacting with FileCloud server API, providing authentication, file management, folder creation, and file upload capabilities.

    File: /tf/active/vicechatdev/SPFCsync/filecloud_client.py

    filecloud file-management cloud-storage api-client file-upload
  • function create_test_file_v1

    Creates a temporary test file with specified content and filename in a temporary directory.

    File: /tf/active/vicechatdev/SPFCsync/test_upload_modalities.py

    testing file-creation temporary-files test-utilities file-operations
  • function load_env_file

    Reads and parses environment variables from a .env file in the current directory, returning them as a dictionary.

    File: /tf/active/vicechatdev/SPFCsync/validate_config.py

    environment-variables configuration file-parsing dotenv settings
  • function load_config_v1

    Parses a .env file and loads key-value pairs into a dictionary, ignoring comments and handling errors gracefully.

    File: /tf/active/vicechatdev/SPFCsync/grant_sharepoint_access.py

    configuration environment-variables file-parsing dotenv settings
  • function explore_drive_root

    Retrieves and displays the contents of a SharePoint drive's root directory, showing folders and files with their counts and names.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py

    sharepoint microsoft-graph api drive-exploration file-system
  • function quick_test

    A diagnostic function that tests SharePoint Graph API connectivity and verifies access to the main site library by checking for expected folder structures in the root directory.

    File: /tf/active/vicechatdev/SPFCsync/quick_test.py

    sharepoint diagnostic testing connectivity microsoft-graph
  • function check_filecloud_structure

    Diagnostic function that checks the FileCloud server structure and verifies accessibility of various paths including root, SHARED, and configured base paths.

    File: /tf/active/vicechatdev/SPFCsync/check_filecloud_structure.py

    diagnostic filecloud connectivity-check path-verification debugging
  • function test_graph_client

    A test function that validates the SharePoint Graph API client by testing authentication, document listing, and file download capabilities.

    File: /tf/active/vicechatdev/SPFCsync/test_graph_client.py

    testing sharepoint graph-api integration-test microsoft-graph
  • function analyze_structure

    Analyzes and reports on the folder structure of a SharePoint site, displaying folder paths, file counts, and searching for expected folder patterns.

    File: /tf/active/vicechatdev/SPFCsync/analyze_structure.py

    sharepoint analysis folder-structure microsoft-graph audit
  • function get_folder_documents

    Retrieves and filters documents from a SharePoint folder by matching the folder name in document paths.

    File: /tf/active/vicechatdev/SPFCsync/test_folder_structure.py

    sharepoint document-retrieval folder-filtering file-management microsoft-graph
  • 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 save_session_to_disk

    Persists a chat session to disk by serializing session data to a JSON file, converting datetime objects to ISO format strings.

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

    persistence serialization session-management file-io json
  • function load_all_sessions

    Loads all chat session data from JSON files stored in a sessions directory into memory on application startup.

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

    session-management persistence initialization disk-io thread-safe
  • function build_document_tree_lazy

    Builds a single-level document tree structure for lazy loading, scanning only immediate children of a target directory without recursively loading subdirectories.

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

    file-system directory-tree lazy-loading document-management file-browser
  • function build_document_tree_recursive

    Recursively builds a complete hierarchical tree structure of documents and folders from a target directory path, filtering for supported file types and skipping hidden/cache directories.

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

    file-system directory-traversal recursive document-management tree-structure
  • function login

    Flask route handler that renders the login page for user authentication, with support for Azure SSO integration and automatic redirection for authenticated users or when authentication is disabled.

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

    authentication login flask-route session-management azure-sso

Search Examples