{ "info": { "author": "Greg Pinero", "author_email": "gregpinero@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "=====\nMr. Reports\n=====\n\nMr. Reports is a Django app to provide simple, opinionated* report generation \n(now called business intelligence) with attractive styling (using Bootstrap), \nand all the must-have report features like Excel and PDF downloads, and \nscheduled emails.\n\nReports, data connections, data sets (queries), and report parameters are all \nmanaged through the Django admin.\n\nWARNING: This is in alpha mode so be careful. Also don't store important database passwords \nuntil the security code has been vetted.\n\nHow are the reports opinionated?\n\nJust like Python itself, the philosophy here is easy things should be easy and \nhard things should be possible.\n\nSo this app makes a lot of decisions and defaults for you to save you time. For \nexample, the results from your dataset (query) are rendered as a table on the report\nas is, there's no need to muck about with layout, name columns, etc. \n\n(But if you do want to muck with the layout, each report allows custom CSS and Javascript.)\n\nDetailed documentation is in the \"docs\" directory and [TODO]\n\nScreenshots\n-----------\n\nA sample report:\n\n.. image:: mr_reports/docs/screenshots/sample_report.png?raw=true\n\nEdit and create reports through Django's admin console:\n\n.. image:: mr_reports/docs/screenshots/editing_reports.png?raw=true\n\nEditing a sample report:\n\n.. image:: mr_reports/docs/screenshots/editing_a_report.png?raw=true\n\nQuick start\n-----------\n#. Install::\n\n pip install django-mr_reports\n\n#. Add \"mr_reports\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = (\n 'mr_reports',\n )\n\n#. Include the mr_reports URLconf in your project urls.py like this::\n\n url(r'^reports/', include('mr_reports.urls')),\n\n#. Make sure the Django admin is enabled and set up. That is how you'll edit/manage reports.\n\n#. Update your settings.py with additional settings as needed. See Settings section below.\n\n#. Run `python manage.py syncdb` to create the mr_reports models.\n\n#. Start the development server and visit http://127.0.0.1:8000/reports/ to see a listing of reports. Visit the admin panel to start writing reports.\n\n#. Install wkhtmltopdf to enable PDF export of reports.\n\n#. To enable scheduled reports/subscriptions:\n\n##. Make sure PDF export is set up and working\n\n##. Make sure email is set up for your Django project\n\n##. Set up a cron job to run this command periodically: python manage.py send_scheduled_reports\n\n\nUpdating settings.py\n-----------\n\nMake sure your SECRET_KEY is set. This is used to attempt to obscure database connection passwords.\n\nIt's best to make sure a timezone is set to make scheduled reports work correctly. Example:\nTIME_ZONE = 'America/New_York'\nUSE_TZ = True\n\n\n\nOther optional settings::\n\n #Customize what goes on the bottom of all reports\n MR_REPORTS_FOOTER_HTML = '

Report by Mr. Reports (Code)

'\n\n #Use for PDF generation of reports\n MR_REPORTS_WKHTMLTOPDF_PATH = '/path/to/wkhtmltopdf'\n MR_REPORTS_WKHTMLTOPDF_OPTIONS = [\n '--javascript-delay', '1000',\n ]\nIn order for PDF export to work make sure to specify BASE_PATH in settings so wkhtmltopdf knows\nhow to find the server. The server must be running at this URI in order for PDF export to work.\nExample:\n\n BASE_PATH = 'http://10.101.10.172:8002/' \n\nExperimental settings::\n\n #Allow your report developing users (anyone with access to report/parameter objects on admin\n #site) to execute Python code on your server. \n #!!! Very dangereous, only enable if you know what you're doing !!!\n MR_REPORTS_ALLOW_NATIVE_PYTHON_CODE_EXEC_ON_SERVER = False", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gregpinero", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-mr_reports", "package_url": "https://pypi.org/project/django-mr_reports/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-mr_reports/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/gregpinero" }, "release_url": "https://pypi.org/project/django-mr_reports/0.1/", "requires_dist": null, "requires_python": null, "summary": "A Django app to make simple, opinionated reports.", "version": "0.1" }, "last_serial": 1067030, "releases": { "0.1": [] }, "urls": [] }