JinPress
A fast, lightweight, and elegantly configured Python static site generator inspired by VitePress.
Features
- Python Native: Built entirely in Python, no Node.js required
- Zero Config: Works out of the box with sensible defaults
- Fast Builds: Powered by minijinja and markdown-it-py
- Live Reload: Development server with instant updates
- Syntax Highlighting: Code blocks with Pygments
- Built-in Search: Client-side search functionality
- Custom Containers: Tip, warning, danger, and info boxes
- Theme System: Exclusive mode for complete customization
Quick Start
Installation
pip install jinpress
Create a new project
jinpress init my-docs
cd my-docs
Start development server
jinpress serve
Your site will be available at http://localhost:8000 with live reload.
Build for production
jinpress build
CLI Commands
jinpress init [project-name]- Create a new projectjinpress serve- Start development server with live reloadjinpress build- Build static site for productionjinpress info- Show project information
Project Structure
my-jinpress-project/
├── dist/ # Built site output
├── docs/ # Markdown source files
│ ├── index.md
│ ├── about.md
│ └── guide/
│ ├── index.md
│ ├── getting-started.md
│ ├── configuration.md
│ └── deployment.md
├── static/ # Custom static files
├── templates/ # Custom template overrides (optional)
├── config.yml # Site configuration
└── .gitignore
Configuration
JinPress uses a single config.yml file for all configuration:
site:
title: "My Documentation"
description: "A great documentation site"
lang: "en-US"
base: "/"
themeConfig:
nav:
- text: "Home"
link: "/"
- text: "Guide"
link: "/guide/"
- text: "About"
link: "/about/"
sidebar:
"/guide/":
- text: "Getting Started"
link: "/guide/getting-started/"
- text: "Configuration"
link: "/guide/configuration/"
- text: "Deployment"
link: "/guide/deployment/"
socialLinks:
- icon: "github"
link: "https://github.com/user/repo"
editLink:
pattern: "https://github.com/user/repo/edit/main/docs/:path"
text: "Edit this page"
footer:
message: "Built with JinPress"
copyright: "Copyright © 2025"
lastUpdated: true
Markdown Features
JinPress supports enhanced markdown with:
- Syntax highlighting with Pygments
- Custom containers (tip, warning, danger, info)
- Frontmatter for page metadata
- Table of contents generation
- Code block enhancements
Example:
:::tip
This is a tip container with custom styling.
:::
:::warning
This is a warning container.
:::
Requirements
- Python 3.8+
License
MIT License
Metadata
Release files for jinpress 0.9.0
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 | |
|---|---|---|---|---|
| jinpress-0.9.0.tar.gz | 108.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jinpress-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 144.1 kB
Release files / jinpress-0.9.0.tar.gz
| Download URL | jinpress-0.9.0.tar.gz |
|---|---|
| Size | 108.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8adbaab7584bd3d70132676befd880101abcfd35643a9adbb4ee1fd6585990c6
|
|
BLAKE2b-256 checksum How to use checksums |
fdd02848d991547f041e127c1806afc7a28ab3a57f3f99e30185e7c4c5a88884
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.1
|
Release files / jinpress-0.9.0-py3-none-any.whl
| Download URL | jinpress-0.9.0-py3-none-any.whl |
|---|---|
| Size | 36.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd981e28645a4d6a803bb7253a6da20aac1fc7ee0ca4af4e3ccb83c595a85cdb
|
|
BLAKE2b-256 checksum How to use checksums |
2e5c632921774524afa50743db47063c4a68a883d1533f73eeef1464ed267a22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.1
|
Security for jinpress 0.9.0
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.