django-privates


Namedjango-privates JSON
Version 2.0.0.post1 PyPI version JSON
download
home_pagehttps://github.com/sergei-maertens/django-privates
SummarySimple private media integration for Django
upload_time2024-03-01 10:30:47
maintainer
docs_urlNone
authorSergei Maertens
requires_python
license
keywords django media private storage
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===============
Django-privates
===============

Simple private media integration for Django.

|build-status| |linting| |coverage| |docs| |python-versions| |django-versions| |pypi-version|

What does it do?
================

Django supports file uploads for user-generated content out of the box, which is
typically *public* - think of images, videos...

However, often you want to expose files only to correctly authenticated users because
they have a sensitive nature, for example invoice PDFs or tenant-specific documents.

django-privates achieves the latter while being as convenient as Django's core
``FileField`` and derivatives.

Usage
=====

The installation and usage `documentation`_ is hosted on ReadTheDocs.


.. |build-status| image:: https://github.com/sergei-maertens/django-privates/workflows/Run%20CI/badge.svg
    :target: https://github.com/sergei-maertens/django-privates/actions?query=workflow%3A%22Run+CI%22
    :alt: Run CI

.. |linting| image:: https://github.com/sergei-maertens/django-privates/workflows/Code%20quality%20checks/badge.svg
    :target: https://github.com/sergei-maertens/django-privates/actions?query=workflow%3A%22Code+quality+checks%22
    :alt: Code linting

.. |coverage| image:: https://codecov.io/gh/sergei-maertens/django-privates/branch/main/graph/badge.svg
    :target: https://codecov.io/gh/sergei-maertens/django-privates
    :alt: Coverage status

.. |docs| image:: https://readthedocs.org/projects/django-privates/badge/?version=latest
    :target: https://django-privates.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. |python-versions| image:: https://img.shields.io/pypi/pyversions/django-privates.svg

.. |django-versions| image:: https://img.shields.io/pypi/djversions/django-privates.svg

.. |pypi-version| image:: https://img.shields.io/pypi/v/django-privates.svg
    :target: https://pypi.org/project/django-privates/

.. _documentation: https://django-privates.readthedocs.io/

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sergei-maertens/django-privates",
    "name": "django-privates",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "django,media,private,storage",
    "author": "Sergei Maertens",
    "author_email": "info@regex-it.nl",
    "download_url": "https://files.pythonhosted.org/packages/4e/1a/3c616b1a94ce2bcc0e6fb5228a99bc4cab4339a5799232626f5f725527fe/django-privates-2.0.0.post1.tar.gz",
    "platform": null,
    "description": "===============\nDjango-privates\n===============\n\nSimple private media integration for Django.\n\n|build-status| |linting| |coverage| |docs| |python-versions| |django-versions| |pypi-version|\n\nWhat does it do?\n================\n\nDjango supports file uploads for user-generated content out of the box, which is\ntypically *public* - think of images, videos...\n\nHowever, often you want to expose files only to correctly authenticated users because\nthey have a sensitive nature, for example invoice PDFs or tenant-specific documents.\n\ndjango-privates achieves the latter while being as convenient as Django's core\n``FileField`` and derivatives.\n\nUsage\n=====\n\nThe installation and usage `documentation`_ is hosted on ReadTheDocs.\n\n\n.. |build-status| image:: https://github.com/sergei-maertens/django-privates/workflows/Run%20CI/badge.svg\n    :target: https://github.com/sergei-maertens/django-privates/actions?query=workflow%3A%22Run+CI%22\n    :alt: Run CI\n\n.. |linting| image:: https://github.com/sergei-maertens/django-privates/workflows/Code%20quality%20checks/badge.svg\n    :target: https://github.com/sergei-maertens/django-privates/actions?query=workflow%3A%22Code+quality+checks%22\n    :alt: Code linting\n\n.. |coverage| image:: https://codecov.io/gh/sergei-maertens/django-privates/branch/main/graph/badge.svg\n    :target: https://codecov.io/gh/sergei-maertens/django-privates\n    :alt: Coverage status\n\n.. |docs| image:: https://readthedocs.org/projects/django-privates/badge/?version=latest\n    :target: https://django-privates.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\n.. |python-versions| image:: https://img.shields.io/pypi/pyversions/django-privates.svg\n\n.. |django-versions| image:: https://img.shields.io/pypi/djversions/django-privates.svg\n\n.. |pypi-version| image:: https://img.shields.io/pypi/v/django-privates.svg\n    :target: https://pypi.org/project/django-privates/\n\n.. _documentation: https://django-privates.readthedocs.io/\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Simple private media integration for Django",
    "version": "2.0.0.post1",
    "project_urls": {
        "Homepage": "https://github.com/sergei-maertens/django-privates"
    },
    "split_keywords": [
        "django",
        "media",
        "private",
        "storage"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5aa6daf116ec10dedfe64111a192f1e83e5b5a4d2d65f82b68f4a6fef2c5fc75",
                "md5": "819692043213e7eee0a734b854d8b286",
                "sha256": "63d044b2d872a326a74a3ada23871a0957b4421aded36fd6a1e1e276048e9fd7"
            },
            "downloads": -1,
            "filename": "django_privates-2.0.0.post1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "819692043213e7eee0a734b854d8b286",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 9286,
            "upload_time": "2024-03-01T10:30:45",
            "upload_time_iso_8601": "2024-03-01T10:30:45.983224Z",
            "url": "https://files.pythonhosted.org/packages/5a/a6/daf116ec10dedfe64111a192f1e83e5b5a4d2d65f82b68f4a6fef2c5fc75/django_privates-2.0.0.post1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4e1a3c616b1a94ce2bcc0e6fb5228a99bc4cab4339a5799232626f5f725527fe",
                "md5": "5f783aa3984869f3b2b0a3406b442b57",
                "sha256": "6176fab3e9ed77eddf0a9ea2ebbad07dc759662dae4326a113c1c4479da5a8da"
            },
            "downloads": -1,
            "filename": "django-privates-2.0.0.post1.tar.gz",
            "has_sig": false,
            "md5_digest": "5f783aa3984869f3b2b0a3406b442b57",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 10383,
            "upload_time": "2024-03-01T10:30:47",
            "upload_time_iso_8601": "2024-03-01T10:30:47.626659Z",
            "url": "https://files.pythonhosted.org/packages/4e/1a/3c616b1a94ce2bcc0e6fb5228a99bc4cab4339a5799232626f5f725527fe/django-privates-2.0.0.post1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-01 10:30:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sergei-maertens",
    "github_project": "django-privates",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "django-privates"
}
        
Elapsed time: 0.33371s