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.0b7.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

lektor-3.4.0b7-py3-none-any.whl (637.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lektor-3.4.0b7.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for lektor-3.4.0b7.tar.gz
Algorithm Hash digest
SHA256 b704d57da2339fa5da92658c877bfa9ede1d76ee1871e4bb4c3035d980ae390f
MD5 342a1b148a5d59e6848d092e49a4744c
BLAKE2b-256 ed057b49256913adfddc071cf11f209ee07fbcd7266ee02c6dc3bb5bc848b41c

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: lektor-3.4.0b7-py3-none-any.whl
  • Upload date:
  • Size: 637.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for lektor-3.4.0b7-py3-none-any.whl
Algorithm Hash digest
SHA256 aa3fe7e9b95716e4a5614831a1d28aa4cd06d762afa984f0543605b741fb7376
MD5 1fe7b190295a1806196b095cac382e7c
BLAKE2b-256 295143e825f6ade8fe33a7d5a46a2ee305ebc3745a72593306264e456ad7a7ec

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