diff --git a/images/logo/logo.png b/_static/logo.png similarity index 100% rename from images/logo/logo.png rename to _static/logo.png diff --git a/about/intro.md b/about/intro.md index 67c765d1..00c48be0 100644 --- a/about/intro.md +++ b/about/intro.md @@ -20,7 +20,7 @@ Why Open Review Matters How Review Works <../our-process/how-review-works> Review Timeline <../our-process/review-timeline> Peer Review Policies <../our-process/policies> - +Code of Conduct <../code-of-conduct> ``` diff --git a/about/package-scope.md b/about/package-scope.md index 3652271b..1335003b 100644 --- a/about/package-scope.md +++ b/about/package-scope.md @@ -18,21 +18,246 @@ Currently, the packages that pyOpenSci reviews also need to fall into the technical and applied scope of our organization. This scope may expand over time as the organization grows. - - ## Is Your Package in Scope For pyOpenSci Review? -pyOpenSci only reviews packages that fall within our specified domain and -technical scope listed below. +pyOpenSci reviews packages that fall within a list of specified categories and +domains. Packages must also meet our technical scope requirements. If you are unsure whether your package is in scope for review, please open a [pre-submission inquiry using a GitHub Issue](https://github.com/pyOpenSci/software-review/issues/new?assignees=&labels=0%2Fpresubmission&template=presubmission-inquiry.md&title=) to get feedback from one of our editors. We are happy to look at your package and help you understand whether it is in scope or not. -```{include} /appendices/scope.md +### About the types of packages that we review + +pyOpenSci reviews packages that support open reproducible science, +data processing and and the various stages of managing the +data lifecycle. Packages submitted to pyOpenSci should fit into one or +more of the categories below and should be within our technical scope. + +```{admonition} Your Package Does Not Need to Have Widespread Use to be Reviewed +:class: important + +We review packages with the goal of improving package quality and usability for scientists. +As such, we review packages across a spectrum of small to large user bases. The popularity of your package is not a consideration in our review process! + +When we evaluate whether you package is within our scope, we only consider: + +1. how the package is developed and +2. how the package relates to and supports the broader scientific ecosystem. + +We welcome young packages that are just entering the scientific Python +ecosystem to apply for review if they are relevant to the science community and +fit into at least one scope category below. We also welcome mature packages with +a growing or established community! +``` + +If you are unsure whether your package fits into one of the general or +statistical categories, please open an issue as a [pre-submission inquiry](https://github.com/pyOpenSci/software-submission/issues/new?assignees=&labels=0%2Fpresubmission&template=presubmission-inquiry.md&title=). + +```{note} +This is a living document. The categories below may change through time. +This may mean in some cases, some previously peer review-accepted packages +may not be in-scope today. We strive for consistency in our peer review process. However, we also evaluate packages on a case-by-case basis. +In some cases exceptions are made. +``` + +## Package categories + +The following are the current categories that fall into scope for +pyOpenSci. In addition to fitting into one or more of these categories, your package should have some level of +demonstrated scientific application. This could be a use case that you can +link to or a tutorial that demonstrates its potential application for science. + +Below we provide examples of packages from pyOpenSci ecosystem. Because we +have growing community of packages, in some cases we link to R packages +within the rOpenSci community that match the category scope for reference. + +We will update this page as our review process evolves. + +```{note} +Many of the example packages below perform tasks that might fit in multiple +categories. There examples are there to provide you with a flavor of the types +of packages that would fall into that category. ``` +### Data retrieval +Packages for accessing and downloading data from online sources. This category +includes wrappers for accessing APIs. + +Our definition of scientific applications is broad, including data storage +services, journals, and other remote servers, as many data sources may be of +interest to scientists. However, retrieval packages should be focused on data +sources / topics, rather than services. For example a general client for Amazon +Web Services data storage would not be in-scope. + +* Examples: [OpenOmics](https://github.com/pyOpenSci/software-submission/issues/31), [pyDov](https://github.com/pyOpenSci/software-submission/issues/19), [Physcraper](https://github.com/pyOpenSci/software-review/issues/26) + + +### Data extraction + +These packages aid in retrieving data from unstructured sources such as text, +images, and PDFs. They might also parse scientific data types and outputs from +scientific equipment. + +* Examples: [devicely](https://github.com/pyOpenSci/software-submission/issues/37), [jointly](https://github.com/pyOpenSci/software-submission/issues/45) + +### Data processing & munging + +Data [munging tools transform data in a way that makes further analysis possible (as [defined on Wikipedia](https://en.wikipedia.org/wiki/Data_wrangling)). Munging complements the other categories so it's common for packages to include some functionality to munge data. This +category focuses on tools for handling data in specific formats that scientists +may be interested in working with. These data may also be generated from +scientific workflows or exported from instruments and wearables. + +* Examples: [devicely](https://github.com/pyOpenSci/software-submission/issues/37), [jointly](https://github.com/pyOpenSci/software-submission/issues/45), [MovingPandas](https://github.com/pyOpenSci/software-submission/issues/18), [OpenOmics](https://github.com/pyOpenSci/software-submission/issues/31), [Physcraper](https://github.com/pyOpenSci/software-submission/issues/26) + + +### Data deposition + +Tools for depositing data into scientific research repositories. + +* Examples: [This is an example from rOpenSci - eml](https://github.com/ropensci/software-review/issues/80) + +### Data validation and testing: + +Tools that enable automated validation and checking of data quality and +completeness. These tools should be able to support scientific workflows. + +* Example: [pandera](https://github.com/pyOpenSci/software-submission/issues/12) + +### Scientific software wrappers + +Scientific software wrappers refer to packages that provide a Python interface +for existing scientific packages written in other languages. + +These packages should have a clear scientific application. Wrappers must provide +significant added value to the scientific ecosystem be it in data handling, or +improved installation processes for Python users. + +We strongly encourage submissions that wrap tools that are open-source with +an OSI-approved license. Exceptions will be evaluated case-by-case, +considering whether open-source options exist. + +* Examples: [PyGMT](https://github.com/pyOpenSci/software-submission/issues/43) + +### Workflow automation & versioning +Tools that automate and link together workflows and as such support +reproducible workflows. These +tools may include build systems and tools to manage continuous integration. +This also includes tools that support version control. + +* Examples: Both of these tools are not pyOpenSci reviewed as of yet but are examples of tools that might be in scope for this category - [snakemake](https://snakemake.readthedocs.io/en/stable/), [pyGitHub ](https://github.com/PyGithub/PyGithub) + +### Citation management and bibliometrics: + +Tools that facilitate managing references, such as for writing manuscripts, +creating CVs or otherwise attributing scientific contributions, or accessing, +manipulating or otherwise working with bibliometric data. (Example: [Example from rOpenSci - RefManageR](https://github.com/ropensci/software-review/issues/119)) + +### Data visualization & analysis +These are packages that enhance a scientists experience visualizing and +analyzing data. + +* Examples: [PyGMT - (also spatial and data munging)](https://github.com/pyOpenSci/software-submission/issues/43), + +### Database software bindings + + Bindings and wrappers for database APIs. + + * Example: [Example from rOpenSci - rrlite](https://github.com/ropensci/software-review/issues/6) + + +## Domain areas + +In addition, our scope includes focused domain areas. These areas are based on +partnerships that we form with communities and also expertise that we hold +within our organization. As we develop [new community partnerships](/partners/scientific-communities) and grow, +we will expand this list. + +### Geospatial + +Packages focused on the retrieval, manipulation, and analysis of spatial data. + +* Examples: [PyGmt](https://github.com/pyOpenSci/software-submission/issues/43), +[Moving Pandas ](https://github.com/pyOpenSci/software-submission/issues/18) + +### Pangeo + +We have a [partnership with Pangeo](../partners/pangeo). Often times packages submitted as a part of that partnership are also in the geospatial domain. + +* Examples: [xclim - under review now](https://github.com/pyOpenSci/software-submission/issues/73) + +### Education + +Packages to aid with instruction. + +* Examples: [pyrolite](https://github.com/morganjwilliams/pyrolite) + +## Package technical scope + +To be in technical scope for a pyOpenSci review, your package: + +* Should have maintenance workflows documented. +* Should declare vendor dependencies using standard approaches rather than including code from other packages within your repository. +* Should not have an exceedingly complex structure. Others should be able to contribute and/or take over maintenance if needed. + +```{admonition} pyOpenSci's goal is to support long(er) term maintenance +pyOpenSci has a goal of supporting long term maintenance of open source +Python tools. It is thus important for us to know that if you need to step down as a maintainer, the package infrastructure and documentation is +in place to support us finding a new maintainer who can take over you +package's maintenance. +``` + +### What if my package seems like its category or domain is out of scope? +- pyOpenSci is still developing as a community. If your scientific Python +package does not fit into one of the categories or if you have any other +questions, we'd encourage you to open a pre-submission inquiry. We're happy to help. +- Data visualization packages come in many varieties, ranging from small +hyper-specific methods for one type of data to general, do-it-all packages +(e.g. matplotlib). pyOpenSci accepts packages that are somewhere in between the +two. If you're interested in submitting your data visualization package, please +open a pre-submission inquiry first. + +## Examples of packages that might be out of technical scope + +pyOpenSci may continue to update its criteria for technical scope +review as more packages with varying structural approaches are reviewed. +Your package **may not be in technical scope** for us to review at this time if +fits any of the out-of-technical-scope criteria listed below. + +Your package is in technical scope if it is: +* Pure Python or Python with built extensions +* Available from PyPI and/or community conda channels such as conda-forge or bioconda + +Your package might be out of in technical scope if it is: +* Not published in a community channel such as PyPI or a channel on anaconda cloud +* Exceedingly complex in its structure or maintenance needs + +A few examples of packages that may be too technically challenging for us to +find a new maintainer for in the future are below. + +### Example 1: Your package is an out of sync fork of another package repository that is being actively maintained. + +Sometimes we understand that a package maintainer may need to step down. In +that case, we strongly suggest that the original package owner, transfer the +package repository to a new organization along with PyPI credentials. A new +organization would allow transfer of ownership of package maintenance rather +than several forks existing. + +If your package is a divergent fork of a maintained repository we will encourage you +to work with the original maintainers to merge efforts. + +However, if there is a case where a forked repository is warranted, please +consider submitting a pre-submission inquiry first and explain why the package is a +fork rather than an independent parent repository. + +### Example 2: Vendored dependencies + +If your package is a wrapper that wraps around another tool, we prefer that +the dependency be added as a dependency to your package. This allows +maintenance of the original code base to be independent from your package's +maintenance. + (package-overlap)= ## Package Overlap pyOpenSci encourages competition among packages, forking and re-implementation diff --git a/appendices/glossary.md b/appendices/glossary.md index 0a5531b5..c0bf24c4 100644 --- a/appendices/glossary.md +++ b/appendices/glossary.md @@ -11,7 +11,7 @@ definitions for reference. * **docstring**: A miniature piece of documentation within the source code, usually documenting a specific function, class, or other piece of code. * **linting/linter**: A linter is a program that you can run on your code to identify potential errors. There are many linters for Python, e.g. flake8. * **module**: A file containing Python code. Modules can define functions, classes, and more, and can be imported by other Python code to use those defined objects. Some files are meant to be run directly instead of imported. These are "scripts". -* **open source**: In simple terms, software for which the source code is freely available and can be modified and redistributed. What meets the standard of "open source" can be controversial, but the Open Source Initiative has a more thorough set of [guidelines](https://opensource.org/osd-annotated). +* **open source**: In simple terms, software for which the source code is freely available and can be modified and redistributed. What meets the standard of "open source" can be controversial, but the Open Source Initiative has a more thorough set of [guidelines](https://opensource.org/definition/). * **slug**: A short title, containing only letters, numbers, underscores, and hyphens. For example, a slug might replace spaces with underscores. Your package's "slug" is a handy shorthand. * **software license**: Contains the terms of use, modification, and distribution for a piece of software. Open source licenses generally grant freedom to modify and share software, but sometimes there are specific conditions. Read more from [OSI](https://opensource.org/licenses). * **testing**: Code tests check units of code to make sure that they are producing the expected result. For example, if you have a function "sum_nums" that sums numbers, you could write a test that makes sure that sum_nums(2, 2) == 4. Writing full tests helps to avoid bugs as you are writing or modifying your code. diff --git a/appendices/scope.md b/appendices/scope.md deleted file mode 100644 index e2811498..00000000 --- a/appendices/scope.md +++ /dev/null @@ -1,74 +0,0 @@ -## Python package domain scope - -The following categories are the current domain areas that fall into the -pyOpenSci domain scope. - -- **Data retrieval:** Packages for accessing and downloading data from online sources. Includes wrappers for accessing APIs. -- **Data extraction:** Packages that aid in retrieving data from unstructured sources such as text, images and PDFs. -- **Data munging:** Tools for processing data from scientific data formats. -- **Data deposition:** Tools for depositing data in scientific research repositories. -- **Reproducibility:** Tools to scientists ensure that their research is reproducible. E.g. version control, automated testing, or citation tools. -- **Geospatial:** Packages focused on the retrieval, manipulation, and analysis of spatial data. -- **Education:** Packages to aid with instruction. -- **Data visualization:** Packages for visualizing and analyzing data. - -## Package technical scope - -To be in technical scope for a pyOpenSci review, your package: - -* Should have maintenance workflows documented. -* Should be structured in a way that someone else could contribute to it. -* Should declare vendor dependencies using standard approaches rather than including code from other packages within your repository. - -### Notes on scope categories -- pyOpenSci is still developing as a community. If your scientific Python -package does not fit into one of the categories or if you have any other -questions, we'd encourage you to open a pre-submission inquiry. We're happy to help. -- Data visualization packages come in many varieties, ranging from small -hyper-specific methods for one type of data to general, do-it-all packages -(e.g. matplotlib). pyOpenSci accepts packages that are somewhere in between the -two. If you're interested in submitting your data visualization package, please -open a pre-submission inquiry first. - -## Python package technical scope - -pyOpenSci may continue to update its technical scope criteria for package -review as more packages with varying structural approaches are reviewed. -Your package **may not be in technical scope** for us to review at this time if -fits any of the out-of-technical-scope criteria listed below. - -```{important} - -**If the code base of your package is exceedingly complex in terms of -structure of maintenance needs**, we may not be able to review it. - -pyOpenSci has a goal of supporting long term maintenance of open source -Python tools. It is thus important for us to know that if you need to step down as a maintainer, the package infrastructure and documentation is -in place to support us finding a new maintainer who can take over you -package's maintenance. - -**Examples of technically complex package structures that may be difficult for us to -review** - -## Example 1: Your package is an out of sync fork of another package repository that is being actively maintained. - -Sometimes we understand that a package maintainer may need to step down. In -that case, we strongly suggest that the original package owner, transfer the -package repository to a new organization along with PyPI credentials. A new -organization would allow transfer of ownership of package maintenance rather -than several forks existing. - -If your package is a divergent fork of a maintained repository we will encourage you -to work with the original maintainers to merge efforts. - -However, if there is a case where a forked repository is warranted, please -consider submitting a pre-submission inquiry first and explain why the package is a -fork rather than an independent parent repository. - -### Example 2: Vendored dependencies - -If your package is a wrapper that wraps around another tool, we prefer that -the dependency be added as a dependency to your package. This allows -maintenance of the original code base to be independent from your package's -maintenance. -``` diff --git a/code-of-conduct.md b/code-of-conduct.md index 01d49167..15f3ae03 100644 --- a/code-of-conduct.md +++ b/code-of-conduct.md @@ -1,4 +1,6 @@ -# Community Code of Conduct +# pyOpenSci Code of Conduct -We keep our Code of Conduct in our governance documentation. [Click here to -go there now.](https://www.pyopensci.org/governance/CODE_OF_CONDUCT.html) +All individuals participating in any pyOpenSci program such as our peer review process, need to abide by our code of conduct. + +[Click here to +read our full code of conduct now.](https://www.pyopensci.org/governance/CODE_OF_CONDUCT.html) diff --git a/conf.py b/conf.py index f6f47644..3d95a835 100644 --- a/conf.py +++ b/conf.py @@ -8,7 +8,7 @@ author = 'pyOpenSci Editorial Team and Community' # The full version, including alpha/beta/rc tags -release = '0.1' +release = '0.5' # -- General configuration --------------------------------------------------- @@ -35,7 +35,15 @@ # For generating sitemap html_baseurl = 'https://www.pyopensci.org/software-peer-review/' -# Link to our repo for easy PR/ editing +# The theme to use for HTML and HTML Help pages. See the documentation for +# a list of builtin themes. +# +html_theme = "pydata_sphinx_theme" +html_title = "Software Peer Review Guide" +html_logo = "_static/logo.png" +html_static_path = ["_static"] + +# Theme options html_theme_options = { "announcement": "

