citelang


Namecitelang JSON
Version 0.0.34 PyPI version JSON
download
home_pagehttps://github.com/vsoch/citelang
SummaryCredit parser and markdown language for scientific software.
upload_time2022-12-08 06:01:43
maintainerVanessa Sochat
docs_urlNone
authorVanessa Sochat
requires_python
licenseLICENSE
keywords credit software rseng research software
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # CiteLang

[![PyPI version](https://badge.fury.io/py/citelang.svg)](https://badge.fury.io/py/citelang)
[![DOI](https://zenodo.org/badge/469517560.svg)](https://zenodo.org/badge/latestdoi/469517560)
[![status](https://joss.theoj.org/papers/3e3f4e819e6f9400ba204dbae4b9c3d5/status.svg)](https://joss.theoj.org/papers/3e3f4e819e6f9400ba204dbae4b9c3d5)

Welcome to CiteLang! CiteLang provides methods and graph-based modeling to study software
ecosystems. You can use CiteLang for your research, or a provided tool to generate
software graph artifacts, including (but not limited to):

1. Generate basic software credit trees (citelang graph, badge, or markdown credit)
2. Give credit accounting for dependencies! (see [software-credit.md](software-credit.md))
3. Actions (automation) for the above!

For the examples above, we aren't using DOIs! A manually crafted identifier that a human has to remember to generate,
in addition to a publication or release, is too much work for people to reasonably do. As research
software engineers we also want to move away from the traditional "be valued like an academic" model.
We are getting software metadata and a reference to an identifier via a package manager. This means
that when you publish your software, you should publish it to an appropriate package manager.

## Getting Started

If you want to use CiteLang as an analysis library, jump into the more detailed ⭐️ [Documentation](https://vsoch.github.io/citelang) ⭐️
or look specifically at the [Python API](https://vsoch.github.io/citelang/getting_started/user-guide.html#python).
As 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.

### Badges

CiteLang [**Badges**](https://vsoch.github.io/citelang/getting_started/user-guide.html#badge) can show an entire credit tree
for a project:

![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)

or can be generated to be interactive web interfaces as [shown here](https://vsoch.github.io/citelang/_static/example/badge/treemap/index.html).

![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)

See the [badge](https://vsoch.github.io/citelang/_static/example/badge/treemap/index.html) documentation for more examples
of customizing the look, or level of abstraction. You can automatically generate or update
a badge for your repository using the provided [GitHub Action](https://vsoch.github.io/citelang/getting_started/user-guide.html#badge-github-action).

### Credit and Graph

If you want to visually show dependency graphs, using [**Credit**](https://vsoch.github.io/citelang/getting_started/user-guide.html#credit)
will 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.

![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)
![https://raw.githubusercontent.com/vsoch/citelang/main/examples/cypher/graph.png](https://raw.githubusercontent.com/vsoch/citelang/main/examples/cypher/graph.png)

### Contributions

CiteLang has a [**Contrib**](https://vsoch.github.io/citelang/getting_started/user-guide.html#contrib) command and underlying
API that can dig into your git history and look at contributions based on lines. You can read a complete write-up
and see examples [in this blog post](https://vsoch.github.io/2022/citelang-contrib/#citelang-contrib). It is currently being used
by the SingularityCE project to say thank you to contributors!

[![asciicast](https://asciinema.org/a/486073.svg)](https://asciinema.org/a/486073?speed=2)

If you want to generate data programatically, we provide [A GitHub action](https://vsoch.github.io/citelang/getting_started/user-guide.html#contribute-github-action).


### Render and Generate

The 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.



## Contributors

We use the [all-contributors](https://github.com/all-contributors/all-contributors)
tool to generate a contributors graphic below.

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tbody>
    <tr>
      <td align="center"><a href="https://vsoch.github.io"><img src="https://avatars.githubusercontent.com/u/814322?v=4?s=100" width="100px;" alt="Vanessasaurus"/><br /><sub><b>Vanessasaurus</b></sub></a><br /><a href="https://github.com/vsoch/citelang/commits?author=vsoch" title="Code">💻</a></td>
      <td align="center"><a href="https://github.com/dtrudg"><img src="https://avatars.githubusercontent.com/u/4522799?v=4?s=100" width="100px;" alt="Dave Trudgian"/><br /><sub><b>Dave Trudgian</b></sub></a><br /><a href="https://github.com/vsoch/citelang/commits?author=dtrudg" title="Code">💻</a></td>
      <td align="center"><a href="https://github.com/Traceton"><img src="https://avatars.githubusercontent.com/u/40130660?v=4?s=100" width="100px;" alt="Traceton"/><br /><sub><b>Traceton</b></sub></a><br /><a href="https://github.com/vsoch/citelang/commits?author=Traceton" title="Code">💻</a></td>
    </tr>
  </tbody>
  <tfoot>

  </tfoot>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

## License

This code is licensed under the MPL 2.0 [LICENSE](LICENSE).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/vsoch/citelang",
    "name": "citelang",
    "maintainer": "Vanessa Sochat",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "credit,software,rseng,research software",
    "author": "Vanessa Sochat",
    "author_email": "vsoch@users.noreply.github.com",
    "download_url": "https://files.pythonhosted.org/packages/21/5c/f8c4158da847c2404fba49a8c434cab52b0857b3d886782e79b7c4156743/citelang-0.0.34.tar.gz",
    "platform": null,
    "description": "# 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 \u2b50\ufe0f [Documentation](https://vsoch.github.io/citelang) \u2b50\ufe0f\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<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\"><a href=\"https://vsoch.github.io\"><img src=\"https://avatars.githubusercontent.com/u/814322?v=4?s=100\" width=\"100px;\" alt=\"Vanessasaurus\"/><br /><sub><b>Vanessasaurus</b></sub></a><br /><a href=\"https://github.com/vsoch/citelang/commits?author=vsoch\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\"><a href=\"https://github.com/dtrudg\"><img src=\"https://avatars.githubusercontent.com/u/4522799?v=4?s=100\" width=\"100px;\" alt=\"Dave Trudgian\"/><br /><sub><b>Dave Trudgian</b></sub></a><br /><a href=\"https://github.com/vsoch/citelang/commits?author=dtrudg\" title=\"Code\">\ud83d\udcbb</a></td>\n      <td align=\"center\"><a href=\"https://github.com/Traceton\"><img src=\"https://avatars.githubusercontent.com/u/40130660?v=4?s=100\" width=\"100px;\" alt=\"Traceton\"/><br /><sub><b>Traceton</b></sub></a><br /><a href=\"https://github.com/vsoch/citelang/commits?author=Traceton\" title=\"Code\">\ud83d\udcbb</a></td>\n    </tr>\n  </tbody>\n  <tfoot>\n\n  </tfoot>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\n## License\n\nThis code is licensed under the MPL 2.0 [LICENSE](LICENSE).\n",
    "bugtrack_url": null,
    "license": "LICENSE",
    "summary": "Credit parser and markdown language for scientific software.",
    "version": "0.0.34",
    "split_keywords": [
        "credit",
        "software",
        "rseng",
        "research software"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "c51670162f2f2f109bfbe22fc9c36ba1",
                "sha256": "1cae66762f393a7d42cf7e0c4084976101bdb6879ef11cfa12db31ced0c5de19"
            },
            "downloads": -1,
            "filename": "citelang-0.0.34-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c51670162f2f2f109bfbe22fc9c36ba1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 90476,
            "upload_time": "2022-12-08T06:01:41",
            "upload_time_iso_8601": "2022-12-08T06:01:41.888001Z",
            "url": "https://files.pythonhosted.org/packages/2c/78/1eacc0704625df4b5bf22a593f07a776bfc125db8aa4750f455ba9e86991/citelang-0.0.34-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "94de2670643c3ac04483653d0221a27b",
                "sha256": "91a9007806ea40e4769b0f1286c3b7f3cd5bf2d29c92cecadf3f399236b003b4"
            },
            "downloads": -1,
            "filename": "citelang-0.0.34.tar.gz",
            "has_sig": false,
            "md5_digest": "94de2670643c3ac04483653d0221a27b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 67812,
            "upload_time": "2022-12-08T06:01:43",
            "upload_time_iso_8601": "2022-12-08T06:01:43.442427Z",
            "url": "https://files.pythonhosted.org/packages/21/5c/f8c4158da847c2404fba49a8c434cab52b0857b3d886782e79b7c4156743/citelang-0.0.34.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-08 06:01:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "vsoch",
    "github_project": "citelang",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "citelang"
}
        
Elapsed time: 0.01568s