Simple file-based wiki for Flask
Reason this release was yanked:
Error in the package build
Project description
Flask-Wiki
About
Simple file based wiki for Flask.
Getting started
Requirements
- Python >=3.9.2,<3.13
- uv
Install dev environment
- Clone the git repository
- run
uv sync --frozen cd examplesuv run flask flask_wiki init-indexuv run flask flask_wiki index- then
uv run flask run --debug - go to http://localhost:5000/help
Configuration
Templates
- WIKI_BASE_TEMPLATE = 'wiki/base.html'
- WIKI_SEARCH_TEMPLATE = 'wiki/search.html'
- WIKI_NOT_FOUND_TEMPLATE = 'wiki/404.html'
- WIKI_FORBIDDEN_TEMPLATE = 'wiki/403.html'
- WIKI_EDITOR_TEMPLATE = 'wiki/editor.html'
- WIKI_FILES_TEMPLATE = 'wiki/files.html'
- WIKI_PAGE_TEMPLATE = 'wiki/page.html'
Miscs
- WIKI_HOME = 'home'
- WIKI_CURRENT_LANGUAGE = lambda: 'en'
- WIKI_LANGUAGES = {'en': 'English', 'fr': 'French', 'de': 'German', 'it': 'Italian'}
- WIKI_URL_PREFIX = '/help'
- WIKI_CONTENT_DIR = './data'
- WIKI_INDEX_DIR = './index'
- WIKI_UPLOAD_FOLDER = os.path.join(WIKI_CONTENT_DIR, 'files')
- WIKI_ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif', 'svg'}
- WIKI_MARKDOWN_EXTENSIONS = set(('codehilite', 'fenced_code'))
Permissions
- WIKI_EDIT_VIEW_PERMISSION = lambda: True
- WIKI_READ_VIEW_PERMISSION = lambda: True
- WIKI_EDIT_UI_PERMISSION = WIKI_EDIT_VIEW_PERMISSION
- WIKI_READ_UI_PERMISSION = WIKI_READ_VIEW_PERMISSION
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flask_wiki-1.0.2.tar.gz
(721.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
flask_wiki-1.0.2-py3-none-any.whl
(739.7 kB
view details)
File details
Details for the file flask_wiki-1.0.2.tar.gz.
File metadata
- Download URL: flask_wiki-1.0.2.tar.gz
- Upload date:
- Size: 721.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a07c3c63ab3b332550b174e26a63fdb262b20af417ca7652dd430cefc0746400
|
|
| MD5 |
8082b2759558fee448387b59e6f40474
|
|
| BLAKE2b-256 |
8beb6652f1735aba3611f157d9fc46726e09442ef5ef0c4826efee1a05d3ab3a
|
File details
Details for the file flask_wiki-1.0.2-py3-none-any.whl.
File metadata
- Download URL: flask_wiki-1.0.2-py3-none-any.whl
- Upload date:
- Size: 739.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cc1eb590814be6bcda79a40c9add76223bdbf5a644f793cc171bac2565c3e68
|
|
| MD5 |
2c5c847cf156be989d634767807cbf21
|
|
| BLAKE2b-256 |
c11ff01601d2c28ce95c78c4abeee827f392e9aa213c9d34627b684ee196488e
|