Skip to main content

A package to support resellers.

It maintains in a postgres database information about providers, products (called articles), clients, orders and deliveries. It uses a Zope2 frontend for user interaction.

It assumes a single (implicit) reseller and several “provider”s and “client”s.

Each provider provides “article”s which the clients can buy.

Clients buy articles in “unit”s; the provider provides them in “packet”s which contain an integral number of “unit”s. If the “packet_size” is different from 1, then the reseller repackages the delivered articles for its clients.

The reseller continously collects “client_order_item”s and periodically issues “order”s to a provider consisting of “provider_order_item”s.

The reseller occationally receives a “provider_delivery” for an order consisting of “provider_delivery_item”s and splits them into “client_delivery_item”s.

There is a special client, used as stock. It can be used to balance orders and deliveries. It (and it alone) can have negative “unit” values in its “client_delivery_items” - indicating that units have been taken out of the stock.

Usually, we do not delete items. Instead, we mark them as not “active”. This is in order not to break references.

Metadata

Release files for dm.zope.reseller 1.0.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 dm.zope.reseller 1.0.1
File Size Uploaded
dm.zope.reseller-1.0.1.tar.gz 99.7 kB Details

Release files / dm.zope.reseller-1.0.1.tar.gz

Download URL dm.zope.reseller-1.0.1.tar.gz
Size 99.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b103dcd1734e590c6ac73f01f5bf33b8996f7afa225167f7d41184e4ac37f0df
BLAKE2b-256 checksum
How to use checksums
71eebeb9a4c7a7329a2306f3671b73d89e1c37d0e9be5004aa0559bbde9f30b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
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