Skip to content

[META] What do we want to see in this package? #3

Open
@Batalex

Description

@Batalex

Here are a few suggestions, doubling as a tracker for the implementation of said features.

Tracker

Code structure & content

Documentation

  • Badges
  • "Written" documentation
  • API reference
  • Publishing

Code quality

Collaboration

  • Licensing
  • CoC
  • Contributing guide

Packaging

  • Versionning
  • Building
  • Publishing

Automation

Implementations

Based on the pyOpenSci packaging guide, here are a few implementation suggestions

Code structure & content

  • src versus flat layout: src
  • File format configuration (e.g. .editorconfig):
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true

[*.py]
indent_style = space
indent_size = 4

[*.md]
trim_trailing_whitespace = false

Documentation

  • Badges
  • "Written" documentation: Sphinx
  • API reference: apidoc
  • Publishing: GH pages

Code quality

  • Formatter: Black
  • Linter(s): Ruff 👼
  • Type checker: mypy
  • Tests: pytest, coverage.py

Collaboration

  • Licensing: MIT, BSD3?
  • CoC
  • Contributing guide

Packaging

  • Versionning
  • Building: PDM
  • Publishing: PyPI, conda-forge, both?

Automation

  • Setting up CI: GH actions
  • Running everything locally: tox, nox, PDM?

Feel free to comment / change items 🐈‍⬛

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions