Files
Arkasha c095560e13 feat: improve documentation quality with real data
- Extract file-level docstrings from Python files (module-level string expressions)
- Use __init__.py docstrings as module doc_summary
- Use file docstrings as file purpose in layout tables (instead of 'Source file')
- Populate module outbound_modules/inbound_modules from import edges (internal only)
- Make filename sanitization consistent (sanitize_for_link matches sanitize_filename)
- Clean up stale .md files from previous runs before generating
- Fill ARCHITECTURE.md template with real layout, modules index, and critical points
- Add file_docstring field to ParsedModule and file_purpose to FileDoc
2026-02-15 04:10:20 +03:00

6.4 KiB

File: ./src/core.py

  • Module: core
  • Defined symbols: 6
  • Imports: 2

File intent (manual)

<FILL_MANUALLY>


Imports & file-level dependencies

Generated. Do not edit inside this block.

  • sqlite3
  • requests

Symbols index

Generated. Do not edit inside this block.

  • DatabaseManager (Class)
  • DatabaseManager.__init__ (Method)
  • DatabaseManager.connect (Method)
  • DatabaseManager.execute_query (Method)
  • fetch_external_data (Function)
  • process_user_data (Function)

Symbol details

DatabaseManager

  • Kind: Class
  • Signature: class DatabaseManager
  • Docstring: Manages database connections and operations.

What it does

extracted from AST

Relations

Outbound calls (best-effort):

Inbound (used by) (best-effort):

Integrations (heuristic)

  • HTTP: no
  • DB: yes
  • Queue/Tasks: no

Risk / impact

  • fan-in: 2
  • fan-out: 4
  • cycle participant: no
  • critical: no

Manual notes

<FILL_MANUALLY>

DatabaseManager.__init__

  • Kind: Method
  • Signature: def __init__(self, db_path: str)
  • Docstring: No documentation available

What it does

extracted from AST

Relations

Outbound calls (best-effort):

Inbound (used by) (best-effort):

Integrations (heuristic)

  • HTTP: no
  • DB: no
  • Queue/Tasks: no

Risk / impact

  • fan-in: 0
  • fan-out: 0
  • cycle participant: no
  • critical: no

Manual notes

<FILL_MANUALLY>

DatabaseManager.connect

  • Kind: Method
  • Signature: def connect(self)
  • Docstring: Connect to the database.

What it does

extracted from AST

Relations

Outbound calls (best-effort):

Inbound (used by) (best-effort):

Integrations (heuristic)

  • HTTP: no
  • DB: yes
  • Queue/Tasks: no

Risk / impact

  • fan-in: 0
  • fan-out: 1
  • cycle participant: no
  • critical: no

Manual notes

<FILL_MANUALLY>

DatabaseManager.execute_query

  • Kind: Method
  • Signature: def execute_query(self, query: str)
  • Docstring: Execute a database query.

What it does

extracted from AST

Relations

Outbound calls (best-effort):

Inbound (used by) (best-effort):

Integrations (heuristic)

  • HTTP: no
  • DB: no
  • Queue/Tasks: no

Risk / impact

  • fan-in: 0
  • fan-out: 3
  • cycle participant: no
  • critical: no

Manual notes

<FILL_MANUALLY>

fetch_external_data

  • Kind: Function
  • Signature: def fetch_external_data(url: str)
  • Docstring: Fetch data from an external API.

What it does

extracted from AST

Relations

Outbound calls (best-effort):

Inbound (used by) (best-effort):

Integrations (heuristic)

  • HTTP: yes
  • DB: no
  • Queue/Tasks: no

Risk / impact

  • fan-in: 2
  • fan-out: 2
  • cycle participant: no
  • critical: no

Manual notes

<FILL_MANUALLY>

process_user_data

  • Kind: Function
  • Signature: def process_user_data(user_id: int)
  • Docstring: Process user data with database and external API calls.

What it does

extracted from AST

Relations

Outbound calls (best-effort):

Inbound (used by) (best-effort):

Integrations (heuristic)

  • HTTP: no
  • DB: no
  • Queue/Tasks: no

Risk / impact

  • fan-in: 0
  • fan-out: 4
  • cycle participant: no
  • critical: no

Manual notes

<FILL_MANUALLY>