{"id":37636604,"url":"https://github.com/pyecharts/pyecharts-assets","last_synced_at":"2026-01-16T11:10:08.678Z","repository":{"id":49730713,"uuid":"178014067","full_name":"pyecharts/pyecharts-assets","owner":"pyecharts","description":"🗂 All assets in pyecharts","archived":false,"fork":false,"pushed_at":"2025-11-14T16:29:34.000Z","size":10640,"stargazers_count":113,"open_issues_count":0,"forks_count":72,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-11-14T18:28:46.175Z","etag":null,"topics":["pyecharts"],"latest_commit_sha":null,"homepage":"https://assets.pyecharts.org/.","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyecharts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-03-27T14:42:37.000Z","updated_at":"2025-11-14T16:29:38.000Z","dependencies_parsed_at":"2024-11-05T04:27:00.533Z","dependency_job_id":null,"html_url":"https://github.com/pyecharts/pyecharts-assets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pyecharts/pyecharts-assets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyecharts%2Fpyecharts-assets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyecharts%2Fpyecharts-assets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyecharts%2Fpyecharts-assets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyecharts%2Fpyecharts-assets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyecharts","download_url":"https://codeload.github.com/pyecharts/pyecharts-assets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyecharts%2Fpyecharts-assets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pyecharts"],"created_at":"2026-01-16T11:10:06.688Z","updated_at":"2026-01-16T11:10:08.670Z","avatar_url":"https://github.com/pyecharts.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyecharts-assets\n\npyecharts-assets 提供了 [pyecharts](https://github.com/pyecharts/pyecharts) 的静态资源文件。\n\n可通过 localhost-server 或者 notebook-server 启动本地服务。首先将项目下载到本地\n\n```shell\n# 通过 git clone\n$ git clone https://github.com/pyecharts/pyecharts-assets.git\n\n# 或者直接下载压缩包\n$ wget https://github.com/pyecharts/pyecharts-assets/archive/master.zip\n```\n\n**Localhost-Server**\n\n启动服务器\n```shell\n$ cd pyecharts-assets\n$ python -m http.server\n```\n\n设置 host\n```python\n# 只需要在顶部声明 CurrentConfig.ONLINE_HOST 即可\n# 注意：如果使用 pyecharts 2.x 版本，则使用 http://127.0.0.1:8000/assets/v5 进行加载\nfrom pyecharts.globals import CurrentConfig\n\nCurrentConfig.ONLINE_HOST = \"http://127.0.0.1:8000/assets/\"\n\n# 接下来所有图形的静态资源文件都会来自刚启动的服务器\nfrom pyecharts.charts import Bar\nbar = Bar()\n```\n\n**Notebook-Server**\n\n安装扩展插件\n```shell\n$ cd pyecharts-assets\n# 安装并激活插件\n$ jupyter nbextension install assets\n$ jupyter nbextension enable assets/main\n```\n\n设置 host\n```python\n# 只需要在顶部声明 CurrentConfig.ONLINE_HOST 即可\nfrom pyecharts.globals import CurrentConfig, OnlineHostType\n\n# OnlineHostType.NOTEBOOK_HOST 默认值为 http://localhost:8888/nbextensions/assets/\nCurrentConfig.ONLINE_HOST = OnlineHostType.NOTEBOOK_HOST\n\n# 接下来所有图形的静态资源文件都会来自刚启动的服务器\nfrom pyecharts.charts import Bar\nbar = Bar()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyecharts%2Fpyecharts-assets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyecharts%2Fpyecharts-assets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyecharts%2Fpyecharts-assets/lists"}