Metadata-Version: 2.1
Name: unicef-attachments
Version: 0.11
Summary: Django package that handles attachments
Home-page: https://github.com/unicef/unicef-attachments
Author: UNICEF
Author-email: dev@unicef.org
License: Apache 2 License
Platform: any
Classifier: Environment :: Web Environment
Classifier: Programming Language :: Python :: 3.9
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4.0
Classifier: Intended Audience :: Developers
License-File: LICENSE
Requires-Dist: djangorestframework
Requires-Dist: django
Requires-Dist: django-model-utils
Requires-Dist: django-ordered-model
Requires-Dist: drf-querystringfilter
Requires-Dist: python-magic
Requires-Dist: pytz
Requires-Dist: unicef-restlib
Provides-Extra: test
Requires-Dist: coverage ; extra == 'test'
Requires-Dist: django-fsm ; extra == 'test'
Requires-Dist: factory-boy ; extra == 'test'
Requires-Dist: faker ; extra == 'test'
Requires-Dist: flake8 ; extra == 'test'
Requires-Dist: isort ; extra == 'test'
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-cov ; extra == 'test'
Requires-Dist: pytest-django ; extra == 'test'
Requires-Dist: pytest-echo ; extra == 'test'
Requires-Dist: pytest-pythonpath ; extra == 'test'
Requires-Dist: psycopg2-binary ; extra == 'test'

UNICEF Attachments
==================

Django package that handles file attachments for models


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

    pip install unicef-attachments


Setup
-----

Add ``unicef_attachments`` to ``INSTALLED_APPS`` in settings
.. code-block:: python

    INSTALLED_APPS = (
      ...
      'unicef_attachments',

    )



Usage
-----

TODO

Contributing
------------

Environment Setup
~~~~~~~~~~~~~~~~~

To install the necessary libraries

    $ make install


Coding Standards
~~~~~~~~~~~~~~~~

See `PEP 8 Style Guide for Python Code <https://www.python.org/dev/peps/pep-0008/>`_ for complete details on the coding standards.

To run checks on the code to ensure code is in compliance

    $ make lint


Testing
~~~~~~~

Testing is important and tests are located in `tests/` directory and can be run with;

    $ make test

Coverage report is viewable in `build/coverage` directory, and can be generated with;


Project Links
~~~~~~~~~~~~~

 - Continuous Integration - https://circleci.com/gh/unicef/unicef-attachments/tree/develop
 - Source Code - https://github.com/unicef/unicef-attachments


