Metadata-Version: 2.4
Name: fyle-accounting-mappings
Version: 3.6.1
Summary: Django application to store the fyle accounting mappings in a generic manner
Home-page: https://github.com/fylein/fyle-accounting-mappings
Author: Shwetabh Kumar
Author-email: shwetabh.kumar@fyle.in
License: MIT
Keywords: fyle,rest,django-rest-framework,api,python,accounting
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: django>=3.0.2
Requires-Dist: django-rest-framework>=0.1.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: summary

# Fyle Accounting Mappings

## Installation and Usage

Backend infra to support all kinds of mappings in Fyle Accounting Integrations

    $ pip install fyle-accounting-mappings

In Django `settings.py` -

    INSTALLED_APPS = [
        'django.contrib.admin',
        'django.contrib.auth',
        'django.contrib.contenttypes',
        'django.contrib.sessions',
        'django.contrib.messages',
        'django.contrib.staticfiles',
    
        # Installed Apps
        'rest_framework',
        'corsheaders',
        'fyle_rest_auth', # already existing reusable django app for authentication
        'fyle_accounting_mappings', # new mapping infra app
    
        # User Created Apps
        'apps.users',
        'apps.workspaces',
        'apps.mappings',
        'apps.fyle',
        'apps.quickbooks_online',
        'apps.tasks'
    ]

Run migrations -

    $ python manage.py migrate

To use - 

    from fyle_accounting_mappings.models import MappingSetting, Mapping, ExpenseTag, DestinationTag
    
    # Operations with DB
