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

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.2
File Size Uploaded Provenance Actions
viur_shop-0.23.2.tar.gz 109.5 kB Without provenance Details for viur_shop-0.23.2.tar.gz

Built distribution (wheel)

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

Total release size: 248.9 kB

Release files / viur_shop-0.23.2.tar.gz

Download URL viur_shop-0.23.2.tar.gz
Size 109.5 kB
Tags Source
SHA-256 checksum
How to use checksums
77835f53cd18477a68be7c7e5ba81219f869c9b2ee2a3c12d34d4308ee95b74b
BLAKE2b-256 checksum
How to use checksums
f88a528cf9dcdaed5140f188e169f761219f4b2dc5f6254d4093b594fc468224
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.2-py3-none-any.whl

Download URL viur_shop-0.23.2-py3-none-any.whl
Size 139.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df2f40ac91d11890b3fe5755905f6a950bb31a0d29ec1f139b4fd68f1953968f
BLAKE2b-256 checksum
How to use checksums
48dd0b11a464ca1cecb9928f303e610c72e0582da8cef20e3cd5c3ef609d35b5
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.2

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