Metadata-Version: 2.1
Name: gdn-python-common
Version: 0.9.0
Summary: Various non-framework specific web helpers.
Home-page: https://engineering.gramedia.digital
Author: Gramedia Digital Nusantara Team
Author-email: engineering@gramedia.digital
License: GPLv3+
Project-URL: Documentation, https://gdn-python-common.rtfd.io/
Project-URL: Source, https://github.com/gramedia-digital-nusantara/python-common
Project-URL: Tracker, https://github.com/gramedia-digital-nusantara/python-common/issues
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: drf

Gramedia / Python Common
========================

.. image:: https://img.shields.io/pypi/v/gdn-python-common
.. image:: https://img.shields.io/pypi/dm/gdn-python-common
.. image:: https://img.shields.io/pypi/format/gdn-python-common
.. image:: https://travis-ci.com/gramedia-digital-nusantara/python-common.svg?branch=master

A hodgepodge of common helpers and utilities used at GDN across several Python 3.6+ projects.

* Progress Bars for your long-running CLI tasks
* Configure your app from environmental variables
* Parse and Write HTTP Link Headers
* Use link-header-style pagination in Django-Rest-Framework
* Base django model classes (timestamped, name+auto slug, soft-deletable models)

Installing
----------

.. code-block:: sh

    pip install gdn-python-common

    # or, if you'd like to have django-rest-framework installed automatically
    pip install gdn-python-common[drf]
