{"id":37067124,"url":"https://github.com/ruioaix/snowman","last_synced_at":"2026-01-14T07:52:47.492Z","repository":{"id":57468997,"uuid":"95606455","full_name":"ruioaix/snowman","owner":"ruioaix","description":"Interactive system for portfolios on xueqiu.com","archived":false,"fork":false,"pushed_at":"2017-07-09T18:47:42.000Z","size":61,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-06T00:53:57.631Z","etag":null,"topics":["interaction","portfolio","stock-trading","xueqiu"],"latest_commit_sha":null,"homepage":null,"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/ruioaix.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-27T22:34:08.000Z","updated_at":"2022-03-09T08:48:39.000Z","dependencies_parsed_at":"2022-09-19T08:40:12.786Z","dependency_job_id":null,"html_url":"https://github.com/ruioaix/snowman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ruioaix/snowman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruioaix%2Fsnowman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruioaix%2Fsnowman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruioaix%2Fsnowman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruioaix%2Fsnowman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruioaix","download_url":"https://codeload.github.com/ruioaix/snowman/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruioaix%2Fsnowman/sbom","scorecard":{"id":789397,"data":{"date":"2025-08-11","repo":{"name":"github.com/ruioaix/snowman","commit":"7d0b4d43238e001235d64700e9720f7a079137b3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"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":"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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"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":"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":"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":"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":-1,"reason":"no releases found","details":null,"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"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T07:02:54.989Z","repository_id":57468997,"created_at":"2025-08-23T07:02:54.989Z","updated_at":"2025-08-23T07:02:54.989Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"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":["interaction","portfolio","stock-trading","xueqiu"],"created_at":"2026-01-14T07:52:46.757Z","updated_at":"2026-01-14T07:52:47.482Z","avatar_url":"https://github.com/ruioaix.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Snowman: Play Snowball\n======================\n\n.. image:: https://readthedocs.org/projects/snowman/badge/?version=latest\n    :target: http://snowman.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\n.. image:: https://img.shields.io/pypi/v/snowman.svg\n    :target: https://pypi.python.org/pypi/snowman\n    :alt: PyPI: the Python Package Index\n\n.. image:: https://img.shields.io/travis/ruioaix/snowman/master.svg\n    :target: https://travis-ci.org/ruioaix/snowman\n    :alt: Travis CI: continuous integration status\n\n.. image:: https://img.shields.io/pypi/l/snowman.svg\n    :target: https://pypi.python.org/pypi/snowman\n\n.. image:: https://img.shields.io/pypi/pyversions/snowman.svg\n    :target: https://pypi.python.org/pypi/snowman\n\nSnowman is an interactive system for portfolios on xueqiu.com, including a library and a simple command line tool.\n\nSimple example of Snowman tool:\n\n.. code-block:: sh\n\n    \u003e\u003e\u003e snowman info ZH123456\n    {'symbol': 'ZH123456', 'name': '绝代双骄', 'market': 'cn', 'status': 'active', 'created': '2015.01.07', 'updated_at': '2017-05-11 04:04:13', 'net_value': 1.3235, 'follower_count': 1}\n    \u003e\u003e\u003e snowman owner ZH123456\n    {'id': 2246830809, 'screen_name': '小目学秀荣', 'description': '长期关注同仁堂，茅台。自认是价值投资的学习者。', 'followers_count': 19, 'friends_count': 179, 'status_count': 97}\n\nSimple example of Snowman library:\n\n.. code-block:: python\n\n    \u003e\u003e\u003e from snowman import Info\n    \u003e\u003e\u003e info = Info('ZH123456')\n    \u003e\u003e\u003e info.get()\n    {'symbol': 'ZH123456', 'name': '绝代双骄', 'market': 'cn', 'status': 'active', 'created': '2015.01.07', 'updated_at': '2017-05-11 04:04:13', 'net_value': 1.3235, 'follower_count': 1}\n    \u003e\u003e\u003e info.owner()\n    {'id': 2246830809, 'screen_name': '小目学秀荣', 'description': '长期关注同仁堂，茅台。自认是价值投资的学习者。', 'followers_count': 19, 'friends_count': 179, 'status_count': 97}\n    \u003e\u003e\u003efrom snowman import Analysis\n    \u003e\u003e\u003eana = Analysis('ZH123456')\n    \u003e\u003e\u003eana.turnover()\n    0.003\n    \u003e\u003e\u003eana.topstocks()\n    [{'symbol': 'SH601009', 'name': '南京银行', 'benefit': 0.17390683596197054, 'holding_duration': 911}, {'symbol': 'SZ000895', 'name': '双汇发展', 'benefit': 0.16364759739488366, 'holding_duration': 911}]\n\nSnowman allows you to get most of the information of the portfolios on `xueqiu.com \u003chttps://xueqiu.com\u003e`_ website.\n\nFeature Support\n---------------\n\nSnowman supports Python 3.3-3.6.\n\nSnowman supports following query functionalities:\n\n- basic information, including name, owner, creation date, current holding and so on.\n- analysis data, including turnover, liquidity and so on.\n- profit history\n- rebalancing history\n\nInstallation\n____________\n\nTo install Snowman, simply\n\n.. code-block:: bash\n    \n    $ pip install snowman\n\nDocumentation\n-------------\n\nDocumentation is available at http://snowman.readthedocs.io\n\nTODO\n----\n\n- portfolio-rebalancing functionality.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruioaix%2Fsnowman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruioaix%2Fsnowman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruioaix%2Fsnowman/lists"}