Skip to main content

Maltose

一个使用Django编写的静态博客生成器。

拥有如下功能

  • 内置图片管理
  • Makrdown编辑器 in web

快速开始

pip install maltose

使用

在你的博客目录下运行命令maltose-cli migrate用以创建数据库,如果目录下没有maltose.json配置,会询问你之后自动创建。

博客目录下必须存在templates,其中包含articles与static,前者包含所有页面的模板,后者包含所需要的静态文件。(可以使用现成的模板, 例如: https://github.com/MaltoseEditor/black-white )

使用maltose-cli.py runserver,你将能启动Django程序,你可以在localhost:8000/editor/中获得一个编辑器,用以书写博客。程序使用Django信号来创建用以发布到网络上的静态页面。

高级使用

你可以直接下载源码然后依照标准Django程序进行修改,使用python setup.py install可以安装你自己改修后的版本。

更多说明

……to be continue

Metadata

Release files for maltose 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for maltose 0.1.7
File Size Uploaded
maltose-0.1.7.tar.gz 2.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for maltose 0.1.7
File Interpreter ABI Platform
maltose-0.1.7-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 4.9 MB

Release files / maltose-0.1.7.tar.gz

Download URL maltose-0.1.7.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
9934fab37872aec2fba05a1ee584edd8825965d76f464f76dfce2fc96a84276e
BLAKE2b-256 checksum
How to use checksums
a7720982b6f06e2393560ba2d8579469e965a196a8aa6d19eecd7e5271c8de8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

Release files / maltose-0.1.7-py2.py3-none-any.whl

Download URL maltose-0.1.7-py2.py3-none-any.whl
Size 2.5 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2b3462820c8661773a7b88bdf7ca640a076591e3fb1f02df82278787f4da32b4
BLAKE2b-256 checksum
How to use checksums
08b94595bec7bc053dde051b033d070be620dc21e2aca8cdfaa864f51b3dd1a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page