Skip to main content

Customer payment-card vault with PayU tokenized cards behind an X-API-KEY REST API

Project description

Django Vault

Customer payment-card vault for the Volkanos ecommerce platform. Stores tokenized PayU cards per customer and channel, exposed through an X-API-KEY-protected REST API — companion module to entirius-django-accounts.

Installation

pip install entirius-django-vault

Add the app to your project:

INSTALLED_APPS = [
    ...
    "django_vault",
]

Requires django_accounts in INSTALLED_APPS (schema dependency) and the host settings BI_ENVIRONMENT + BI_BUSINESS_UNIT. Include the API with your URLconf:

urlpatterns += [path("", include("django_vault.urls"))]

Usage

Generate an API key and call the vault API (see docs/vault_docs.md):

python manage.py vault-generate-api-key [--file_path <path>]

Log codes reference: docs/log_codes.md.

Development

make install     # sync dependencies (uv)
make check       # lint + format check (ruff)
make test        # test suite (pytest + pytest-django)

Architecture and settings reference: AGENTS.md.

License

Mozilla Public License 2.0 — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

entirius_django_vault-2.0.0.tar.gz (88.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

entirius_django_vault-2.0.0-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file entirius_django_vault-2.0.0.tar.gz.

File metadata

  • Download URL: entirius_django_vault-2.0.0.tar.gz
  • Upload date:
  • Size: 88.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for entirius_django_vault-2.0.0.tar.gz
Algorithm Hash digest
SHA256 f8346bdc9094a24f0f62d5b02092e8237ce35629b0928242ecad26a97961bf55
MD5 8cfaa10a2fc0711cc98dc5cb6e45a06a
BLAKE2b-256 5d91c9ad0e235d84bcb45e53da9aca9c3e84a30727720055101198d30f1d71dd

See more details on using hashes here.

File details

Details for the file entirius_django_vault-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: entirius_django_vault-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for entirius_django_vault-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e4f6fc199fc5b5c66f2d43a0e6be622c9cd6cca18fcd1bdc86a8f48add9d29a
MD5 c77f9570b5b4bdc5b06b6ca840216b22
BLAKE2b-256 3992b4fef264858a83839a1e21779f602394a5f0c0d54036f3e2fd522fedf992

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page