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.24.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.24.0
File Size Uploaded Provenance Actions
viur_shop-0.24.0.tar.gz 113.8 kB Without provenance Details for viur_shop-0.24.0.tar.gz

Built distribution (wheel)

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

Total release size: 257.1 kB

Release files / viur_shop-0.24.0.tar.gz

Download URL viur_shop-0.24.0.tar.gz
Size 113.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a7adb89f2f6e0503df28a7bdd2820cad6899e3850926227896a5083bef821868
BLAKE2b-256 checksum
How to use checksums
b6c4479509bd74e972456eb8f9c7a080cb1ee355acc9cc565b6c4d901a786176
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.24.0-py3-none-any.whl

Download URL viur_shop-0.24.0-py3-none-any.whl
Size 143.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ac3dd2478b440c405bf2a8fc0301593346e685baef2922bb3a2b19a90e4d646
BLAKE2b-256 checksum
How to use checksums
197a1c39f4fd6bdbb9778129f4bcc3dfa0161e85427aef9178c9cb6f046824e8
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.24.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.24.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