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.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 viur-shop 0.23.0
File Size Uploaded Provenance Actions
viur_shop-0.23.0.tar.gz 107.7 kB Without provenance Details for viur_shop-0.23.0.tar.gz

Built distribution (wheel)

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

Total release size: 246.6 kB

Release files / viur_shop-0.23.0.tar.gz

Download URL viur_shop-0.23.0.tar.gz
Size 107.7 kB
Tags Source
SHA-256 checksum
How to use checksums
43dcc09b6dfce780b6d1be54c5419c700f738fb17af8f9a482d67abcfb0e8efc
BLAKE2b-256 checksum
How to use checksums
af0bb8c07274be8ac82fe68a319a6aadf2a6f80e63fa6e60787573341eb0fe3f
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.0-py3-none-any.whl

Download URL viur_shop-0.23.0-py3-none-any.whl
Size 138.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
509f3fd370611ae02aa0d169fa7d51b9e7938fd0dd272d80b177a8438403080b
BLAKE2b-256 checksum
How to use checksums
d5f68c88af8426559295e31b98b59a7ab097c757c8457aa7e91f68d29d57d0ab
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.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

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