Skip to main content

A static content management system.

Project description

Lektor

Tests master Code Coverage PyPI version PyPI - Python Version Code Style: Black Join the chat at https://gitter.im/lektor/lektor

Lektor is a static website generator. It builds out an entire project from static files into many individual HTML pages and has a built-in admin UI and minimal desktop app.

To see how it works look at the top-level example/ folder, which contains a showcase of the wide variety of Lektor's features.

For a more complete example look at the lektor/lektor-website repository, which contains the sourcecode for the official lektor website.

How do I use this?

For installation instructions head to the official documentation:

Want to develop on Lektor?

This gets you started (assuming you have Python, pip, npm, and pre-commit installed):

$ git clone https://github.com/lektor/lektor
$ cd lektor
$ python -m venv _venv
$ . _venv/bin/activate

# pip>=21.3 is required for PEP 610 support
$ pip install -U "pip>=21.3"

$ pip install --editable .

# If you plan on committing:
$ pre-commit install

# Run the Lektor server
$ export LEKTOR_DEV=1
$ cp -r example example-project
$ lektor --project example-project server

If you want to run the test suite (you'll need tox installed):

$ tox

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lektor-3.4.0b12.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

lektor-3.4.0b12-py3-none-any.whl (708.9 kB view details)

Uploaded Python 3

File details

Details for the file lektor-3.4.0b12.tar.gz.

File metadata

  • Download URL: lektor-3.4.0b12.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for lektor-3.4.0b12.tar.gz
Algorithm Hash digest
SHA256 c74df89a63273ffbcf7fc5f2a9232654c0ddff597e248b13f192f39c9ff26d64
MD5 68589a1608687790b197f6d00c84c5a8
BLAKE2b-256 85f9a284c058619da6dac2f6107eea19bad152fbad4da89fae4b471f76d8b161

See more details on using hashes here.

Provenance

File details

Details for the file lektor-3.4.0b12-py3-none-any.whl.

File metadata

  • Download URL: lektor-3.4.0b12-py3-none-any.whl
  • Upload date:
  • Size: 708.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for lektor-3.4.0b12-py3-none-any.whl
Algorithm Hash digest
SHA256 7a1da5d1092f47fb45daa27382b1d6f8e8094e6ed957f6f0d24a98fee4e5146c
MD5 9b69b501cbf628264569b5953ac17a1b
BLAKE2b-256 5913151ed48a079312f74086bfe035d3b7780c30e1bdaff8b46a36bfc1ca83bd

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page