🔍 Code Extractor

Search Components

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

Search Results for "bytes"

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
  • function clean_text_for_xml

    Sanitizes text by removing or replacing XML-incompatible characters to ensure compatibility with Word document XML structure.

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

    text-processing xml sanitization word-documents character-encoding
  • function clean_text_for_xml_v1

    Sanitizes text strings to ensure XML 1.0 compatibility by removing or replacing invalid control characters and ensuring all characters meet XML specification requirements for Word document generation.

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

    text-processing xml sanitization data-cleaning word-documents
  • function create_document_version_v2

    Creates a new version of an existing document in a document management system, storing the file in FileCloud and tracking version metadata in Neo4j graph database.

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

    document-management version-control filecloud neo4j graph-database
  • function download_document_version

    Downloads a specific version of a controlled document from FileCloud storage, with optional audit trail and watermark inclusion, and logs the download event.

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

    document-management file-download version-control audit-trail watermark
  • 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 clone_document_v1

    Clones an existing controlled document to create either a new independent document or a new revision of the same document, optionally including the document's content.

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

    document-management cloning versioning controlled-documents revision-control
  • function _view_document

    Views and downloads the current version of a document, with special handling for FileCloud-stored documents versus locally stored documents.

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

    document-management file-download filecloud storage panel
  • function _download_current_version

    Downloads the current version of a document from either FileCloud storage or standard storage, handling different storage types and triggering a browser download.

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

    document-management file-download filecloud storage panel
  • 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 DocumentDetail

    Document detail view component

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

    class documentdetail
  • 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
  • class DocumentDetail_v1

    Document detail view component

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

    class documentdetail
  • function msg_to_eml

    Converts Microsoft Outlook .msg files to standard .eml format, preserving email headers, body content (plain text and HTML), and attachments.

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

    email-conversion msg-to-eml outlook email-processing file-conversion
  • function generate_html_from_msg

    Converts an email message object into a formatted HTML representation with styling, headers, body content, and attachment information.

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

    email html-generation email-parsing formatting msg-file
  • class DocumentProcessor_v6

    Process different document types for RAG context extraction

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

    class documentprocessor
  • 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 format_file_size_v1

    Converts a file size in bytes to a human-readable string format with appropriate units (B, KB, MB, GB, TB).

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

    file-size formatting utility human-readable bytes-conversion
  • function test_rest_client

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

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

    testing sharepoint rest-api integration-test azure
  • 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
  • class SharePointRestClient

    A SharePoint REST API client that provides app-only authentication and methods for retrieving and downloading documents from SharePoint sites.

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

    sharepoint rest-api oauth2 authentication document-management
  • class SharePointClient

    A SharePoint client class that provides methods for connecting to SharePoint sites, retrieving documents recursively, downloading file content, and managing document metadata using app-only authentication.

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

    sharepoint document-management file-sync azure-ad authentication
  • function format_file_size

    Converts a file size in bytes to a human-readable string format with appropriate units (B, KB, MB, GB, TB).

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

    file-size formatting utility human-readable bytes-conversion
  • class SharePointGraphClient

    SharePoint client using Microsoft Graph API. This bypasses SharePoint REST API app-only token issues.

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

    class sharepointgraphclient
  • function test_folder_structure

    Tests SharePoint folder structure by listing root-level folders, displaying their contents, and providing a summary of total folders and documents.

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

    sharepoint testing folder-structure document-management microsoft-graph
  • class SharePointFileCloudSync

    Orchestrates synchronization of documents from SharePoint to FileCloud, managing the complete sync lifecycle including document retrieval, comparison, upload, and folder structure creation.

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

    synchronization sharepoint filecloud document-management cloud-sync
  • class DocumentProcessor_v4

    Handles document processing and text extraction using llmsherpa (same approach as offline_docstore_multi_vice.py).

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

    class documentprocessor
  • function test_pptx_file

    Tests the ability to open and read a PowerPoint (.pptx) file using the python-pptx library, validating file existence, size, and basic slide iteration.

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

    powerpoint pptx file-validation testing diagnostic
  • function test_docx_file

    Tests the ability to open and read a Microsoft Word (.docx) document file, validating file existence, size, and content extraction capabilities.

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

    document-testing file-validation docx word-document diagnostic
  • function test_libreoffice_conversion

    Tests LibreOffice's ability to convert a document file to PDF format using headless mode, with timeout protection and comprehensive error reporting.

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

    libreoffice pdf-conversion document-processing testing subprocess
  • function validate_azure_token_v1

    Validates an Azure AD token by parsing the JWT id_token and extracting user information such as user ID, email, name, and preferred username.

    File: /tf/active/vicechatdev/docchat/auth/azure_auth.py

    azure authentication jwt token-validation oauth
  • function test_filecloud_connection

    Tests the connection to a FileCloud server by establishing a client connection and performing a document search operation to verify functionality.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_implementation.py

    testing filecloud connection-test document-search integration-test
  • function test_with_real_documents

    Tests a contract analyzer system by processing real documents from FileCloud, extracting contract information, and generating analysis reports with performance metrics.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_real_documents.py

    testing integration-test contract-analysis document-processing filecloud
  • function debug_download

    A diagnostic function that downloads a PDF document from FileCloud, analyzes its content to verify it's a valid PDF, and tests text extraction capabilities.

    File: /tf/active/vicechatdev/contract_validity_analyzer/debug_download.py

    debugging diagnostics filecloud pdf download
  • function explore_documents

    Explores and tests document accessibility across multiple FileCloud directory paths, attempting to download and validate document content from various locations in a hierarchical search pattern.

    File: /tf/active/vicechatdev/contract_validity_analyzer/explore_documents.py

    filecloud document-exploration diagnostic file-search pdf-validation
  • function main_v6

    Main entry point function for the Contract Validity Analyzer application that orchestrates configuration loading, logging setup, FileCloud connection, and contract analysis execution.

    File: /tf/active/vicechatdev/contract_validity_analyzer/main.py

    entry-point main-function cli-application contract-analysis filecloud
  • function test_excel_output

    A test function that validates Excel output generation for contract analysis results, ensuring new fields (third_party_emails, third_party_tax_ids) are properly formatted and persisted.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_excel_output.py

    testing unit-test excel data-validation contract-analysis
  • class ContractAnalyzer

    Main class for analyzing contract validity from FileCloud documents.

    File: /tf/active/vicechatdev/contract_validity_analyzer/core/analyzer.py

    class contractanalyzer
  • class FileCloudClient_v1

    A client class for interacting with FileCloud storage systems through direct API calls, providing authentication, file search, download, and metadata retrieval capabilities.

    File: /tf/active/vicechatdev/contract_validity_analyzer/utils/filecloud_client.py

    filecloud storage api-client file-management document-management
  • class DocumentProcessor_v1

    A document processing class that extracts text from PDF and Word documents using llmsherpa as the primary method with fallback support for PyPDF2, pdfplumber, and python-docx.

    File: /tf/active/vicechatdev/contract_validity_analyzer/utils/document_processor_new.py

    document-processing text-extraction pdf-processing word-processing llmsherpa
  • class DocumentProcessor_v2

    A document processing class that extracts text from PDF and Word documents using llmsherpa as the primary method with fallback support for PyPDF2, pdfplumber, and python-docx.

    File: /tf/active/vicechatdev/contract_validity_analyzer/utils/document_processor_old.py

    document-processing text-extraction pdf-processing word-processing llmsherpa
  • class SharePointClient_v1

    Comprehensive SharePoint client using app-only authentication. Requires Azure AD app registration with appropriate SharePoint permissions.

    File: /tf/active/vicechatdev/Sharepoint/sharepoint_client.py

    class sharepointclient
  • class DocumentProcessor_v7

    Lightweight document processor for chat upload functionality

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

    class documentprocessor
  • function api_upload_document_v1

    Flask API endpoint that handles document file uploads, validates file type and size, stores the file temporarily, and extracts basic text content for processing.

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

    file-upload document-processing api-endpoint flask validation
  • function test_extraction_debugging

    A test function that validates the extraction debugging functionality of a DocumentProcessor by creating test files, simulating document extraction, and verifying debug log creation.

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

    testing debugging document-processing file-operations unit-test
  • class ControlledDocumentFlaskApp

    Main Flask application class for Controlled Document Management System.

    File: /tf/active/vicechatdev/CDocs/main_flask.py

    class controlleddocumentflaskapp
  • function import_document_from_filecloud

    Imports a document from FileCloud into the system by extracting metadata, creating a controlled document record, downloading the file content, creating a document version, and uploading it back to FileCloud with proper folder structure.

    File: /tf/active/vicechatdev/CDocs/FC_sync.py

    document-management filecloud import file-upload metadata
  • function format_session_args

    Converts session arguments dictionary with byte keys/values to a formatted JSON string for readable logging.

    File: /tf/active/vicechatdev/CDocs/main.py

    logging formatting session-management bytes-to-string panel
  • class ControlledDocumentApp

    Main application class for the Controlled Document Management System. This class initializes all components and provides the main Panel interface for the application. It is designed to be served via `panel serve` command and integrates with the existing datacapture application.

    File: /tf/active/vicechatdev/CDocs/main.py

    class controlleddocumentapp

Search Examples