blog-1.0.1
توضیحات
A static website generator
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | blog-1.0.1 |
| نام | blog |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Tom Leo |
| ایمیل نویسنده | tom@tomleo.com |
| آدرس صفحه اصلی | https://github.com/tomleo/blog |
| آدرس اینترنتی | https://pypi.org/project/blog/ |
| مجوز | - |
# Blog
This is a simple static site generator. It traverses through a source directory of markdown files and creates a
destination directory with equivalent HTML files.
```
Markdown In -> HTML Out
```
---
[](https://pypi.python.org/pypi/blog)
[](https://pypi.python.org/pypi/blog)
---
## Installation
```
$ python3.7 -m venv venv
$ source venv/bin/activate
$ pip install blog
```
## Usage
```
(venv) $ python -m blog build /path/to/source-dir /path/to/build-dir
```
## Simple by design
- Nothing smart is done around friendly URLs / generating folders with `index.html` files
+ If you want an `index.html` file, create an `index.md` file in your source directory
- There is no database
- There is no configuration (for now)
**Need something more complex?**
- Consider using Hugo, Gatsby, Django, writing your own server
نیازمندی
| مقدار | نام |
|---|---|
| >=5.1.* | PyYAML |
| >=2.10.* | Jinja2 |
| >=3.1.* | Markdown |
| >=2.4.* | Pygments |
| >=6.* | pymdown-extensions |
| >=1.1.* | pyembed-markdown |
| >=0.6.* | docopt |
| - | black |
| - | flake8 |
| - | mypy |
| - | isort |
| - | pytest |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7.* | Python |
نحوه نصب
نصب پکیج whl blog-1.0.1:
pip install blog-1.0.1.whl
نصب پکیج tar.gz blog-1.0.1:
pip install blog-1.0.1.tar.gz