Skip to main content

Longclaw

Call For Maintainers

If you are interested in developing this project, please get in touch https://github.com/JamesRamm/longclaw/issues/375

Pypi Version Codecov Status Build Status Code Health

An e-commerce extension for Wagtail CMS

Checkout the documentation

Image of the dashboard

Project Status

We are working to upgrade the package for the latest versions of Django and Wagtail. While doing this we may need to change the way the package is structured as well as making breaking changes to the code. If you want to use Longclaw in a project, please use the latest release (1.0.2) until we have finished the upgrade.

Currently supported versions

We are currently running the tests against the following versions of Python, Django and Wagtail.

  • Django >= 4.1, <= 4.2
  • Wagtail >= 4.1, <= 5.2
  • Python >= 3.9, <= 3.11

Developers

If you are interested in working on this project, please use the Development setup instructions below to get started.

Quickstart

Install Longclaw:

pip install wagtail-longclaw

Setup a Longclaw project

longclaw start my_project

Go to project directory and create missing migrations

python manage.py makemigrations home catalog

Do migrations for whole project and run

python manage.py migrate
python manage.py loadcountries
python manage.py createsuperuser
python manage.py runserver

Features

  • Tightly integrated with Wagtail. Create products, manage orders, configure shipping and view statistics all from the Wagtail admin.
  • Multiple payment backends. Longclaw currently supports Stripe, Braintree and PayPal (v.zero) payments.
  • Comprehensive REST API & javascript client easily loaded via a template tag
  • Create your catalogue as Wagtail pages, with complete control over your product fields
  • Easy setup. Just run longclaw start my_project to get going
  • Simple to use, simple to change. Write your frontend as you would any other wagtail website. No complicated overriding, forking etc in order to customise behaviour.

Screenshots

Order Detail

Development setup

Work in progress

The following instructions are for setting up a development environment for Longclaw while we work on the upgrade. If you want to use Longclaw in a project, please use the latest release (1.0.2) until we have finished the upgrade.

Create a virtualenv and install the requirements

python3 -m venv venv
source venv/bin/activate
pip install -e ".[testing]"

Install and build the frontend

The frontend is built using node and webpack. The version of node required is v12 (LTS). We recommend using nvm to manage node versions.

cd longclaw/client

Optional: If you are using nvm, you can run nvm use to set the correct version of node.

Install the dependencies and build the frontend

npm install --no-save
npm run build

Run the tests

make test

Run the tests with TOX

make test-all

Metadata

Release files for wagtail-longclaw 8.0.0

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

Source distribution (sdist)

Source distribution for wagtail-longclaw 8.0.0
File Size Uploaded Provenance Actions
wagtail_longclaw-8.0.0.tar.gz 309.3 kB Without provenance Details for wagtail_longclaw-8.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wagtail-longclaw 8.0.0
File Interpreter ABI Platform Actions
wagtail_longclaw-8.0.0-py3-none-any.whl Python 3 none any Details for wagtail_longclaw-8.0.0-py3-none-any.whl

Total release size: 669.7 kB

Release files / wagtail_longclaw-8.0.0.tar.gz

Download URL wagtail_longclaw-8.0.0.tar.gz
Size 309.3 kB
Tags Source
SHA-256 checksum
How to use checksums
959927b42dd5a8c2ac827c49f0fb7dc6c55fdd1c405d2a2920e3d0ef027dd0ad
BLAKE2b-256 checksum
How to use checksums
a6ce4a7ae25dd159b8b5b84d83ea58886fc3050ab1db9bd38276fd29472ffb27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / wagtail_longclaw-8.0.0-py3-none-any.whl

Download URL wagtail_longclaw-8.0.0-py3-none-any.whl
Size 360.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
599855972946a4230f043c50adc3eb41617d0d978d70274771589ebe655016e1
BLAKE2b-256 checksum
How to use checksums
7ef490d5f4f58bf17b4fbb7ca249d2361d9c6f3c12d07e2317c7772b849e687a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for wagtail-longclaw 8.0.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.

Release history Release notifications | RSS feed

This release

8.0.0 This release

2 release files No provenance

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