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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| maltose-0.1.7.tar.gz | 2.4 MB | Without provenance | Details for maltose-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| maltose-0.1.7-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for maltose-0.1.7-py2.py3-none-any.whl |
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
|
Security for maltose 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.