Skip to main content
A hexagonal logo of Shop

viur-shop

Badge showing current PyPI version Documentation Status Badge displaying the license
A modular e-commerce extension for the ViUR framework.

📦 Features

  • Fully integrated Shop logic via the central shop.Shop class: cart handling, order management, API routing, bootstrapping with custom article_skel, and payment/shipping modules.
  • Extensible Modules: Address, Api, Cart, Discount, Shipping, VatRate, Order, etc. — all provided as abstract base implementations.
  • Payment Providers: Amazon Pay, PayPal Plus, Prepayment, Invoice, and Unzer integrations (Credit Card, PayPal, SOFORT, Bancontact, iDEAL). Can be extended with custom implementations.
  • Event & Hook System: Customize checkout and order flow with hooks for events like ORDER_PAID, CART_CHANGED, and CHECKOUT_STARTED.
  • Pricing & Discounts: Automated calculation of unit and bulk prices, gross/net handling, VAT rates, savings, and discount combinations via the Price class.

🚀 Requirements


🧩 Installation & Integration

pipenv install viur-shop

Integrate into your ViUR application:

# deploy/modules/shop.py
from viur.shop import Shop
from skeletons.article import ArticleSkel  # your custom article skeleton

shop = Shop(
    name="myshop",
    article_skel=ArticleSkel,
    payment_providers=[
        # e.g. PayPalPlus(), Invoice(), ... ,
    ],
    suppliers=[
        # optional Shop.types.Supplier(...),
    ],
)

🔍 Additional Resources

Metadata

Release files for viur-shop 0.23.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 viur-shop 0.23.1
File Size Uploaded Provenance Actions
viur_shop-0.23.1.tar.gz 109.4 kB Without provenance Details for viur_shop-0.23.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for viur-shop 0.23.1
File Interpreter ABI Platform Actions
viur_shop-0.23.1-py3-none-any.whl Python 3 none any Details for viur_shop-0.23.1-py3-none-any.whl

Total release size: 248.6 kB

Release files / viur_shop-0.23.1.tar.gz

Download URL viur_shop-0.23.1.tar.gz
Size 109.4 kB
Tags Source
SHA-256 checksum
How to use checksums
985d83213343c05d6cf4da588036812b0bb35d742cc23c63930c3baac4639f5a
BLAKE2b-256 checksum
How to use checksums
caea4b709bcb3773377935f0ca6fd78f8b71e3e74fe2e895cc18c752054a4cd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / viur_shop-0.23.1-py3-none-any.whl

Download URL viur_shop-0.23.1-py3-none-any.whl
Size 139.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9466c7d43dd9891a319aa762d2f1ec725086d4e34eedca84163e51f24743ea0b
BLAKE2b-256 checksum
How to use checksums
13366f7e71eaa16576938ba76bc2f7b42eaf8e6ca809ea2da56030e0ada6aec7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for viur-shop 0.23.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.

Release history Release notifications | RSS feed

This release

0.23.1 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