# django-static-echarts
Django application contain echarts static files.
## Install
```
pip install django-static-echarts
```
## Lincense
- All resource files of echarts are unzip from apache-echarts-X.Y.Z-src.zip which download from https://echarts.apache.org without any changes.
- All resource files of echarts obey echarts License, see details at https://www.apache.org/licenses/.
- We don't guarantee the latest echarts version.
## Usage
*pro/settings.py*
```
INSTALLED_APPS = [
...
"django_static_echarts",
...
]
```
*app1/chart1.html*
```
{% load staticfiles %}
{% block script %}
<script src="{% static "echarts/echarts.min.js" %}"></script>
<script src="{% static "echarts/theme/vintage.js" %}"></script>
<script src="{% static "echarts/map/js/china.js" %}"></script>
{% endblock %}
```
## About releases
- The first number is our release number.
- The other three numbers are the same with ECHARTS's release version.
## Release
### v3.8.4
- First release.
### v4.0.4.1
- Upgrade echarts to 4.0.4.
### v4.0.4.2
- Doc update.
### v5.4.3.2
- Upgrade echarts to 5.4.3.
Raw data
{
"_id": null,
"home_page": "",
"name": "django-static-echarts",
"maintainer": "Qian XiangYong",
"docs_url": null,
"requires_python": "",
"maintainer_email": "qianxiangyong@zencore.cn",
"keywords": "django-static-echarts",
"author": "Qian XiangYong",
"author_email": "qianxiangyong@zencore.cn",
"download_url": "https://files.pythonhosted.org/packages/85/23/8f675a2de9dc83193d10c702edec07e8170e5715449b3a2e021ed572c520/django-static-echarts-5.4.3.2.tar.gz",
"platform": null,
"description": "# django-static-echarts\n\nDjango application contain echarts static files.\n\n## Install\n\n```\npip install django-static-echarts\n```\n\n## Lincense\n\n- All resource files of echarts are unzip from apache-echarts-X.Y.Z-src.zip which download from https://echarts.apache.org without any changes.\n- All resource files of echarts obey echarts License, see details at https://www.apache.org/licenses/.\n- We don't guarantee the latest echarts version.\n\n## Usage\n\n\n*pro/settings.py*\n\n```\n\n INSTALLED_APPS = [\n ...\n \"django_static_echarts\",\n ...\n ]\n```\n\n*app1/chart1.html*\n\n```\n {% load staticfiles %}\n\n {% block script %}\n <script src=\"{% static \"echarts/echarts.min.js\" %}\"></script>\n <script src=\"{% static \"echarts/theme/vintage.js\" %}\"></script>\n <script src=\"{% static \"echarts/map/js/china.js\" %}\"></script>\n {% endblock %}\n```\n## About releases\n\n- The first number is our release number.\n- The other three numbers are the same with ECHARTS's release version.\n\n## Release\n\n### v3.8.4\n\n- First release.\n\n### v4.0.4.1\n\n- Upgrade echarts to 4.0.4.\n\n### v4.0.4.2\n\n- Doc update.\n\n\n### v5.4.3.2\n\n- Upgrade echarts to 5.4.3.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Django application contain echarts static files.",
"version": "5.4.3.2",
"project_urls": null,
"split_keywords": [
"django-static-echarts"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "583789c2966196cd39f63e86bca121c11dc9ef36f89231e5c3992dc17d6bb1c2",
"md5": "a27a40412275d19131f4ff10f627516c",
"sha256": "cb8e7b856b20b6ac4a68761b0927612ea3e49375e1258a8a3ac61c1dda6aecc5"
},
"downloads": -1,
"filename": "django_static_echarts-5.4.3.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a27a40412275d19131f4ff10f627516c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3951,
"upload_time": "2023-09-18T07:28:17",
"upload_time_iso_8601": "2023-09-18T07:28:17.093357Z",
"url": "https://files.pythonhosted.org/packages/58/37/89c2966196cd39f63e86bca121c11dc9ef36f89231e5c3992dc17d6bb1c2/django_static_echarts-5.4.3.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "85238f675a2de9dc83193d10c702edec07e8170e5715449b3a2e021ed572c520",
"md5": "23a9f6282f31a769c1e7505d07564076",
"sha256": "318691b563c1a20d161692162a862da692548cb4b6f3141d778a18237b2b8e0c"
},
"downloads": -1,
"filename": "django-static-echarts-5.4.3.2.tar.gz",
"has_sig": false,
"md5_digest": "23a9f6282f31a769c1e7505d07564076",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3279,
"upload_time": "2023-09-18T07:28:18",
"upload_time_iso_8601": "2023-09-18T07:28:18.859516Z",
"url": "https://files.pythonhosted.org/packages/85/23/8f675a2de9dc83193d10c702edec07e8170e5715449b3a2e021ed572c520/django-static-echarts-5.4.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-18 07:28:18",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "django-static-echarts"
}