Submit Your Python Package for Peer Review!

", "external_links": [ @@ -102,12 +110,6 @@ # -- Options for HTML output ------------------------------------------------- -# The theme to use for HTML and HTML Help pages. See the documentation for -# a list of builtin themes. -# -html_theme = 'pydata_sphinx_theme' -html_title = "pyOpenSci Software Peer Review Guide" -html_logo = "images/logo/logo.png" # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, diff --git a/how-to/author-guide.md b/how-to/author-guide.md index 5a9b60fb..15031559 100644 --- a/how-to/author-guide.md +++ b/how-to/author-guide.md @@ -126,8 +126,11 @@ with input regarding the fit of your package for pyOpenSci review. This can take up to a week. Our current categories for determining package scope are below: - -```{include} ../appendices/scope.md + +```{button-link} /about/package-scope +:color: primary +:class: sd-rounded-pill +Click here to view our technical and domain scope requirements. ``` ## 4. Submit Your Package for Peer Review diff --git a/how-to/editor-in-chief-guide.md b/how-to/editor-in-chief-guide.md index 6219cf5a..e1a9b4c8 100644 --- a/how-to/editor-in-chief-guide.md +++ b/how-to/editor-in-chief-guide.md @@ -128,7 +128,7 @@ the aim, goals and functionality of the package. If a package has overlapping functionality with other packages, we require you -to mention in your documentation (README) and in this issue [how it is "best in class"](https://www.pyopensci.org/contributing-guide/about/package-scope.md#package-overlap). Please add a more detailed comparison to the packages you mention in the README so we can evaluate? +to mention in your documentation (README) and in this issue [how it is "best in class"](https://www.pyopensci.org/software-peer-review/about/package-scope.html#package-overlap). Please add a more detailed comparison to the packages you mention in the README so we can evaluate? ```