Skip to main content

juntagrico-custom_sub

juntagrico-ci Maintainability Test Coverage image image

This is an extension for juntagrico. You can find more information about juntagrico here (https://github.com/juntagrico/juntagrico).

This extension provides support for custom composition of subscriptions. Each user can select the amount of predefined products in his or her subscription. A subscription has a total amount of available units and each product can be assigned a size in these units.

The extension also creates depot lists and packing lists that describe which products should be delivered to a depot and by which user they should be collected.

Installation

Install juntagrico-badge via pip

$ pip install juntagrico-custom-sub

or add it in your projects requirements.txt

In settings.py add 'juntagrico_custom_sub',, above 'juntagrico'.

INSTALLED_APPS = [
    ...
    'juntagrico_custom_sub',
    'juntagrico',
]

Set the signup manager to include the additional step during signup

SIGNUP_MANAGER = "juntagrico_custom_sub.util.sessions.SignupManager"

and configure the depot lists.

from juntagrico_custom_sub import defaults as cs_defaults
DEPOT_LISTS = cs_defaults.DEPOT_LISTS

The depot lists respect the delivery interval (interval and offset) of the subscription types: A subscription is only listed on the dates on which one of its parts is delivered (see generate_depot_list --days).

Because the content of a subscription is defined for the whole subscription, all regular (non-extra) parts of a subscription must have the same delivery rhythm. This is enforced when subscription parts are selected, ordered or changed, including in the admin. Run python manage.py cs_check_rhythms to list existing subscriptions that violate this rule.

In your urls.py you also need to extend the pattern:

urlpatterns = [
    ...
    path('', include('juntagrico_custom_sub.urls')),
]

Metadata

Release files for juntagrico-custom-sub 2.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for juntagrico-custom-sub 2.0.3
File Size Uploaded Provenance Actions
juntagrico_custom_sub-2.0.3.tar.gz 32.2 kB With provenance Details for juntagrico_custom_sub-2.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for juntagrico-custom-sub 2.0.3
File Interpreter ABI Platform Actions
juntagrico_custom_sub-2.0.3-py3-none-any.whl Python 3 none any Details for juntagrico_custom_sub-2.0.3-py3-none-any.whl

Total release size: 83.1 kB

Release files / juntagrico_custom_sub-2.0.3.tar.gz

Download URL juntagrico_custom_sub-2.0.3.tar.gz
Size 32.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f2e976c2f425c7859ec24d594605c3590012fd34ae810e2f424d5715a1441c26
BLAKE2b-256 checksum
How to use checksums
1aed310164a72583a6ea5af796cd0fe6f980ca58974ae6118a17dd237e4fc791
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / juntagrico_custom_sub-2.0.3-py3-none-any.whl

Download URL juntagrico_custom_sub-2.0.3-py3-none-any.whl
Size 50.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef4eaddbd4ca115bba93aed7022c6d9e8017f36dcd6fc2ef187b7b83fce9d8c2
BLAKE2b-256 checksum
How to use checksums
f1edf2b972be625b81703c5b5c3d22bcd4921f8a5400574f37ed4b1dae9ea7d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for juntagrico-custom-sub 2.0.3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for juntagrico_custom_sub-2.0.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

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.

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