{ "info": { "author": "Stored", "author_email": "dev@stored.com.br", "bugtrack_url": null, "classifiers": [], "description": "# Django Distributed Exporter (DDE)\n> Asynchronous and Distributed Data Exporter from a Django QuerySet\n\nDDE main goal is to get data from a QuerySet and export to an output format (currently CSV \nonly) using Celery for task distribution.\n\n## Installation\n\n```sh\npip install django-dde\n```\n\n## Requirements\n\nDDE uses **Celery** to manage its tasks. Currently our broker defaults to **Redis** so be\nsure to install the dependencies need, \n[for more information click here.](http://docs.celeryproject.org/en/latest/getting-started/brokers/redis.html)\n\nFile management is dealt using Django's Default Storage. [For more information on how to use it\nplease click here.](https://docs.djangoproject.com/en/2.0/topics/files/#file-storage)\n\nWe developed DDE using **Django 1.11** and **Python 3.5**. Other versions are pending tests. Let us know\nif works in your virtual environment.\n\n\n## Usage\n\nFirst of all:\n\n`pip install django-dde`\n\nExcelent! Now you must ensure that in your `settings.py` you have these configurations:\n\n```python\nEXPORTER_FROM_EMAIL = 'sender@email.com'\n```\n\nNow you have to configure a periodic task using Celery, [please refere to this link.](http://docs.celeryproject.org/en/latest/userguide/periodic-tasks.html)\n\nNow in the code:\n\n```python\nfrom exporter.models import Exporter\n\nexporter = Exporter.objects.create_exporter(\n queryset=Model.objects.queryset, # Change Model to your Model\n email=example@mail.com, # E-mail that will receive the link to the exporter,\n limit_per_task=100, # How many entries each task will proccess\n)\n```\n\nAnd that's it! Simple, right?\n\n## Development setup\n\nInstalling our dependencies in your virtual environment is pretty straight foward:\n\n`pip install -r requirements/development.txt`\n\nBut you can use our Docker to test DDE. This method already install all dependencies\n on a container, creates a Redis container and you ready to go. We already configured some shortcuts to help:\n\n```sh\nmake build # Builds docker image, be sure to run this first\nmake build-no-cache # Build/Rebuilds (cleaning cache) docker image\n\nmake tests # Run all tests\nmake bash # Enters Docker's Bash\n\nmake help # Shows the available commands\n```\n\n## Release History\n\n* 0.1\n * Initial version\n\n## Meta\n\nStored E-commerce\n\nDistributed under the MIT license. See ``LICENSE`` for more information.\n\n[https://github.com/stored](https://github.com/stored)\n\n## Contributing\n\n1. Fork it ()\n2. Create your feature branch (`git checkout -b feature/fooBar`)\n3. Commit your changes (`git commit -am 'Add some fooBar'`)\n4. Push to the branch (`git push origin feature/fooBar`)\n5. Create a new Pull Request\n\n*Remember: Every feature created or fixed must have a test written and/or fixed.*\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/stored/django-dde", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-dde", "package_url": "https://pypi.org/project/django-dde/", "platform": "", "project_url": "https://pypi.org/project/django-dde/", "project_urls": { "Homepage": "https://github.com/stored/django-dde" }, "release_url": "https://pypi.org/project/django-dde/0.1.6/", "requires_dist": null, "requires_python": "", "summary": "Asynchronous and Distributed Data Exporter from a Django QuerySet", "version": "0.1.6" }, "last_serial": 3741892, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "156892ec1f0ce28aa7207e40564a95a6", "sha256": "4f4a6bcc384f7ba1ee1f0e21b923956cf74255b0047eec85df9c8c6bcf51e87d" }, "downloads": -1, "filename": "django-dde-0.1.0.tar.gz", "has_sig": false, "md5_digest": "156892ec1f0ce28aa7207e40564a95a6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7806, "upload_time": "2018-03-29T13:27:44", "url": "https://files.pythonhosted.org/packages/27/4e/cd823d85e58277d9021507082d518657830a3358a14c0d7e2294aba342b4/django-dde-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2ec57d4f4389a2d85ac363c713751a2a", "sha256": "74b567253e37e2a19cdd71b7c5ac1e979ebf7c0082bcb6c3f1daec9c1bab37a9" }, "downloads": -1, "filename": "django-dde-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2ec57d4f4389a2d85ac363c713751a2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6888, "upload_time": "2018-04-03T12:25:44", "url": "https://files.pythonhosted.org/packages/22/50/f9f1b213d536493e9848a24235559fdba95321952b0860d5cdc8c2da49f0/django-dde-0.1.1.tar.gz" } ], "0.1.1a0": [ { "comment_text": "", "digests": { "md5": "4916eb5a824b38e82a939980bfb65b46", "sha256": "46d749446514c885f01f089a02bd9612bafb406190a2b3bd279d453c33aec83a" }, "downloads": -1, "filename": "django-dde-0.1.1a0.tar.gz", "has_sig": false, "md5_digest": "4916eb5a824b38e82a939980bfb65b46", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6894, "upload_time": "2018-04-03T14:52:03", "url": "https://files.pythonhosted.org/packages/ea/d3/a0f26e3d7d0b50d023f76a5b9c26fb2d07d0d2b0431378e549c2e2c28123/django-dde-0.1.1a0.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "0724c75a865c8503f2770f2624e1d9c3", "sha256": "34bf5279dac0771b426cc83a89d4cc139d62e17503d34a37f185d7ec1dea273c" }, "downloads": -1, "filename": "django-dde-0.1.2.tar.gz", "has_sig": false, "md5_digest": "0724c75a865c8503f2770f2624e1d9c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7250, "upload_time": "2018-04-03T16:42:23", "url": "https://files.pythonhosted.org/packages/b9/f9/3cb8e8260d365cba1e4c0b1bcd57b2b8321a759c30abc766deec6625e33d/django-dde-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "24c8a45e2ea7e3e111d7fb53678014d4", "sha256": "014e3a5cc1d632d4f1622ea39a56240578ec3d02b40d7de97c288637f9b391fa" }, "downloads": -1, "filename": "django-dde-0.1.3.tar.gz", "has_sig": false, "md5_digest": "24c8a45e2ea7e3e111d7fb53678014d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7259, "upload_time": "2018-04-04T19:32:56", "url": "https://files.pythonhosted.org/packages/ce/2c/ed3489745f968e67bf85176de71990634857e3654f5e4c0cb9babf034a13/django-dde-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "d7630637533bc555d5276fa68e211e28", "sha256": "09ec35a2092072b5ee5c5a14403fe21d57054b0239a7047243af86ecd698f519" }, "downloads": -1, "filename": "django-dde-0.1.4.tar.gz", "has_sig": false, "md5_digest": "d7630637533bc555d5276fa68e211e28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7275, "upload_time": "2018-04-05T12:22:53", "url": "https://files.pythonhosted.org/packages/2c/21/f7d0ac030c7dc181034d7c4581309367d8996f11e3f7d0a440f25252ae42/django-dde-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "4c5508499b07106f7e1ebf835701f685", "sha256": "dc731e6a93666206c821618ff7e4023c4df110746dfa8359e0ccf48ae24fcd30" }, "downloads": -1, "filename": "django-dde-0.1.5.tar.gz", "has_sig": false, "md5_digest": "4c5508499b07106f7e1ebf835701f685", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7304, "upload_time": "2018-04-05T19:33:08", "url": "https://files.pythonhosted.org/packages/35/32/256402258536e73da0ca4ac23dc2e3aeb0628a2a4fcf75b21916337d752f/django-dde-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "693fdf77941bb8c857e51d21fbdd8fe8", "sha256": "1223e027ceb7130db727f6797ea3d455a77af0e4118a61a2eb5ed50db4a7c646" }, "downloads": -1, "filename": "django-dde-0.1.6.tar.gz", "has_sig": false, "md5_digest": "693fdf77941bb8c857e51d21fbdd8fe8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7357, "upload_time": "2018-04-06T18:06:34", "url": "https://files.pythonhosted.org/packages/83/cb/382f1528cfcb10e5576ac488e1df92fd3b1f160745f93d0c47266a7e1c3f/django-dde-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "693fdf77941bb8c857e51d21fbdd8fe8", "sha256": "1223e027ceb7130db727f6797ea3d455a77af0e4118a61a2eb5ed50db4a7c646" }, "downloads": -1, "filename": "django-dde-0.1.6.tar.gz", "has_sig": false, "md5_digest": "693fdf77941bb8c857e51d21fbdd8fe8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7357, "upload_time": "2018-04-06T18:06:34", "url": "https://files.pythonhosted.org/packages/83/cb/382f1528cfcb10e5576ac488e1df92fd3b1f160745f93d0c47266a7e1c3f/django-dde-0.1.6.tar.gz" } ] }