Add binary and Homebrew support for CLI #25
This commit is contained in:
parent
5b4dcafb35
commit
e521eebc66
2 changed files with 9 additions and 1 deletions
|
|
@ -26,7 +26,14 @@ or from the source
|
|||
```sh
|
||||
pip install -e .
|
||||
```
|
||||
# Homebrew Installation (for macOS users)
|
||||
If you're on macOS, you can install markitdown via Homebrew:
|
||||
|
||||
```sh
|
||||
brew install markitdown
|
||||
```
|
||||
|
||||
This provides a convenient method to install and run markitdown directly from the terminal, with no need to install Python or other dependencies.
|
||||
|
||||
# Usage
|
||||
The API is simple:
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
import sys
|
||||
from ._markitdown import MarkItDown
|
||||
from markitdown._markitdown import MarkItDown
|
||||
|
||||
|
||||
def main():
|
||||
|
|
@ -40,3 +40,4 @@ EXAMPLE:
|
|||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue