{"id":16367177,"url":"https://github.com/snower/syncany","last_synced_at":"2026-02-13T12:55:14.814Z","repository":{"id":56856353,"uuid":"144358624","full_name":"snower/syncany","owner":"snower","description":"简单易用的数据同步导出框架","archived":false,"fork":false,"pushed_at":"2026-02-13T08:10:34.000Z","size":951,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-13T11:25:43.984Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pysyncany.readthedocs.io/","language":"Python","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/snower.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":"2018-08-11T05:37:05.000Z","updated_at":"2026-02-13T03:48:27.000Z","dependencies_parsed_at":"2022-09-16T17:20:22.593Z","dependency_job_id":"334cd4c5-7724-494e-a9f8-f7df3c3bfed4","html_url":"https://github.com/snower/syncany","commit_stats":{"total_commits":370,"total_committers":2,"mean_commits":185.0,"dds":0.002702702702702675,"last_synced_commit":"0739a40940090ad526ebe2f40644923c39924f77"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/snower/syncany","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fsyncany","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fsyncany/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fsyncany/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fsyncany/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snower","download_url":"https://codeload.github.com/snower/syncany/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fsyncany/sbom","scorecard":{"id":834927,"data":{"date":"2025-08-11","repo":{"name":"github.com/snower/syncany","commit":"28339ea43a2c205080b49f2e31958cf9076e1ea0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"16 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.2.27 not signed: https://api.github.com/repos/snower/syncany/releases/226633822","Warn: release artifact v0.2.26 not signed: https://api.github.com/repos/snower/syncany/releases/225120800","Warn: release artifact v0.2.25 not signed: https://api.github.com/repos/snower/syncany/releases/211797981","Warn: release artifact v0.2.24 not signed: https://api.github.com/repos/snower/syncany/releases/211250927","Warn: release artifact v0.2.23 not signed: https://api.github.com/repos/snower/syncany/releases/209784189","Warn: release artifact v0.2.27 does not have provenance: https://api.github.com/repos/snower/syncany/releases/226633822","Warn: release artifact v0.2.26 does not have provenance: https://api.github.com/repos/snower/syncany/releases/225120800","Warn: release artifact v0.2.25 does not have provenance: https://api.github.com/repos/snower/syncany/releases/211797981","Warn: release artifact v0.2.24 does not have provenance: https://api.github.com/repos/snower/syncany/releases/211250927","Warn: release artifact v0.2.23 does not have provenance: https://api.github.com/repos/snower/syncany/releases/209784189"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-23T18:44:35.526Z","repository_id":56856353,"created_at":"2025-08-23T18:44:35.526Z","updated_at":"2025-08-23T18:44:35.526Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29406557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-10-11T02:48:51.298Z","updated_at":"2026-02-13T12:55:14.795Z","avatar_url":"https://github.com/snower.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# syncany\n\n简单易用的数据同步转换导出框架。\n\n在构建ETL和报表系统的过程中，存在大量需要从各个子系统收集整理数据的过程，常规写同步脚本非常繁琐。\n\nsyncany支持mysql、mongodb、postgresql、redis、elasticsearch、influxdb、clickhouse、execl、beanstalk等数据源读入或写结果数据，同时支持从不同DB不同数据库类型读入关联数据，并对数据进行转换计算，之后配合superset等图形报表框架，快速完成复杂报表分析系统搭建。\n\n[https://pysyncany.readthedocs.io/](https://pysyncany.readthedocs.io/)\n\n# 安装\n\n```\npip3 install syncany\n```\n\n# 配置示例\n\n\n```json\n{\n  \"extends\": [\"examples/demo/json/database.json\", \"examples/demo/json/log.json\"],\n  \"name\": \"demo\",\n  \"input\": \"\u003c\u003c\u0026.data.demo.json::_id\",\n  \"output\": \"\u003e\u003e\u0026.stdio.\u00261::site_id use I\",\n  \"querys\": {\n    \"start_date\": {\"\u003e=\": \"2021-01-01\"}\n  },\n  \"schema\": {\n    \"site_id\": [\"#yield\", \"$.sites\", [\n      \":#aggregate\", \"$.*|int\", \"$$.*|int\"\n    ]],\n    \"site_name\": [\"#yield\", \"$.sites\", [\n      \":#aggregate\", \"$.*|int\", [\n        \"$$.*|int\", [\"\u0026.data.sites.json::site_id\", {\"status|int\": {\"\u003e=\": 0}}], \":$.name\"\n      ]\n    ]],\n    \"site_amount\": [\"#yield\", \"$.sites\", [\n      \":#aggregate\", \"$.*|int\", [\n        \"$$.*|int\", \"\u0026.data.orders.json::site_id\", [\n          \":#foreach|int\", \"$.*|array\", [\n            \"#if\", [\"@lte\", \"$.status\", 0], [\"#make\", {\"value\": \"$.amount\"}], \"#continue\"\n          ], [\n            \":@sum\", \"$.*|array\", \"value\"\n          ]\n        ]\n      ]\n    ]],\n    \"timeout_at\": [\"#yield\", \"$.sites\", [\n      \":#aggregate\", \"$.*|int\", {\n        \"#case\": \"$$$.vip_type\",\n        \"1\": \"$.timeout_at\",\n        \"#end\": \"$$$.rules.:0.timeout_time\"\n      }\n    ]],\n    \"vip_timeout_at\": [\"#yield\", \"$.sites\", [\n      \":#aggregate\", \"$.*|int\", {\n        \"#match\": \"$$$.vip_type\",\n        \"/2/\": \"$$.vip_timeout_at\",\n        \"#end\": \"$$$.rules.:0.timeout_time\"\n      }\n    ]]\n  }\n}\n```\n\n## 运行示例\n\n```bash\n# 克隆并在项目目录下执行即可看到输出，具体输入数据请查看examples/demo/data\npython3 ./bin/syncany examples/demo/demo.json --start_date__gte=\"2021-01-01\"\n┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n┃ site_id                     ┃site_name                       ┃site_amount                            ┃timeout_at                         ┃vip_timeout_at                                 ┃\n┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩\n│ 8                           │黄豆网                          │17.04                                  │16:00:00                           │11:00:00                                       │\n│ 15                          │青菜网                          │7.2                                    │15:00:00                           │10:00:00                                       │\n│ 21                          │去啥网                          │0                                      │16:00:00                           │11:00:00                                       │\n│ 26                          │汽车网                          │0                                      │16:00:00                           │11:00:00                                       │\n│ 28                          │火箭网                          │0                                      │15:00:00                           │10:00:00                                       │\n│ 34                          │卫星网                          │11.2                                   │16:40:00                           │11:20:00                                       │\n└─────────────────────────────┴────────────────────────────────┴───────────────────────────────────────┴───────────────────────────────────┴───────────────────────────────────────────────┘\n2021-03-18 17:33:54,570 2377 INFO demo loader: DBLoader \u003c- \u0026.data.demo.json::_id loader_querys: 1 loader_rows: 6\n2021-03-18 17:33:54,570 2377 INFO demo join_count: 2 join_querys: 14 join_rows: 13\n2021-03-18 17:33:54,571 2377 INFO demo outputer: DBInsertOutputer -\u003e \u0026.stdio.\u00261::site_id outputer_querys: 0 outputer_operators: 1 outputer_load_rows: 0 outputer_rows: 6\n2021-03-18 17:33:54,571 2377 INFO demo finish examples/demo/demo.json demo 96.28ms\n```\n\n# License\n\nsyncany uses the MIT license, see LICENSE file for the details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnower%2Fsyncany","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnower%2Fsyncany","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnower%2Fsyncany/lists"}