Skip to content

Commit

Permalink
refactor: split _markitdown.py into modular components
Browse files Browse the repository at this point in the history
  • Loading branch information
t3tra-dev committed Jan 3, 2025
1 parent 125e206 commit 61c0c58
Show file tree
Hide file tree
Showing 12 changed files with 1,564 additions and 1,517 deletions.
3 changes: 2 additions & 1 deletion src/markitdown/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
#
# SPDX-License-Identifier: MIT

from ._markitdown import MarkItDown, FileConversionException, UnsupportedFormatException
from .core import (FileConversionException, MarkItDown,
UnsupportedFormatException)

__all__ = [
"MarkItDown",
Expand Down
3 changes: 2 additions & 1 deletion src/markitdown/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
import argparse
import sys
from textwrap import dedent

from .__about__ import __version__
from ._markitdown import MarkItDown, DocumentConverterResult
from .core import DocumentConverterResult, MarkItDown


def main():
Expand Down
Loading

0 comments on commit 61c0c58

Please sign in to comment.