-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.qmd
More file actions
135 lines (110 loc) · 5.38 KB
/
Copy pathREADME.qmd
File metadata and controls
135 lines (110 loc) · 5.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
---
format: gfm
metadata-files:
- _metadata.yml
execute:
echo: false
---
<!-- NOTE: This README.md is auto-generated from README.qmd. Edit that file. -->
```{=html}
<p align="center">
<a href="https://check-datapackage.seedcase-project.org/">
<img src="https://raw.githubusercontent.com/seedcase-project/check-datapackage/main/_extensions/seedcase-project/seedcase-theme/logos/check-datapackage/navbar.svg" alt="Link to Sprout website" height="150"/>
</a>
</p>
```
# {{< meta gh.repo >}}: Ensure the compliance of your Data Package metadata
{{< include /docs/includes/_badges.qmd >}}
`check-datapackage` is a Python package that checks your Data Package's metadata
against the [Data Package standard](https://datapackage.org/) to ensure that
it's compliant with the standard. Specifically, it:
- Checks your metadata in `datapackage.json` against the Data Package standard.
- Enables you to configure which components of the metadata should or should not
be checked.
- Enables you to turn off specific checks defined in the standard.
- Supports user-defined, custom checks.
- Provides clear and user-friendly messages that point directly to where issues
occur in the metadata.
- Supports a strict mode that enforces full compliance with the standard,
including properties that must and should be included.
::: callout-warning
`check-datapackage` only checks the metadata in your `datapackage.json` file
against the Data Package standard---it does not check the data itself against
the metadata.
:::
::: callout-tip
This Python package was generated from the
[`template-python-package`](https://github.com/seedcase-project/template-python-package)
Seedcase template :tada:
:::
## Project files and folders
- `.github/`: Contains GitHub-specific files, such as issue and pull request
templates, workflows,
[dependabot](https://docs.github.com/en/code-security/tutorials/secure-your-dependencies/dependabot-quickstart-guide)
configuration, pull request templates, and a
[CODEOWNERS](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners)
file.
- `tools/vulture-allowlist.py`: List of variables that shouldn't be flagged by
[Vulture](https://github.com/jendrikseipp/vulture) as unused.
- `tools/get-contributors.sh`: Script to get list of project contributors.
- `tests/`: Test files for the package.
- `src/`: Source code for the package.
- `docs/`: Documentation about using and developing the Python package.
- `_renderer.py`: Custom [`quartodoc`](https://machow.github.io/quartodoc/)
renderer.
- `pytest.ini`: Pytest configuration file.
- `mypy.ini`: [`mypy`](https://mypy.readthedocs.io/en/stable/) configuration
file for type checking Python code.
- `.copier-answers.yml`: Contains the answers you gave when copying the project
from the template. **You should not modify this file directly.**
- `.cz.toml`: [Commitizen](https://commitizen-tools.github.io/commitizen/)
configuration file for managing versions and changelogs.
- `.pre-commit-config.yaml`: [Pre-commit](https://pre-commit.com/) configuration
file for managing and running checks before each commit.
- `.typos.toml`: [typos](https://github.com/crate-ci/typos) spell checker
configuration file.
- `justfile`: [`just`](https://just.systems/man/en/) configuration file for
scripting project tasks.
- `.editorconfig`: Editor configuration file for
[EditorConfig](https://editorconfig.org/) to maintain consistent coding styles
across different editors and IDEs.
- `CHANGELOG.md`: Changelog file for tracking changes in the project.
- `CITATION.cff`: Structured citation metadata for your project.
- `CONTRIBUTING.md`: Guidelines for contributing to the project.
- `_metadata.yml`: Quarto metadata file for the website, including information
about the project, such as the titles and GitHub names.
- `pyproject.toml`: Main Python project configuration file defining metadata and
dependencies.
- `_quarto.yml`: Quarto configuration file for the website, including settings
for the website, such as the theme, navigation, and other options.
- `ruff.toml`: [Ruff](https://docs.astral.sh/ruff/) configuration file for
linting and formatting Python code.
- `uv.lock`: Lockfile used by [`uv`](https://docs.astral.sh/uv/) to record exact
versions of installed dependencies.
- `.rumdl.toml`: [rumdl](https://rumdl.dev/) configuration file for formatting
Markdown files so that they are standardized and consistent
## Contributing
Check out our [contributing document](CONTRIBUTING.md) for information on how to
contribute to the project, including how to set up your development environment.
Please note that this project is released with a [Contributor Code of
Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to
abide by its terms.
### Contributors
{{< include /docs/includes/_contributors.qmd >}}
## Licensing
This project is licensed under the [MIT License](LICENSE.md).
## Changelog
For a list of changes, see our [changelog](CHANGELOG.md) page.
## Citing
This project is part of the [Seedcase Project](https://seedcase-project.org),
which is a collaborative effort to create a framework for data management and
analysis in research. If you use this project in your work, please cite it as
follows:
```{python}
#| output: asis
!uvx --quiet cffconvert --format apalike
```
Or as a BibTeX entry:
```{python}
!uvx --quiet cffconvert --format bibtex
```