Django reusable app to manage GPG public keys.
Project description
django-gpg-keys-manager
Reusable Django app to manage GPG public keys (export, verification, temporary keys fetched from keyservers).
Quickstart
- Create and activate a Python virtualenv
python -m venv .venv
source .venv/bin/activate
- Install dependencies
pip install -r requirements.txt || pip install Django pgpy django-allauth
- Run the example project (from repository root)
The repository includes helper tooling that integrates with the uv runner (used in this workspace).
Using uv (recommended in this workspace):
uv run manage.py migrate
uv run manage.py runserver
Or directly with Python:
python manage.py migrate
python manage.py runserver
The example project mounts the app at /gpg/.
Notes
- The repository contains two app locations: the original
gpg/and the new reusable packagegpg_keys/. - The module
gpg_keys.utils.get_request()finds the active DjangoHttpRequestby walking stack frames; it's used where a globalrequestvariable used to be imported fromproject.middleware.
Vercel deployment
This repository includes helper files for deploying to Vercel. Vercel will install dependencies from requirements.txt automatically. The build step compiles translations and collects static files.
Files added for Vercel:
requirements.txt— Python dependenciesbuild.sh— runpython manage.py compilemessagesandpython manage.py collectstatic --noinputvercel.json— Vercel configuration (adjust if needed for your setup)
On Vercel the build will run build.sh and the Python server runtime will serve the Django app. You may need to set environment variables (e.g., DJANGO_SECRET_KEY, DATABASE_URL) in the Vercel project settings.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_gpg_keys_manager-0.1.0.tar.gz.
File metadata
- Download URL: django_gpg_keys_manager-0.1.0.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcb93278ba277b043454753f4ccbe4aa02257e10a82bfa80f0b73c66afda8a4b
|
|
| MD5 |
795213d7a6a0f69d5787d1cd83237915
|
|
| BLAKE2b-256 |
ef8c681953792b0addff1f524469a325c064a75de1629b069956bd5970a3f0b4
|
File details
Details for the file django_gpg_keys_manager-0.1.0-py3-none-any.whl.
File metadata
- Download URL: django_gpg_keys_manager-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b947d5c210d9e344f3370e09f7399edd178ea6b472647b2094e69dde80aa161
|
|
| MD5 |
954fca8493f003342ac221f625f38c0c
|
|
| BLAKE2b-256 |
c8b9ece66fb7e39d214b1ade1dfd898fe986cfa0c8ea670d4c30de75aa91a583
|