{ "info": { "author": "Timothy Hobbs", "author_email": "timothy.hobbs@auto-mat.cz", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Utilities" ], "description": "django-import-export-celery: process slow django imports and exports in celery\n==============================================================================\n\ndjango-import-export-celery helps you process long running imports in celery.\n\nSetting up imports with celery\n------------------------------\n\nA fully configured example project can be found in the example directory of this repository.\n\n1. `Set up celery `_ to work with your project.\n\n2. Add 'import_export_celery' to your INSTALLED_APPS settings variable and configure the IMPORT_EXPORT_CELERY_MODELS variable.\n\n::\n\n IMPORT_EXPORT_CELERY_MODELS = {\n \"Winner\": {'app_label': 'winners', 'model_name': 'Winner'}\n }\n\nThe available parameters are `app_label`, `model_name`, and `resource`. 'resource' should be a function which returns a django-import-export `Resource `_.\n\n3. Done\n\nPreforming an import\n--------------------\n\nYou will find an example django application that uses django-import-export-celery for importing data. There are instructions for running the example application in the example directory's README file. Once you have it running, you can perform an import with the following steps.\n\n1. Navigate to the example applications admin page:\n\n.. image:: screenshots/admin.png\n\n2. Navigate to the ImportJobs table:\n\n.. image:: screenshots/import_jobs.png\n\n3. Create a new import job. There is an example import CSV file in the example/example-data directory. Select that file. Select csv as the file format. We'll be importing to the Winner's model table. \n\n.. image:: screenshots/new_import_job.png\n\n4. Select \"Save and continue editing\" to save the import job and refresh until you see that a \"Summary of changes made by this import\" file has been created.\n\n.. image:: screenshots/summary.png\n\n5. You can view the summary if you want. Your import has NOT BEEN PERFORMED YET!\n\n.. image:: screenshots/view-summary.png\n\n6. Return to the import-jobs table, select the import job we just created, and select the \"Perform import\" action from the actions drop down.\n\n.. image:: screenshots/perform-import.png\n\n7. In a short time, your imported Winner object should show up in your Winners table.\n\n.. image:: screenshots/new-winner.png\n\nExports are not yet supported but they hopefully will be in a future release. PRs welcome.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "http://pypi.python.org/pypi/django-import-export-celery/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/auto-mat/django-import-export-celery", "keywords": "", "license": "License :: OSI Approved :: GNU Lesser General Public License v3.0 or later (LGPLv3.0+)", "maintainer": "", "maintainer_email": "", "name": "django-import-export-celery", "package_url": "https://pypi.org/project/django-import-export-celery/", "platform": "", "project_url": "https://pypi.org/project/django-import-export-celery/", "project_urls": { "Download": "http://pypi.python.org/pypi/django-import-export-celery/", "Homepage": "https://github.com/auto-mat/django-import-export-celery" }, "release_url": "https://pypi.org/project/django-import-export-celery/0.0.3/", "requires_dist": [ "Django", "django-author", "django-import-export" ], "requires_python": "", "summary": "Process long running django imports and exports in celery", "version": "0.0.3" }, "last_serial": 5535250, "releases": { "0.0": [ { "comment_text": "", "digests": { "md5": "a66693d372e68ec25246809244907a52", "sha256": "13ec44afadc6d66ef4787f6c4a4ed045d6b72d2cbd580df398c4da0f51d233d4" }, "downloads": -1, "filename": "django_import_export_celery-0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a66693d372e68ec25246809244907a52", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9904, "upload_time": "2019-07-05T21:00:36", "url": "https://files.pythonhosted.org/packages/97/00/4e3f56d0a13f2463ede065b76340151560c4e8c0f2a3c06ed9482dc6a07c/django_import_export_celery-0.0-py3-none-any.whl" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "613d9b0d6f51e40164d4f30451c908c2", "sha256": "ddd8392849d49000762ea66803c9a2659c28da36270fa67903590aa9efa66df6" }, "downloads": -1, "filename": "django_import_export_celery-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "613d9b0d6f51e40164d4f30451c908c2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9936, "upload_time": "2019-07-05T23:01:52", "url": "https://files.pythonhosted.org/packages/f9/3b/805c5ffe50678e5a61c10c7f25a63c8f34ddbe54147b2aa67f6eb0bef514/django_import_export_celery-0.0.1-py3-none-any.whl" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "050f0e4349319d8d1f80873f78c429de", "sha256": "fa96980a8c51f7d278e9cce78b29a3d912a0733dca91c3b04fc1d73d103f8469" }, "downloads": -1, "filename": "django_import_export_celery-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "050f0e4349319d8d1f80873f78c429de", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10054, "upload_time": "2019-07-05T23:24:50", "url": "https://files.pythonhosted.org/packages/57/b5/ae559d331e599eb31f19e5981ef9cafd36fa6d48746de0223611585d703d/django_import_export_celery-0.0.2-py3-none-any.whl" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "e642b83fb02dc345875dcfea2652a247", "sha256": "cbdf47620f12edb61e1026a32d78f083deb2670640e0b75fb81e60505324126e" }, "downloads": -1, "filename": "django_import_export_celery-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "e642b83fb02dc345875dcfea2652a247", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10285, "upload_time": "2019-07-15T14:30:09", "url": "https://files.pythonhosted.org/packages/3f/5c/9fb10da7a654b36e416f183dbabb61636602b2c5d9b1968384f338173517/django_import_export_celery-0.0.3-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e642b83fb02dc345875dcfea2652a247", "sha256": "cbdf47620f12edb61e1026a32d78f083deb2670640e0b75fb81e60505324126e" }, "downloads": -1, "filename": "django_import_export_celery-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "e642b83fb02dc345875dcfea2652a247", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10285, "upload_time": "2019-07-15T14:30:09", "url": "https://files.pythonhosted.org/packages/3f/5c/9fb10da7a654b36e416f183dbabb61636602b2c5d9b1968384f338173517/django_import_export_celery-0.0.3-py3-none-any.whl" } ] }