python-md-1.0.2


توضیحات

A simple Markdown writer
ویژگی مقدار
سیستم عامل OS Independent
نام فایل python-md-1.0.2
نام python-md
نسخه کتابخانه 1.0.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Marina Valverde
ایمیل نویسنده mdval.eh@gmail.com
آدرس صفحه اصلی https://gitlab.com/mdval/python-md
آدرس اینترنتی https://pypi.org/project/python-md/
مجوز -
# python-md python-md is a Python library for helping writing Markdown documents. ## Installation Use the package manager [pip](https://pip.pypa.io/en/stable/) to install python-md. ```bash pip install python-md ``` ## Usage ```python from python_md import Markdown md = Markdown('examples.md') content = md.h1('simple python-md example') header = ['this', 'is', 'a', 'table', 'header'] body = [ ['this', 'is', 'the', 'first', 'row'], ['this', 'is', 'the', 'second', 'row'], ['this', 'is', 'the', 'third', 'row'], ] content += md.table(header, body) md.write_to_file(content, 'w+') ``` For more examples of what you can do, check here: - Code: [examples.py](examples.py) You can also use `make` to generate the examples file: ```shell make examples ``` ## Testing To run tests, use: ```shell make tests ``` ## Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate. ## License [MIT](LICENSE)


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl python-md-1.0.2:

    pip install python-md-1.0.2.whl


نصب پکیج tar.gz python-md-1.0.2:

    pip install python-md-1.0.2.tar.gz