🔍 Code Extractor

Browse Components

Showing 20 of 1524 components

  • function explore_all_drives

    Retrieves and displays all document drives from a SharePoint site using Microsoft Graph API, then explores the root folder of each drive.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py | Lines: 65-87

    sharepoint microsoft-graph api drives document-libraries
  • function explore_site_structure

    Explores and displays the complete structure of a SharePoint site using Microsoft Graph API, including drives, document libraries, lists, and alternative API endpoints.

    File: /tf/active/vicechatdev/SPFCsync/diagnostic_comprehensive.py | Lines: 17-63

    sharepoint microsoft-graph site-exploration diagnostic api-discovery
  • function load_config

    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 | Lines: 10-22

    configuration environment-variables file-parsing dotenv settings
  • 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 | Lines: 58-77

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

    Validates an Azure client secret by checking for placeholder values, minimum length requirements, and common invalid patterns.

    File: /tf/active/vicechatdev/SPFCsync/validate_config.py | Lines: 45-56

    validation azure authentication configuration security
  • function validate_azure_client_id

    Validates that an Azure client ID string conforms to the standard GUID format (8-4-4-4-12 hexadecimal pattern) and is not a placeholder value.

    File: /tf/active/vicechatdev/SPFCsync/validate_config.py | Lines: 33-43

    validation azure authentication guid client-id
  • function validate_sharepoint_url

    Validates that a given URL string conforms to SharePoint site URL format requirements, checking for proper protocol, domain, and path structure.

    File: /tf/active/vicechatdev/SPFCsync/validate_config.py | Lines: 13-31

    validation sharepoint url-validation microsoft configuration
  • function check_all_libraries

    Discovers and lists all document libraries (drives) in a SharePoint site, displaying their metadata and contents including folders and files.

    File: /tf/active/vicechatdev/SPFCsync/check_libraries.py | Lines: 10-103

    sharepoint microsoft-graph document-libraries discovery audit
  • function test_upload_modalities

    Integration test function that validates FileCloud upload functionality by testing both new file creation and existing file update scenarios.

    File: /tf/active/vicechatdev/SPFCsync/test_upload_modalities.py | Lines: 37-228

    testing integration-test file-upload filecloud cloud-storage
  • function create_test_file

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

    File: /tf/active/vicechatdev/SPFCsync/test_upload_modalities.py | Lines: 27-35

    testing file-creation temporary-files test-utilities file-upload
  • 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 | Lines: 8-463

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

    Authenticates with Microsoft Graph API and attempts to locate and access the main SharePoint site library using multiple discovery approaches, displaying detailed information about sites, drives, and folder structures.

    File: /tf/active/vicechatdev/SPFCsync/find_main_library.py | Lines: 9-164

    sharepoint microsoft-graph oauth2 authentication diagnostic
  • function watch_logs

    Monitors a log file in real-time and continuously prints new entries as they are appended to the file, similar to the Unix 'tail -f' command.

    File: /tf/active/vicechatdev/SPFCsync/monitor.py | Lines: 176-200

    logging monitoring file-watching real-time tail
  • function tail_logs

    Reads and displays the last N lines from a specified log file, with error handling for missing files and read failures.

    File: /tf/active/vicechatdev/SPFCsync/monitor.py | Lines: 157-174

    logging file-reading tail log-viewer debugging
  • function print_status

    Prints a formatted status report for SharePoint to FileCloud synchronization operations, displaying sync statistics, timing information, and health indicators.

    File: /tf/active/vicechatdev/SPFCsync/monitor.py | Lines: 112-155

    reporting monitoring status console-output sync
  • function analyze_logs

    Parses and analyzes log files to extract synchronization statistics, error counts, and performance metrics for a specified time period.

    File: /tf/active/vicechatdev/SPFCsync/monitor.py | Lines: 36-110

    log-analysis file-synchronization monitoring statistics parsing
  • function parse_log_line

    Parses a structured log line string and extracts timestamp, logger name, log level, and message components into a dictionary.

    File: /tf/active/vicechatdev/SPFCsync/monitor.py | Lines: 15-34

    logging parsing regex text-processing log-analysis
  • function test_attendee_extraction

    A test function that validates the attendee extraction logic of the EnhancedMeetingMinutesGenerator by parsing a meeting transcript and displaying extracted metadata including speakers, date, and duration.

    File: /tf/active/vicechatdev/leexi/test_attendee_extraction.py | Lines: 11-48

    testing unit-test meeting-minutes transcript-parsing metadata-extraction
  • function main_v3

    Command-line interface function that orchestrates the generation of enhanced meeting minutes from transcript files and PowerPoint presentations using various LLM models (GPT-4o, Azure GPT-4o, or Gemini).

    File: /tf/active/vicechatdev/leexi/enhanced_meeting_minutes_generator.py | Lines: 1145-1246

    cli command-line meeting-minutes llm gpt-4
  • function main_v6

    Command-line interface function that orchestrates the generation of meeting minutes from a transcript file using either GPT-4o or Gemini LLM models.

    File: /tf/active/vicechatdev/advanced_meeting_minutes_generator.py | Lines: 257-322

    cli command-line meeting-minutes transcript-processing llm