semvec/pypi-packages huggingface dataset:
pdcd 1.2.1
Tool that orchestrates executing Docker containers to build payloads
License: MIT
Requires Python: <4.0,>=3.8

# PDC Docker ("PDCD")

PDC Docker is a lightweight tool that orchestrates executing Docker containers.

Documentation can be found in the [docs directory](docs/).

Release blog can be found here: [link](https://sra.io/blog/pdcd-orchestrating-payload-generation/).

## Setup

- Have Python 3 installed
- Have Docker installed
- (Optional) AWS SSM Session Manager Plugin
  - used for remote mode, see [Connectors](docs/Connectors.md) for information

### Using virtualenv

Local

```
pip install dist/*.whl
```

Remote

```
pip install git+https://github.com/SecurityRiskAdvisors/pdcd.git
```

PyPI

```
pip install pdcd
```

## Usage (running)

Execute payloads in config

```
pdcd run -c <config file> [-w <# workers>]
```

- **-c** path to config file

## Usage (logs)

Retrieve logs for payloads in config

*Note:* only usable when cleanup is set to "False" in config

```
pdcd logs -c <config file> [-l <#>] [-i <image>]
```

- **-c** path to config file
- **l** max number of logs to retrieve
- **i** filter to only this specific image
django-enhanced-subscriptions 1.0.2
This Django library provides a comprehensive solution for managing subscriptions, feature access and wallet functionality
License: MIT
Requires Python: >=3.8

About
-----
This Django library provides a comprehensive solution for managing 
subscriptions, feature access and wallet functionality

Features
--------
+ Associates features with subscription plans and define limits
+ Manage a user wallet for managing subscription payments, refunds and credits
+ Records all wallet transactions including subscription payments, cancellation and refunds
+ Capture details for a subscription plan
+ Define cost and frequency of billing for a plan
+ Associates user's to specific subscriptions
+ Define feature that can be included in subscription plans
+ Define pricing tiers for features with tiered pricing
+ Tracks usage of features by subscribed users

Installation
------------

1. Install package

.. code-block:: python

   pip install django-enhanced-subscriptions


2. Add "django-enhanced-subscriptions" to your ``INSTALLED_APPS`` setting:

   .. code-block:: python

      INSTALLED_APPS = [
          ...
          'subcription',
      ]

3. Run migrations:

   .. code-block:: python

      python manage.py migrate

4. Override the below config in ``settings.py`` 

   .. code-block:: python

      SUBSCRIPTION = {
        "CACHE_TIMEOUT_SECONDS":  60,
        "BASE_RETRY_DELAY_SECONDS": 300,
        "FIXED_INTERVAL_DELAY": 3600,
        "MAX_RETRY_ATTEMPTS": 3,
        "CACHE_TIMEOUT_MINUTES": 5,
        "GRACE_PERIOD_DAYS": 1,
        "ENABLE_ADMIN": True, 
      }

Documentation
-------------

https://django-enhanced-subscriptions.readthedocs.io/en/latest/index.html