Skip to content

Latest commit

 

History

51 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CartaPy

An easy and fast document converter, built on carta.

PyPI Version minimum python version

Using it is simple:

from carta import convert

html = "<p><em>Hello</em> world!</p>"
markdown = convert(html).from_html.to_markdown()
markdown_with_options = convert(html).from_html.to_markdown(
    toc=True,
    wrap="None",
)

with open("example.docx", "rb") as f:
    html = convert(f).from_docx.to_html()

with open("example.docx", "wb") as f:
    docx = convert(html).from_html.to_docx()
    f.write(docx)

About

An easy and fast document converter

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages