🔍 Code Extractor

Browse Components

Showing 20 of 1247 components

  • function smartstat_upload_data

    Flask route handler that uploads CSV or Excel data files to a SmartStat analysis session, with support for multi-sheet Excel files and session recovery.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4784-4898

    flask file-upload csv excel data-analysis
  • function smartstat_workspace

    Flask route handler that opens a SmartStat statistical analysis workspace for a specific data section, managing session creation, data restoration, and access control.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4663-4780

    flask-route web-handler statistical-analysis session-management data-restoration
  • function get_user_data_sections

    Flask API endpoint that retrieves all data sections associated with a specific user, enforcing access control to ensure users can only access their own data sections.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4638-4655

    flask api rest authentication authorization
  • function save_data_section_analysis

    Flask API endpoint that saves analysis results (plots, conclusions, and analysis data) from a data analysis session to a data section in the database.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4584-4634

    flask api-endpoint data-analysis persistence authentication
  • function data_section_analysis_chat

    Async Flask route handler that processes chat messages for data section analysis, managing conversation history and integrating with a statistical analysis service.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4531-4580

    flask api-endpoint async chat data-analysis
  • function upload_data_section_dataset

    Flask API endpoint that handles CSV file uploads for data section analysis, processes the file, extracts metadata, and stores it in the data section for persistence.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4464-4527

    file-upload csv-processing data-analysis authentication api-endpoint
  • function create_data_section_analysis_session

    Flask API endpoint that creates or retrieves an analysis session for a specific data section, ensuring user ownership and linking the session to the data section.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4419-4460

    flask api-endpoint rest-api data-analysis session-management
  • function update_data_section_content

    Flask API endpoint that updates the content of a data section, setting both current_content and analysis_conclusions fields to the provided content value.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4386-4414

    flask api rest data-section update
  • function update_data_section_conclusions

    Flask API endpoint that updates the conclusions/interpretations field for a specific data section, with authentication and ownership validation.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4354-4382

    flask api-endpoint data-section conclusions update
  • function delete_data_section

    Flask API endpoint that deletes a data section after verifying ownership by the authenticated user.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4327-4350

    flask api rest delete data-section
  • function update_data_section

    Flask API endpoint that updates an existing data section's metadata and content fields for authenticated users with ownership verification.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4292-4323

    flask api-endpoint rest-api update data-section
  • function get_data_section

    Flask API endpoint that retrieves a specific data section by ID, ensuring the requesting user is the owner of the section.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4277-4288

    flask api rest-endpoint authentication authorization
  • function get_all_data_sections

    Flask API endpoint that retrieves all data sections associated with the currently authenticated user and returns them as JSON.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4261-4273

    flask api rest-api endpoint authentication
  • function create_data_section

    Flask API endpoint that creates a new data section for authenticated users, accepting title and description from JSON request body.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4234-4257

    flask api rest-endpoint data-section create
  • function add_table_to_pdf_v1

    Adds a formatted table to a PDF document story with proper text wrapping, styling, and header formatting using ReportLab's platypus components.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4174-4226

    pdf-generation reportlab table-formatting document-generation text-wrapping
  • function convert_markdown_to_html_v1

    Converts basic Markdown syntax to HTML markup compatible with ReportLab PDF generation, including support for clickable links, bold, italic, and inline code formatting.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4160-4172

    markdown html conversion text-formatting reportlab
  • function add_formatted_content_to_pdf_v1

    Converts processed markdown elements into formatted PDF content by adding paragraphs, headers, lists, and tables to a ReportLab story object with appropriate styling.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4126-4158

    pdf-generation reportlab markdown-conversion document-formatting content-rendering
  • function add_table_to_word

    Adds a formatted table to a Word document using python-docx, with support for header rows and automatic column sizing based on table data.

    File: /tf/active/vicechatdev/vice_ai/new_app.py | Lines: 4077-4124

    word-document table-generation docx document-formatting python-docx
  • function add_table_to_word_v1

    Adds a formatted table to a Microsoft Word document using the python-docx library, with automatic column detection, header row styling, and debug logging.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py | Lines: 1529-1576

    word-document table-generation docx document-formatting python-docx
  • 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 | Lines: 4005-4075

    word-document hyperlink python-docx OOXML document-generation