{ "info": { "author": "Open Data Team", "author_email": "contact@opendata.team", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Software Distribution" ], "description": "# Tabular Preview\n\nA plugin to preview tabular files (CSV, Excel, ...) using [csvapi](https://github.com/opendatateam/csvapi)\n\n## Usage\n\nInstall the plugin package in you udata environement:\n\n```bash\npip install udata-tabular-preview\n```\n\nThen activate it in your `udata.cfg`:\n\n```python\nPLUGINS = ['tabular']\n```\n\n## Configuration\n\nYou can control this plugin behavior with the following `udata.cfg` parameters:\n\n- **`TABULAR_CSVAPI_URL`**: The URL to your `csvapi` instance (without trailing slash). **ex:** `https://my.csvapi`\n- **`TABULAR_UI`**: Choose the UI displaying previews. You can choose between `csvapi-front` and `dataexplorer`. Default value is `csvapi-front`\n- **`TABULAR_ALLOW_REMOTE`**: Whether or not to allow remote resources preview. Default value is `True`\n- **`TABULAR_MAX_SIZE`**: Max allowed file size in bytes if defined. Default value is `None`\n- **`TABULAR_PAGE_SIZE`**: fetched data page size. Default to `50`\n\n\n## Development\n\n### JS dependencies\n\nInstall JS dependencies with:\n\n```shell\nnpm install\n```\n\nThen you can package these assets with:\n\n```shell\ninv assets\n```\n\n(You might need to relaunch these commands when you pull upstream changes).\n\n### Python dependencies\n\nAssuming you are in an active virtualenv with `udata` installed and in the current project cloned repository directory, install all dependencies using:\n\n```shell\npip install -e requirements/develop.pip\n```\n\n(You might need to relaunch this command when you pull upstream changes).\n\n### Testing\n\nTests are located into the `tests` folder and be run with:\n\n```shell\ninv test\n```\n\n### Quality\n\nCode must pass Flake 8 validation and README should be compatible with `PyPI`.\nYou can check both with:\n\n```shell\ninv qa\n```\n\n# Changelog\n\n## 1.0.0 (2018-10-02)\n\nInitial release\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/opendatateam/udata-tabular-preview", "keywords": "udata,harvester,Tabular Preview", "license": "AGPL", "maintainer": "", "maintainer_email": "", "name": "udata-tabular-preview", "package_url": "https://pypi.org/project/udata-tabular-preview/", "platform": "", "project_url": "https://pypi.org/project/udata-tabular-preview/", "project_urls": { "Homepage": "https://github.com/opendatateam/udata-tabular-preview" }, "release_url": "https://pypi.org/project/udata-tabular-preview/1.0.0/", "requires_dist": [ "udata (>=1.6.0)", "mock (==2.0.0); extra == 'test'", "pytest-flask (==0.11.0); extra == 'test'", "pytest-sugar (==0.9.1); extra == 'test'", "pytest (==3.7.4); extra == 'test'" ], "requires_python": "", "summary": "A plugin to preview tabular files (CSV, Excel, ...) using csvapi", "version": "1.0.0" }, "last_serial": 4332873, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "ecde2f2c32828a27a2c052ea13473174", "sha256": "9e5b60c97603733d3f201dd634dcb6429fd1bb7a3a5e9abdc287652cff80b776" }, "downloads": -1, "filename": "udata_tabular_preview-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ecde2f2c32828a27a2c052ea13473174", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3940567, "upload_time": "2018-10-02T14:54:16", "url": "https://files.pythonhosted.org/packages/76/13/a7a949e24d5f9d98ff2cb92b53f098b1fc880ded0725f0546c05d61eef8a/udata_tabular_preview-1.0.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ecde2f2c32828a27a2c052ea13473174", "sha256": "9e5b60c97603733d3f201dd634dcb6429fd1bb7a3a5e9abdc287652cff80b776" }, "downloads": -1, "filename": "udata_tabular_preview-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ecde2f2c32828a27a2c052ea13473174", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3940567, "upload_time": "2018-10-02T14:54:16", "url": "https://files.pythonhosted.org/packages/76/13/a7a949e24d5f9d98ff2cb92b53f098b1fc880ded0725f0546c05d61eef8a/udata_tabular_preview-1.0.0-py2.py3-none-any.whl" } ] }