{"id":13491245,"url":"https://github.com/georgemarshall/django-cryptography","last_synced_at":"2025-05-16T00:08:57.020Z","repository":{"id":5649324,"uuid":"52944543","full_name":"georgemarshall/django-cryptography","owner":"georgemarshall","description":"Easily encrypt data in Django","archived":false,"fork":false,"pushed_at":"2024-11-18T05:40:33.000Z","size":228,"stargazers_count":393,"open_issues_count":48,"forks_count":86,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-05-08T23:34:02.665Z","etag":null,"topics":["django","python"],"latest_commit_sha":null,"homepage":"https://django-cryptography.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/georgemarshall.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-02T07:55:01.000Z","updated_at":"2025-04-09T09:23:48.000Z","dependencies_parsed_at":"2023-01-13T13:38:37.209Z","dependency_job_id":"2a860aa0-9701-4d6e-8e95-0aec966f779d","html_url":"https://github.com/georgemarshall/django-cryptography","commit_stats":{"total_commits":137,"total_committers":3,"mean_commits":"45.666666666666664","dds":"0.014598540145985384","last_synced_commit":"d31005f35284fee9beebac377b34d9f072936626"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgemarshall%2Fdjango-cryptography","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgemarshall%2Fdjango-cryptography/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgemarshall%2Fdjango-cryptography/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgemarshall%2Fdjango-cryptography/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/georgemarshall","download_url":"https://codeload.github.com/georgemarshall/django-cryptography/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254442854,"owners_count":22071878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","python"],"created_at":"2024-07-31T19:00:54.866Z","updated_at":"2025-05-16T00:08:51.999Z","avatar_url":"https://github.com/georgemarshall.png","language":"Python","funding_links":[],"categories":["Libs","Python","Frameworks and Libs"],"sub_categories":["Cryptography","Python"],"readme":"Django Cryptography\n===================\n\nA set of primitives for easily encrypting data in Django, wrapping\nthe Python Cryptography_ library. Also provided is a drop in\nreplacement for Django's own cryptographic primitives, using\nCryptography_ as the backend provider.\n\nDo not forget to read the documentation_.\n\n.. START HIDDEN\n.. image:: https://img.shields.io/github/workflow/status/georgemarshall/django-cryptography/CI/master\n   :target: https://github.com/georgemarshall/django-cryptography/actions/workflows/main.yml\n   :alt: GitHub Workflow Status (branch)\n.. image:: https://img.shields.io/codecov/c/github/georgemarshall/django-cryptography/master\n   :target: https://app.codecov.io/gh/georgemarshall/django-cryptography/branch/master\n   :alt: Codecov branch\n.. END HIDDEN\n\nCryptography by example\n-----------------------\n\nUsing symmetrical encryption to store sensitive data in the database.\nWrap the desired model field with ``encrypt`` to easily\nprotect its contents.\n\n.. code-block:: python\n\n   from django.db import models\n\n   from django_cryptography.fields import encrypt\n\n\n   class MyModel(models.Model):\n       name = models.CharField(max_length=50)\n       sensitive_data = encrypt(models.CharField(max_length=50))\n\nThe data will now be automatically encrypted when saved to the\ndatabase.  ``encrypt`` uses an encryption that allows for\nbi-directional data retrieval.\n\nRequirements\n------------\n\n* Python_ (3.7, 3.8, 3.9, 3.10, 3.11)\n* Cryptography_ (2.0+)\n* Django_ (3.2, 4.1, 4.2)\n\nInstallation\n------------\n\n.. code-block:: console\n\n   pip install django-cryptography\n\n.. _Cryptography: https://cryptography.io/\n.. _Django: https://www.djangoproject.com/\n.. _Python: https://www.python.org/\n.. _documentation: https://django-cryptography.readthedocs.io/en/latest/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorgemarshall%2Fdjango-cryptography","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeorgemarshall%2Fdjango-cryptography","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorgemarshall%2Fdjango-cryptography/lists"}