{"id":17030296,"url":"https://github.com/vsoch/citelang","last_synced_at":"2026-03-06T21:31:46.659Z","repository":{"id":38358395,"uuid":"469517560","full_name":"vsoch/citelang","owner":"vsoch","description":"markdown syntax and credit system for software!","archived":false,"fork":false,"pushed_at":"2025-01-20T21:22:53.000Z","size":7490,"stargazers_count":8,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T12:12:03.152Z","etag":null,"topics":["citation","credit","doi","publication","research-software-engineering","rseng"],"latest_commit_sha":null,"homepage":"https://vsoch.github.io/citelang/getting_started/user-guide.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vsoch.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"vsoch"}},"created_at":"2022-03-13T23:07:12.000Z","updated_at":"2025-01-20T21:22:56.000Z","dependencies_parsed_at":"2025-04-11T11:16:24.518Z","dependency_job_id":"4b130806-5419-41e9-b475-8278b1b5ae6a","html_url":"https://github.com/vsoch/citelang","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fcitelang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fcitelang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fcitelang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fcitelang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vsoch","download_url":"https://codeload.github.com/vsoch/citelang/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565078,"owners_count":21125417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["citation","credit","doi","publication","research-software-engineering","rseng"],"created_at":"2024-10-14T08:05:50.667Z","updated_at":"2026-03-06T21:31:46.608Z","avatar_url":"https://github.com/vsoch.png","language":"Python","funding_links":["https://github.com/sponsors/vsoch"],"categories":["List of Content"],"sub_categories":["Software"],"readme":"# CiteLang\n\n[![PyPI version](https://badge.fury.io/py/citelang.svg)](https://badge.fury.io/py/citelang)\n[![DOI](https://zenodo.org/badge/469517560.svg)](https://zenodo.org/badge/latestdoi/469517560)\n[![status](https://joss.theoj.org/papers/3e3f4e819e6f9400ba204dbae4b9c3d5/status.svg)](https://joss.theoj.org/papers/3e3f4e819e6f9400ba204dbae4b9c3d5)\n\nWelcome to CiteLang! CiteLang provides methods and graph-based modeling to study software\necosystems. You can use CiteLang for your research, or a provided tool to generate\nsoftware graph artifacts, including (but not limited to):\n\n1. Generate basic software credit trees (citelang graph, badge, or markdown credit)\n2. Give credit accounting for dependencies! (see [software-credit.md](software-credit.md))\n3. Actions (automation) for the above!\n\nFor the examples above, we aren't using DOIs! A manually crafted identifier that a human has to remember to generate,\nin addition to a publication or release, is too much work for people to reasonably do. As research\nsoftware engineers we also want to move away from the traditional \"be valued like an academic\" model.\nWe are getting software metadata and a reference to an identifier via a package manager. This means\nthat when you publish your software, you should publish it to an appropriate package manager.\n\n## Getting Started\n\nIf you want to use CiteLang as an analysis library, jump into the more detailed ⭐️ [Documentation](https://vsoch.github.io/citelang) ⭐️\nor look specifically at the [Python API](https://vsoch.github.io/citelang/getting_started/user-guide.html#python).\nAs an example analysis, the [RSEPedia Software Ecosystem](https://rseng.github.io/rsepedia-analysis/) is a completed automated setup that parses and summarizes dependencies across the [Research Software Encyclopedia](https://rseng.github.io/software) weekly, and it's powered by CiteLang! You can do similar analyses or build your own tools using CiteLang. We will provide a small summary of the tools available here.\n\n### Badges\n\nCiteLang [**Badges**](https://vsoch.github.io/citelang/getting_started/user-guide.html#badge) can show an entire credit tree\nfor a project:\n\n![https://raw.githubusercontent.com/vsoch/citelang/main/docs/assets/img/pypi-citelang.png](https://raw.githubusercontent.com/vsoch/citelang/main/docs/assets/img/pypi-citelang.png)\n\nor can be generated to be interactive web interfaces as [shown here](https://vsoch.github.io/citelang/_static/example/badge/treemap/index.html).\n\n![https://raw.githubusercontent.com/vsoch/citelang/main/docs/getting_started/img/badge.png](https://raw.githubusercontent.com/vsoch/citelang/main/docs/getting_started/img/badge.png)\n\nSee the [badge](https://vsoch.github.io/citelang/_static/example/badge/treemap/index.html) documentation for more examples\nof customizing the look, or level of abstraction. You can automatically generate or update\na badge for your repository using the provided [GitHub Action](https://vsoch.github.io/citelang/getting_started/user-guide.html#badge-github-action).\n\n### Credit and Graph\n\nIf you want to visually show dependency graphs, using [**Credit**](https://vsoch.github.io/citelang/getting_started/user-guide.html#credit)\nwill print this to the console, and optionally in json if you want just the data. With the [**Graph**](https://vsoch.github.io/citelang/getting_started/user-guide.html#graph) command you can render different kinds of pretty graphs (or data formats dot, cypher, gexf) using this same data.\n\n![https://raw.githubusercontent.com/vsoch/citelang/main/examples/console/citelang-console-pypi.png](https://raw.githubusercontent.com/vsoch/citelang/main/examples/console/citelang-console-pypi.png)\n![https://raw.githubusercontent.com/vsoch/citelang/main/examples/cypher/graph.png](https://raw.githubusercontent.com/vsoch/citelang/main/examples/cypher/graph.png)\n\n### Contributions\n\nCiteLang has a [**Contrib**](https://vsoch.github.io/citelang/getting_started/user-guide.html#contrib) command and underlying\nAPI that can dig into your git history and look at contributions based on lines. You can read a complete write-up\nand see examples [in this blog post](https://vsoch.github.io/2022/citelang-contrib/#citelang-contrib). It is currently being used\nby the SingularityCE project to say thank you to contributors!\n\n[![asciicast](https://asciinema.org/a/486073.svg)](https://asciinema.org/a/486073?speed=2)\n\nIf you want to generate data programatically, we provide [A GitHub action](https://vsoch.github.io/citelang/getting_started/user-guide.html#contribute-github-action).\n\n\n### Render and Generate\n\nThe functionality that originally derived the name - a \"markdown syntax for citations\" means that we can start from a [markdown paper](https://github.com/vsoch/citelang/blob/main/examples/pre-render.md) that has some number of CiteLang formatted references, and result in a [rendered paper](https://github.com/vsoch/citelang/blob/main/examples/post-render.md) that includes a credit table. This is done with the [**Render**](https://vsoch.github.io/citelang/getting_started/user-guide.html#render) command, or you can just output a table into its own markdown file with [**Generate**](https://vsoch.github.io/citelang/getting_started/user-guide.html#gen-generate). We provide [an example here](https://github.com/vsoch/citelang/blob/main/software-credit.md) and also provide a [GitHub action](https://vsoch.github.io/citelang/getting_started/user-guide.html#generate-github-action) for you to generate this for your own repository.\n\n\n\n## Contributors\n\nWe use the [all-contributors](https://github.com/all-contributors/all-contributors)\ntool to generate a contributors graphic below.\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://vsoch.github.io\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/814322?v=4?s=100\" width=\"100px;\" alt=\"Vanessasaurus\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eVanessasaurus\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vsoch/citelang/commits?author=vsoch\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/dtrudg\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/4522799?v=4?s=100\" width=\"100px;\" alt=\"Dave Trudgian\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eDave Trudgian\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vsoch/citelang/commits?author=dtrudg\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/Traceton\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/40130660?v=4?s=100\" width=\"100px;\" alt=\"Traceton\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eTraceton\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vsoch/citelang/commits?author=Traceton\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://hykelvinlee.com\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/34256578?v=4?s=100\" width=\"100px;\" alt=\"HY. Kelvin Lee\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eHY. Kelvin Lee\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vsoch/citelang/commits?author=hykelvinlee42\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\n## License\n\nThis code is licensed under the MPL 2.0 [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsoch%2Fcitelang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvsoch%2Fcitelang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsoch%2Fcitelang/lists"}