🔍 Code Extractor

Welcome to Code Extractor

An intelligent Python code analysis and reuse system powered by LLMs.

Extract functions, methods, and classes with rich metadata for easy discovery and integration into your code generation workflows.

1030

Total Components

848

Functions

0

Methods

182

Classes

Recent Components

  • function search_documents_v1

    Searches for controlled documents in a Neo4j graph database based on multiple optional filter criteria including text query, document type, department, status, and owner.

    From: /tf/active/vicechatdev/CDocs/controllers/document_controller.py | Updated: 2025-12-06T15:53:43.556638
  • function update_status_after_approval

    Updates a controlled document's status after an approval workflow completes, determining the next status based on the approval decision and logging the change to the audit trail.

    From: /tf/active/vicechatdev/CDocs/controllers/document_controller.py | Updated: 2025-12-06T15:53:20.545300
  • function get_status_after_approval

    Determines the next status for a controlled document based on an approval decision (APPROVED or REJECTED), transitioning documents through their lifecycle workflow.

    From: /tf/active/vicechatdev/CDocs/controllers/document_controller.py | Updated: 2025-12-06T15:52:56.996273
  • function get_document_v1

    Retrieves comprehensive details of a controlled document by its UID, including optional version history, review cycles, and approval workflows.

    From: /tf/active/vicechatdev/CDocs/controllers/document_controller.py | Updated: 2025-12-06T15:52:34.253496
  • function get_document_v7

    Retrieves a document by its ID from an in-memory cache or loads it from persistent storage if not cached.

    From: /tf/active/vicechatdev/vice_ai/complex_app.py | Updated: 2025-12-06T15:52:34.251968
  • function get_document_v6

    Retrieves all versions of a document from the database given its unique identifier (UID).

    From: /tf/active/vicechatdev/document_controller_backup.py | Updated: 2025-12-06T15:52:34.249999
  • function get_document_v5

    Retrieves all versions of a controlled document from a Neo4j graph database, including metadata about which version is current.

    From: /tf/active/vicechatdev/CDocs/db/db_operations.py | Updated: 2025-12-06T15:52:34.247878
  • function get_document_v4

    Flask API endpoint that retrieves a specific document with its text and data sections, including optional sharing information, for authenticated users.

    From: /tf/active/vicechatdev/vice_ai/new_app.py | Updated: 2025-12-06T15:52:34.245247
  • function get_document_v3

    Flask API endpoint that retrieves all versions of a specific document, verifying user ownership before returning the version history.

    From: /tf/active/vicechatdev/vice_ai/new_app.py | Updated: 2025-12-06T15:52:34.243602
  • function get_document_v2

    Retrieves detailed information about a specific document version by its UID, including associated document context and version status.

    From: /tf/active/vicechatdev/document_controller_backup.py | Updated: 2025-12-06T15:52:34.241932
View All Components

Features

  • ✅ AST-based Python code parsing
  • ✅ LLM-powered metadata generation (Claude, GPT, Gemini)
  • ✅ Full-text search across components
  • ✅ Intelligent versioning and deduplication
  • ✅ Export/import collections
  • ✅ Batch metadata regeneration
  • ✅ RESTful API for integration