🔍 Code Extractor

Search Components

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

Search Results for "cleanup"

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 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
  • class pathobrowser_base

    Base class that contains all static elements of the app Parameters ---------- image : str An Image UID which may be passed on app startup. Immediately redirects to said image Attributes ---------- current_user : Userclass A class containing various information on the user workspace : panel.layout.Column The main container of the app sidebar : panel.layout.Column Container showing items on the side of the app head : panel.layout.Row The header of the app modal : panel.layout.Column The container for the modal window of the app

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

    class pathobrowser_base
  • 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 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 main_v42

    Entry point function that parses command-line arguments and orchestrates the FileCloud email processing workflow to find, download, and convert .msg files.

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

    cli command-line entry-point filecloud email-processing
  • class DocxMerger

    A class named DocxMerger

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

    class docxmerger
  • class pathobrowser_base_v1

    Base class that contains all static elements of the app Parameters ---------- image : str An Image UID which may be passed on app startup. Immediately redirects to said image Attributes ---------- current_user : Userclass A class containing various information on the user workspace : panel.layout.Column The main container of the app sidebar : panel.layout.Column Container showing items on the side of the app head : panel.layout.Row The header of the app modal : panel.layout.Column The container for the modal window of the app

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

    class pathobrowser_base
  • function test_mixed_previous_reports

    A test function that validates the DocumentExtractor's ability to extract text content from multiple file formats (TXT and Markdown) and combine them into a unified previous reports summary.

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

    testing document-extraction file-processing integration-test text-extraction
  • 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

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

    A signal handler function that gracefully handles SIGINT (Ctrl+C) interrupts by logging a shutdown message and exiting the program cleanly.

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

    signal-handling interrupt-handling graceful-shutdown SIGINT Ctrl+C
  • function reset_collection

    Deletes an existing ChromaDB collection and logs the operation, requiring an application restart to recreate the collection.

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

    chromadb vector-database database-management collection-reset cleanup
  • function cleanup_old_tasks

    Removes tasks from the active_tasks dictionary that are older than 1 hour (3600 seconds) based on their creation timestamp.

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

    cleanup maintenance task-management thread-safe memory-management
  • function clear_session_v1

    Clears all messages from a chat session identified by session_id, resets the session's updated timestamp, and persists the changes to disk in a thread-safe manner.

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

    session-management chat thread-safe persistence state-management
  • class DocumentProcessor_v3

    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 clear_session

    Flask route handler that clears the current user's chat session, deletes associated session data from memory and disk, and creates a new empty session.

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

    flask session-management chat api-endpoint authentication
  • function test_extraction_methods

    A test function that compares two PDF text extraction methods (regular llmsherpa and OCR-based Tesseract) on a specific purchase order document from FileCloud, checking for vendor name detection.

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

    testing pdf-extraction ocr document-processing text-extraction
  • class ContractAnalyzer

    Main class for analyzing contract validity from FileCloud documents.

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

    class contractanalyzer
  • function log_performance

    A context manager decorator that logs the performance metrics of an operation by wrapping it with a PerformanceLogger instance.

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

    performance logging context-manager monitoring profiling
  • class ProgressLogger

    A progress tracking logger that monitors and reports the progress of long-running operations with timing statistics, error counts, and estimated completion times.

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

    progress-tracking logging monitoring batch-processing performance-metrics
  • 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 Config_v6

    A dataclass that stores configuration settings for a ChromaDB cleanup process, including connection parameters, cleaning/clustering options, and summarization settings.

    File: /tf/active/vicechatdev/chromadb-cleanup/src/config.py

    configuration dataclass chromadb settings cleanup
  • function raw_cleanup_database

    Performs raw database cleanup on a SQLite database to identify and fix corrupted chat_session_id values in the text_sections table by converting invalid string representations ('{}', '[]', 'null', '') to NULL.

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

    database cleanup maintenance sqlite data-integrity
  • 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
  • function delete_document_file

    Deletes a document file from the file system based on the provided document ID, removing the corresponding JSON file from the DOCUMENTS_DIR directory.

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

    file-management deletion document-management file-system cleanup
  • function remove_uploaded_document

    Removes a specific uploaded document from the application state for a given user, with thread-safe locking and automatic cleanup of empty user entries.

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

    document-management state-management thread-safe deletion cleanup
  • function clear_user_uploaded_documents

    Removes all uploaded documents associated with a specific user from the application state in a thread-safe manner.

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

    user-management document-cleanup thread-safe state-management memory-cleanup
  • function remove_uploaded_document_v1

    Removes a specific uploaded document from a user's document collection in the application state, with thread-safe locking and automatic cleanup of empty user entries.

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

    document-management thread-safe state-management deletion cleanup
  • function process_inline_markdown

    Processes inline markdown formatting by unescaping HTML entities in text. Currently performs basic cleanup while preserving markdown syntax for downstream processing.

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

    markdown text-processing html-entities preprocessing formatting
  • class ScriptExecutor

    A sandboxed Python script executor that safely runs user-provided Python code with timeout controls, security restrictions, and isolated execution environments for data analysis tasks.

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

    sandbox script-execution security code-validation data-analysis
  • function main_v64

    A test function that validates the cleanup functionality of virtual environments in project directories by testing on a specific session, measuring disk space before/after cleanup, and verifying that important files are preserved.

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

    testing cleanup virtual-environment venv disk-space
  • function cleanup_old_tasks_v1

    Removes tasks from the active_tasks dictionary that are older than 1 hour (3600 seconds) based on their creation timestamp, using thread-safe locking.

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

    cleanup task-management threading thread-safe memory-management
  • function remove_user_document

    Removes a specific document for a user by deleting the file from the filesystem and removing its metadata from the in-memory storage structure.

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

    document-management file-deletion thread-safe cleanup storage-management
  • function cleanup_old_documents

    Periodically removes documents and their associated files that are older than 2 hours from the uploaded_documents dictionary, cleaning up both file system storage and memory.

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

    cleanup maintenance file-management document-management scheduled-task
  • class SmartStatService

    Service for running SmartStat analysis sessions in Vice AI

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

    class smartstatservice
  • class DocumentProcessor_v6

    Lightweight document processor for chat upload functionality

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

    class documentprocessor
  • function api_remove_document

    Flask API endpoint that removes an uploaded document from the session and deletes its associated file from the filesystem.

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

    flask api delete document-management file-cleanup
  • function add_hyperlink_to_paragraph

    Adds a clickable hyperlink to a Microsoft Word paragraph using python-docx, with XML-based hyperlink creation and styled fallback options.

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

    word-document hyperlink python-docx OOXML document-generation
  • 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
  • function cleanup_corrupted_chat_session_ids

    Database maintenance function that identifies and fixes corrupted chat_session_id values in the text_sections table by replacing invalid string representations with NULL.

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

    database cleanup maintenance data-integrity migration
  • function main_v65

    A cleanup utility function that removes virtual environment directories from all SmartStat sessions while preserving project files, reporting disk space freed and cleanup statistics.

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

    cleanup maintenance disk-space virtual-environment venv
  • function delete_node

    Deletes a node from a Neo4j graph database by its unique identifier (UID), with optional cascade deletion of connected nodes and relationships.

    File: /tf/active/vicechatdev/CDocs/db/db_operations.py

    neo4j graph-database delete node-deletion cascade-delete
  • function close_driver

    Safely closes a global database driver connection and sets it to None, with error handling and logging.

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

    database neo4j connection-management cleanup resource-management
  • function migrate_audit_events

    Migrates orphaned AuditEvent nodes from CDocs nodes to an AuditTrail node in a Neo4j graph database by deleting old relationships and creating new ones.

    File: /tf/active/vicechatdev/CDocs/db/schema_manager.py

    neo4j database-migration graph-database audit-events data-migration
  • function reset_filecloud_client

    Resets the global FileCloud client connection by setting the global _filecloud_client variable to None, effectively clearing any existing connection state.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_controller.py

    filecloud connection-management reset cleanup global-state
  • function convert_document_to_pdf

    Converts a document version to PDF format with audit trail, signatures, watermarks, and PDF/A compliance options, then uploads the result to FileCloud storage.

    File: /tf/active/vicechatdev/CDocs/controllers/document_controller.py

    document-conversion pdf-generation document-management audit-trail compliance
  • class FileCloudIntegration

    Manages integration with FileCloud for document storage and metadata

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

    class filecloudintegration
  • function delete_notification

    Deletes a notification node from a Neo4j graph database by its unique identifier (UID).

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

    database neo4j notification delete crud

Search Examples