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 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

Download files

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

Source Distribution

pbahner_longclaw-7.0.0.tar.gz (312.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pbahner_longclaw-7.0.0-py3-none-any.whl (361.0 kB view details)

Uploaded Python 3

File details

Details for the file pbahner_longclaw-7.0.0.tar.gz.

File metadata

  • Download URL: pbahner_longclaw-7.0.0.tar.gz
  • Upload date:
  • Size: 312.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for pbahner_longclaw-7.0.0.tar.gz
Algorithm Hash digest
SHA256 214500c5178e96e080f639f2594c4a3eef600f69aebd5cb7dde07000e2c56758
MD5 97a343c448e4438f57cff191fbbe9496
BLAKE2b-256 4d4f19ec15568ed6ff1f008e40522bb2b9a0564abb45de312141508f0b4927ee

See more details on using hashes here.

File details

Details for the file pbahner_longclaw-7.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pbahner_longclaw-7.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f75df4c460b85b174f1783626df9b020297cf85bf0397873dac05b6fd5b039e
MD5 ed924c305a3441c5e7bff7be2b7ffdc2
BLAKE2b-256 f56ce7db07ae877eec4e4b3f1f815b0913b79592bd96f465f957c7962152fa97

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

7.0.0 This release

2 files

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