{"id":18843318,"url":"https://github.com/quatrope/pycf3","last_synced_at":"2026-01-27T08:02:26.778Z","repository":{"id":55663591,"uuid":"210061879","full_name":"quatrope/pycf3","owner":"quatrope","description":"Python client for Cosmicflows-3 Distance–Velocity Calculator","archived":false,"fork":false,"pushed_at":"2022-11-11T03:23:32.000Z","size":1346,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-12-06T08:55:31.336Z","etag":null,"topics":["client","cosmicflows","cosmology","distance-calculation","extragalactic","galaxy","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quatrope.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-21T22:41:51.000Z","updated_at":"2021-11-27T18:30:36.000Z","dependencies_parsed_at":"2023-01-21T11:45:58.924Z","dependency_job_id":null,"html_url":"https://github.com/quatrope/pycf3","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/quatrope/pycf3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quatrope%2Fpycf3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quatrope%2Fpycf3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quatrope%2Fpycf3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quatrope%2Fpycf3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quatrope","download_url":"https://codeload.github.com/quatrope/pycf3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quatrope%2Fpycf3/sbom","scorecard":{"id":755450,"data":{"date":"2025-08-11","repo":{"name":"github.com/quatrope/pycf3","commit":"8aa207c2bbf56675390d733f39e0a946902b308e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/25 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":"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/CI.yml:1","Warn: no topLevel permission defined: .github/workflows/python-publish.yml:1","Info: no jobLevel write permissions found"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/quatrope/pycf3/CI.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/quatrope/pycf3/CI.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/quatrope/pycf3/python-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/quatrope/pycf3/python-publish.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/CI.yml:61","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:23","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:24","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"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":10,"reason":"no dangerous workflow patterns detected","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":"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":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"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":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-29gw-9793-fvw7","Warn: Project is vulnerable to: PYSEC-2015-24 / GHSA-4vwq-x64q-j4cj","Warn: Project is vulnerable to: PYSEC-2017-46 / GHSA-66gw-5xpf-gfp5","Warn: Project is vulnerable to: PYSEC-2015-25 / GHSA-92mr-v722-f48m","Warn: Project is vulnerable to: PYSEC-2022-12 / GHSA-pq7m-3gw7-gq5x","Warn: Project is vulnerable to: PYSEC-2017-47"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T21:33:59.832Z","repository_id":55663591,"created_at":"2025-08-22T21:33:59.832Z","updated_at":"2025-08-22T21:33:59.832Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28809336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["client","cosmicflows","cosmology","distance-calculation","extragalactic","galaxy","python"],"created_at":"2024-11-08T02:57:30.395Z","updated_at":"2026-01-27T08:02:26.762Z","avatar_url":"https://github.com/quatrope.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pycf3 - Cosmicflows Galaxy Distance-Velocity Calculator client for Python\n\n![image](https://raw.githubusercontent.com/quatrope/pycf3/master/res/logo_wbg.png)\n\n----\n\n[![QuatroPe](https://img.shields.io/badge/QuatroPe-Applications-1c5896)](https://quatrope.github.io/)\n[![PyCF3 CI](https://github.com/quatrope/pycf3/actions/workflows/CI.yml/badge.svg)](https://github.com/quatrope/pycf3/actions/workflows/CI.yml)\n[![ReadTheDocs.org](https://readthedocs.org/projects/pycf3/badge/?version=latest)](https://pycf3.readthedocs.io/en/latest/?badge=latest)\n[![License](https://img.shields.io/badge/License-BSD3-blue.svg)](https://www.tldrlegal.com/l/bsd3)\n[![Python 3.7+](https://img.shields.io/badge/python-3.7+-blue.svg)](https://badge.fury.io/py/pycf3)\n[![PyPI](https://img.shields.io/pypi/v/pycf3)](https://pypi.org/project/pycf3/)\n\n\n## Description\n\npycf3 is a Python client for the\n[Cosmicflows-3 Distance-Velocity Calculator](http://edd.ifa.hawaii.edu/CF3calculator/),\nand [NAM Distance-Velocity Calculator](http://edd.ifa.hawaii.edu/NAMcalculator/)\n\n\n## Code Repository \u0026 Issues\n\nhttps://github.com/quatrope/pycf3\n\n\n## License\n\npycf3 is under [The BSD 3 License](https://www.tldrlegal.com/l/bsd3)\n\nThe BSD 3-clause license allows you almost unlimited freedom with the software\nso long as you include the BSD copyright and license notice in it\n(found in [Fulltext](https://raw.githubusercontent.com/quatrope/pycf3/master/LICENSE)).\n\n\n## Basic Install\n\n\nExecute\n\n```console\n$ pip install pycf3\n```\n\n## Development Install\n\n\nClone this repo and install with pip\n\n```console\n$ git clone https://github.com/quatrope/pycf3.git\n$ cd pycf3\n$ pip install -e .\n```\n\n## Quick Usage\n\n```pycon\n\u003e\u003e\u003e import pycf3\n\u003e\u003e\u003e cf3 = pycf3.CF3()\n\u003e\u003e\u003e result = cf3.calculate_distance(velocity=9000, glon=283, glat=75)\n\u003e\u003e\u003e print(result.observed_velocity_)\n9000.0\n\u003e\u003e\u003e result.observed_distance_\narray([136.90134347])\n```\n\nFor more information, read the [tutorial in the\ndocumentation](https://pycf3.readthedocs.io).\n\n## Citation\n\n- If you use the results of this work in your research or other applications, \nplease cite [Kourkchi et al. 2020, AJ, 159, 67](https://ui.adsabs.harvard.edu/abs/2020AJ....159...67K/abstract)\n- Please acknowledge pycf3 in any research report or publication that\nrequires citation of any author\\'s work. Our suggested acknowledgment\nis:\n\n\u003e The authors acknowledge the pycf3 project that contributed to the\n\u003e research reported here. \\\u003c\u003chttps://pycf3.readthedocs.io/\u003e\\\u003e\n\n### ABOUT THE DATA\n\nAll data exposed by pycf3 belongs to the project\n\n\u003e Cosmicflows-3 Distance-Velocity Calculator\n\u003e (\u003chttp://edd.ifa.hawaii.edu/CF3calculator/\u003e) Copyright (C) Cosmicflows\n\u003e Team - The Extragalactic Distance Database (EDD)\n\nPlease cite:\n\n\u003e Kourkchi, E., Courtois, H. M., Graziani, R., Hoffman, Y., Pomarede,\n\u003e D., Shaya, E. J., \u0026 Tully, R. B. (2020). Cosmicflows-3: Two\n\u003e Distance--Velocity Calculators. The Astronomical Journal, 159(2), 67.\n\n#### BibText\n\n```bib\n@ARTICLE{2020AJ....159...67K,\n    author = {{Kourkchi}, Ehsan and {Courtois}, H{\\'e}l{\\`e}ne M. and\n        {Graziani}, Romain and {Hoffman}, Yehuda and {Pomar{\\`e}de}, Daniel and\n        {Shaya}, Edward J. and {Tully}, R. Brent},\n    title = \"{Cosmicflows-3: Two Distance-Velocity Calculators}\",\n    journal = {\\aj},\n    keywords = {590, 1146, 902, 1968, Astrophysics - Cosmology and\n        Nongalactic Astrophysics, Astrophysics - Astrophysics of Galaxies,\n        Astrophysics - Instrumentation and Methods for Astrophysics},\n    year = 2020,\n    month = feb,\n    volume = {159},\n    number = {2},\n    eid = {67},\n    pages = {67},\n    doi = {10.3847/1538-3881/ab620e},\n    archivePrefix = {arXiv},\n    eprint = {1912.07214},\n    primaryClass = {astro-ph.CO},\n    adsurl = {https://ui.adsabs.harvard.edu/abs/2020AJ....159...67K},\n    adsnote = {Provided by the SAO/NASA Astrophysics Data System}\n}\n```\n\n## Short video description\n\n\n[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/yd3IaIsM4Bg/0.jpg)](https://www.youtube.com/watch?v=yd3IaIsM4Bg)\n\n\n\n\n## Authors\n\n\n- Juan BC - [jbcabral@unc.edu.com](jbcabral@unc.edu.com)\n- Bruno Sanchez\n- Martin Beroiz\n- Ehsan Kourkchi.\n\n\n[IATE](http://iate.oac.uncor.edu/) -\n[CIFASIS](https://www.cifasis-conicet.gov.ar/)\n\nThis project is part of the [QuatroPe](https://github.com/quatrope)\nscientific tools.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquatrope%2Fpycf3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquatrope%2Fpycf3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquatrope%2Fpycf3/lists"}