Longclaw
Call For Maintainers
If you are interested in developing this project, please get in touch https://github.com/JamesRamm/longclaw/issues/375
An e-commerce extension for Wagtail CMS
Checkout the documentation
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_projectto 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
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 pbahner-longclaw 7.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pbahner_longclaw-7.0.0.tar.gz | 312.4 kB | Without provenance | Details for pbahner_longclaw-7.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pbahner_longclaw-7.0.0-py3-none-any.whl | Python 3 | none | any | Details for pbahner_longclaw-7.0.0-py3-none-any.whl |
Total release size: 673.4 kB
Release files / pbahner_longclaw-7.0.0.tar.gz
| Download URL | pbahner_longclaw-7.0.0.tar.gz |
|---|---|
| Size | 312.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
214500c5178e96e080f639f2594c4a3eef600f69aebd5cb7dde07000e2c56758
|
|
BLAKE2b-256 checksum How to use checksums |
4d4f19ec15568ed6ff1f008e40522bb2b9a0564abb45de312141508f0b4927ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / pbahner_longclaw-7.0.0-py3-none-any.whl
| Download URL | pbahner_longclaw-7.0.0-py3-none-any.whl |
|---|---|
| Size | 361.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f75df4c460b85b174f1783626df9b020297cf85bf0397873dac05b6fd5b039e
|
|
BLAKE2b-256 checksum How to use checksums |
f56ce7db07ae877eec4e4b3f1f815b0913b79592bd96f465f957c7962152fa97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for pbahner-longclaw 7.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.