Skip to main content

Wiking

PyPI

Wiking is a Python web application development framework.

Wiking comes together with Wiking CMS -- an extensible content management system built on top of this framework.

Wiking as a framework

A Wiking application defines its structure and content as a hierarchy of Python objects. The framework takes care of the rest -- HTML output, page layout, authentication, authorization, localization and error handling -- so that the application code stays about the application.

  • Content, not markup. Pages are composed of content element classes (paragraphs, sections, images, database forms) rather than HTML. Rendering is the exporter's job and can be extended or replaced. Thanks to LCG, the same content can also be exported to PDF, EPUB or Braille.
  • Authentication and authorization. Cookie based authentication, HTTP Basic authentication and OAuth are implemented; the application only verifies the credentials. Access rights are checked before a request reaches the module method which serves it, with the authorization logic left to the application.
  • Accessibility as a design goal. The generated pages follow the W3C standards, use ARIA landmarks and are fully operable by keyboard.
  • Multilingual by default. The user interface is localized through gettext and the content itself may exist in language variants, selected by content negotiation. Translations of the common user interface strings already exist in a number of languages.
  • Database applications. Through Pytis, database tables are published as browsing and editing forms derived from an abstract specification, rather than implemented page by page.

Wiking CMS

Wiking CMS is a website managed entirely from a web browser -- and a framework of its own at the same time. Applications such as digital library catalogues are built as its extensions, which add their own modules and menu items while reusing everything the CMS already provides:

  • User management -- registration with e-mail verification, account approval, password management, sessions and login failure logging, user roles and groups with role hierarchies.
  • Content management -- hierarchical page structure with per page access rights, revision history, attachments, structured text editing in the browser, side panels and a site map.
  • Publications -- multi chapter documents exportable to EPUB, PDF and Braille.
  • Communication -- news, a planner, discussions and newsletters with subscription management.
  • Presentation -- colour themes and style sheets managed from the browser, so that the look can be changed without touching the code.

Everything is administered through the Wiking Management Interface, which is a part of the site itself.

License

Wiking is Free Software, distributed under the terms of the GNU General Public License v2 (GPLv2). See the COPYING file for details.

Installation

Wiking is a pure Python library running on Python 3.5 or later and may be installed simply by pip install wiking. Use pip install wiking[cms] for Wiking CMS, which needs a few additional dependencies.

See the Deployment chapter of the documentation for the recommended production setup.

Usage

Documentation is included in the package. To generate the HTML version, run make doc from the package root directory.

Wiking is developed at github.com/cerha/wiking.

Metadata

Release files for wiking 2.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wiking 2.4.1
File Size Uploaded Provenance Actions
wiking-2.4.1.tar.gz 932.7 kB Without provenance Details for wiking-2.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wiking 2.4.1
File Interpreter ABI Platform Actions
wiking-2.4.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for wiking-2.4.1-py2.py3-none-any.whl

Total release size: 1.6 MB

Release files / wiking-2.4.1.tar.gz

Download URL wiking-2.4.1.tar.gz
Size 932.7 kB
Tags Source
SHA-256 checksum
How to use checksums
638285373940e122e56deceb9967e1063f67f1ffbfff7b9b2e7a6827a5cbd160
BLAKE2b-256 checksum
How to use checksums
e69650904e4654a23d0d906246abf976c2462b3b0a376545aa6ca82a40bc75ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.5

Release files / wiking-2.4.1-py2.py3-none-any.whl

Download URL wiking-2.4.1-py2.py3-none-any.whl
Size 625.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a3f9180a00601c104a00dd94be30961633496f3349bf24191b98623c14bcd2eb
BLAKE2b-256 checksum
How to use checksums
532974c8473367a8e3b8663d6e69ddf59e488b27ea6c0ae4301eafe2e00108ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.5

Security for wiking 2.4.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page