--- jupytext: text_representation: extension: .md format_name: myst format_version: 0.13 jupytext_version: 1.16.4 kernelspec: display_name: Python 3 (ipykernel) language: python name: python3 --- +++ {"editable": true, "slideshow": {"slide_type": ""}} # Publish & share your code :::{toctree} :hidden: :caption: Share code :maxdepth: 2 Intro Share your Code Cite your Code Publish your Code ::: :::{toctree} :hidden: :caption: Activities :maxdepth: 2 Activities: Share your Code ::: ## Sharing and Citing Your Code Sharing your code using open, collaborative platforms is essential to open science because it encourages collaboration and reuse, enables citability, and adds transparency needed for reproducibility. ### Version control and online collaboration There are many ways to [**share** your code](share-your-code). Platforms like [GitHub](https://github.com) and [GitLab](https://gitlab.com) are often used because they support both version control of your project and simplify online collaboration. By placing your code on these platforms, you can receive feedback and improve your projects through collective input, while also tracking changes that happen to the code over time. ### Make your code citable [Citing your code](cite-your-code) is also important to support getting credit for the work you (and your collaborators) did to write it! There are many ways to make your code citable. 1. **Publish a paper**: You could write a paper about your software and publish it in a journal. If you wish to publish your code only, journals like the [Journal of Open Source Software (JOSS)](https://joss.theoj.org/) combined with peer-review processes like [pyOpenSci](https://www.pyopensci.org/) provide valuable support. 2. **Use a platform like Zenodo** If you don't want to publish formally but still want your code to be citable, you can use tools like [Zenodo](zenodo). Zenodo allows you to give proper credit to contributors and add credibility to your work without going through a formal publication process. Citing code encourages transparency and reproducibility, making it easier for others to build upon your efforts.