Skip to main content

CiteLang

PyPI version DOI status

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)
  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 ⭐️ or look specifically at the Python API. As an example analysis, the RSEPedia Software Ecosystem is a completed automated setup that parses and summarizes dependencies across the Research Software Encyclopedia 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 can show an entire credit tree for a project:

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://raw.githubusercontent.com/vsoch/citelang/main/docs/getting_started/img/badge.png

See the badge 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.

Credit and Graph

If you want to visually show dependency graphs, using Credit will print this to the console, and optionally in json if you want just the data. With the 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/cypher/graph.png

Contributions

CiteLang has a 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. It is currently being used by the SingularityCE project to say thank you to contributors!

asciicast

If you want to generate data programatically, we provide A 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 that has some number of CiteLang formatted references, and result in a rendered paper that includes a credit table. This is done with the Render command, or you can just output a table into its own markdown file with Generate. We provide an example here and also provide a GitHub action for you to generate this for your own repository.

Contributors

We use the all-contributors tool to generate a contributors graphic below.

Vanessasaurus
Vanessasaurus

💻
Dave Trudgian
Dave Trudgian

💻
Traceton
Traceton

💻

License

This code is licensed under the MPL 2.0 LICENSE.

Release files for citelang 0.0.35

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for citelang 0.0.35
File Size Uploaded
citelang-0.0.35.tar.gz 68.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for citelang 0.0.35
File Interpreter ABI Platform
citelang-0.0.35-py3-none-any.whl Python 3 none any Details

Total release size: 158.6 kB

Release files / citelang-0.0.35.tar.gz

Download URL citelang-0.0.35.tar.gz
Size 68.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4eb4ed2d3ac5f12af44117f49f5ecea0f3156f42c7caf54639df0249363182e7
BLAKE2b-256 checksum
How to use checksums
602635511397a195e11fa3a986dece607e489749eb9b89600ae62f09eb329b52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / citelang-0.0.35-py3-none-any.whl

Download URL citelang-0.0.35-py3-none-any.whl
Size 90.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f06025be976b59c8f1fe3d9c4c06c01d5d0bb47e5290e6910a004df1000a3723
BLAKE2b-256 checksum
How to use checksums
7a3e7de4b2eb17f9cf9be109a5da4dfea5543968b23bd325fd739bebaf1dc1bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.0.35 This release

2 release files

0.0.31

2 release files

0.0.30

2 release files

0.0.29

2 release files

0.0.28

2 release files

0.0.27

2 release files

0.0.26

2 release files

0.0.25

2 release files

0.0.24

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.2

2 release files

0.0.1

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page