datasemver 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. datasemver-0.2.0/CHANGELOG.md +89 -0
  2. datasemver-0.2.0/CODE_OF_CONDUCT.md +132 -0
  3. datasemver-0.2.0/CONTRIBUTING.md +159 -0
  4. datasemver-0.2.0/LICENSE +21 -0
  5. datasemver-0.2.0/MANIFEST.in +23 -0
  6. datasemver-0.2.0/PKG-INFO +541 -0
  7. datasemver-0.2.0/README.md +496 -0
  8. datasemver-0.2.0/datasemver/__init__.py +8 -0
  9. datasemver-0.2.0/datasemver/__main__.py +4 -0
  10. datasemver-0.2.0/datasemver/cli/__init__.py +0 -0
  11. datasemver-0.2.0/datasemver/cli/main.py +177 -0
  12. datasemver-0.2.0/datasemver/core/__init__.py +0 -0
  13. datasemver-0.2.0/datasemver/core/analyzer.py +58 -0
  14. datasemver-0.2.0/datasemver/core/changelog.py +56 -0
  15. datasemver-0.2.0/datasemver/core/differ.py +352 -0
  16. datasemver-0.2.0/datasemver/core/models.py +188 -0
  17. datasemver-0.2.0/datasemver/formats/__init__.py +0 -0
  18. datasemver-0.2.0/datasemver/formats/loader.py +209 -0
  19. datasemver-0.2.0/datasemver/formats/utils.py +130 -0
  20. datasemver-0.2.0/datasemver/py.typed +0 -0
  21. datasemver-0.2.0/datasemver/rules/__init__.py +0 -0
  22. datasemver-0.2.0/datasemver/rules/default_rules.yaml +21 -0
  23. datasemver-0.2.0/datasemver/rules/engine.py +130 -0
  24. datasemver-0.2.0/datasemver/utils/__init__.py +0 -0
  25. datasemver-0.2.0/datasemver/utils/similarity.py +39 -0
  26. datasemver-0.2.0/datasemver/utils/version.py +33 -0
  27. datasemver-0.2.0/datasemver.egg-info/PKG-INFO +541 -0
  28. datasemver-0.2.0/datasemver.egg-info/SOURCES.txt +50 -0
  29. datasemver-0.2.0/datasemver.egg-info/dependency_links.txt +1 -0
  30. datasemver-0.2.0/datasemver.egg-info/entry_points.txt +2 -0
  31. datasemver-0.2.0/datasemver.egg-info/requires.txt +16 -0
  32. datasemver-0.2.0/datasemver.egg-info/top_level.txt +1 -0
  33. datasemver-0.2.0/docs/rules.md +69 -0
  34. datasemver-0.2.0/examples/lenient_rules.yaml +20 -0
  35. datasemver-0.2.0/examples/strict_rules.yaml +20 -0
  36. datasemver-0.2.0/pyproject.toml +92 -0
  37. datasemver-0.2.0/requirements-web.txt +5 -0
  38. datasemver-0.2.0/requirements.txt +7 -0
  39. datasemver-0.2.0/setup.cfg +4 -0
  40. datasemver-0.2.0/tests/conftest.py +55 -0
  41. datasemver-0.2.0/tests/fixtures/new.csv +11 -0
  42. datasemver-0.2.0/tests/fixtures/new.json +5 -0
  43. datasemver-0.2.0/tests/fixtures/new.parquet +0 -0
  44. datasemver-0.2.0/tests/fixtures/old.csv +9 -0
  45. datasemver-0.2.0/tests/fixtures/old.json +6 -0
  46. datasemver-0.2.0/tests/fixtures/old.parquet +0 -0
  47. datasemver-0.2.0/tests/test_analyzer.py +112 -0
  48. datasemver-0.2.0/tests/test_cli.py +156 -0
  49. datasemver-0.2.0/tests/test_differ.py +276 -0
  50. datasemver-0.2.0/tests/test_loader.py +458 -0
  51. datasemver-0.2.0/tests/test_rules.py +212 -0
  52. datasemver-0.2.0/tests/test_similarity.py +30 -0
@@ -0,0 +1,89 @@
1
+ # Changelog
2
+
3
+ DataSemver versions itself with the vocabulary it applies to datasets: **Major** for
4
+ changes that break what consumers already depend on, **Minor** for new capability that
5
+ leaves existing contracts intact, **Patch** for fixes that keep the same meaning.
6
+
7
+ This project follows [Semantic Versioning](https://semver.org).
8
+
9
+ ## [Unreleased]
10
+
11
+ ## [0.2.0] - 2026-09-02
12
+
13
+ ### Minor
14
+ - CSV delimiter detection: `,`, `;`, tab and `|` are recognised from the first lines of
15
+ the file, so a semicolon-separated export no longer loads as a single column. A
16
+ candidate only wins if it appears in the header and splits every sampled line into the
17
+ same number of fields, and `.tsv` still forces the tab.
18
+ - `DATASEMVER_CSV_DELIMITER` forces a single delimiter and skips the detection, the tab
19
+ included and written as `\t`. It overrides the tab of a `.tsv` too, an empty value means
20
+ unset, and anything longer than one character is an error rather than a silent fallback.
21
+
22
+ ### Patch
23
+ - The dashboard lays out its history controls consistently on narrow screens, and the
24
+ comparison header shows dataset file names instead of full paths, with the paths kept in
25
+ the title attribute.
26
+ - `pytest --collect-only` no longer reports 0% coverage and a failing total for a run that
27
+ never happened.
28
+ - Workflows moved to the action majors that run on Node 24: `checkout@v7`,
29
+ `setup-python@v7`, `github-script@v9`, `upload-artifact@v7`, `download-artifact@v8` and
30
+ `codecov-action@v7`.
31
+ - The dashboard tests are collected by the `pytest` console script, not only by
32
+ `python -m pytest`: the repository root reaches `sys.path` through `pythonpath` instead
33
+ of relying on the current directory, which is what broke the test workflow on every
34
+ Python version.
35
+ - Every project link pointed at `datamserver`, the repository's name before it was
36
+ renamed. The README badges, the clone snippets and the four URLs in the package metadata
37
+ now name `datasemver`, so the PyPI page no longer leans on a GitHub redirect.
38
+
39
+ ## [0.1.0] - 2026-09-02
40
+
41
+ ### Minor
42
+ - Web dashboard: a FastAPI backend that imports the library and a static frontend with no
43
+ build step. Upload two datasets or pick two versions from a directory, and read the
44
+ bump, the classified changes, the column comparison and the changelog in the browser.
45
+ `POST /api/diff`, `GET /api/history`, `GET /api/history/{dataset}/diff` and
46
+ `GET /api/meta`.
47
+ - Packaging for PyPI: SPDX license, classifiers, project URLs, a `py.typed` marker so the
48
+ annotations reach type checkers, a `MANIFEST.in` that keeps the sdist to the library,
49
+ and `dev` and `web` extras.
50
+ - Release workflow: builds the sdist and the wheel, checks the metadata, refuses a tag
51
+ that disagrees with the version in `pyproject.toml`, installs the wheel in a clean
52
+ environment and publishes to PyPI on a GitHub release.
53
+ - Test workflow across Python 3.10 to 3.13, with coverage measured on every run and a
54
+ floor of 85%. The suite grew from 68 to 151 tests at 99% coverage.
55
+
56
+ ### Patch
57
+ - `Severity` comparisons against strings fell back to the alphabetical order of `str`,
58
+ which made `bump >= "minor"` false for a major bump. They now compare by impact, and a
59
+ string that is not a severity raises `TypeError` instead of comparing alphabetically.
60
+ - Documentation for both installation paths, the release flow and the coverage workflow.
61
+
62
+ ## [0.0.1] - 2026-09-02
63
+
64
+ First working version.
65
+
66
+ ### Minor
67
+ - Compare two versions of a dataset and get the semantic version bump they deserve, with
68
+ the changelog entry that describes them.
69
+ - Schema changes: columns added, removed and renamed, type changes split into compatible
70
+ widenings and breaking changes, and nullability shifts.
71
+ - Content changes: row counts, cardinality, mean and standard deviation of numeric
72
+ columns, mode and category sets of categorical ones.
73
+ - Rename detection from the similarity of both the column name and its values, so
74
+ `user_name` becoming `username` is reported as a rename rather than a removal plus an
75
+ addition.
76
+ - Configurable rule engine: severities are lists of rules in YAML, threshold rules such as
77
+ `row_count_decrease_greater_than` pair with a plain counterpart in a lower severity, and
78
+ an unknown rule or severity is an error rather than a silent no-op.
79
+ - CSV, JSON (array and lines, nested objects flattened with `.`) and Parquet, whose
80
+ declared schema is trusted as it stands rather than re-inferred.
81
+ - CLI built on typer and rich: `datasemver diff` with `--rules`, `--current-version`,
82
+ `--output` and `--json`, plus `datasemver rules` to inspect a rule set.
83
+ - GitHub Action that analyses the datasets a pull request touches and posts the suggested
84
+ bump as a comment, rewriting the same comment on every push.
85
+
86
+ [Unreleased]: https://github.com/IzanVil/datasemver/compare/v0.2.0...HEAD
87
+ [0.2.0]: https://github.com/IzanVil/datasemver/compare/v0.1.0...v0.2.0
88
+ [0.1.0]: https://github.com/IzanVil/datasemver/compare/v0.0.1...v0.1.0
89
+ [0.0.1]: https://github.com/IzanVil/datasemver/releases/tag/v0.0.1
@@ -0,0 +1,132 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, caste, color, religion, or sexual
10
+ identity and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the overall
26
+ community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official email address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ izanvilchez6@gmail.com.
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series of
86
+ actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or permanent
93
+ ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within the
113
+ community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.1, available at
119
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
120
+
121
+ Community Impact Guidelines were inspired by
122
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
123
+
124
+ For answers to common questions about this code of conduct, see the FAQ at
125
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126
+ [https://www.contributor-covenant.org/translations][translations].
127
+
128
+ [homepage]: https://www.contributor-covenant.org
129
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130
+ [Mozilla CoC]: https://github.com/mozilla/diversity
131
+ [FAQ]: https://www.contributor-covenant.org/faq
132
+ [translations]: https://www.contributor-covenant.org/translations
@@ -0,0 +1,159 @@
1
+ # Contributing to DataSemver
2
+
3
+ Thanks for taking the time to help. This document covers how to get the project running
4
+ locally, what a good patch looks like, and how changes get reviewed. Everyone taking part
5
+ is expected to follow the [Code of Conduct](CODE_OF_CONDUCT.md).
6
+
7
+ ## Development setup
8
+
9
+ ```bash
10
+ git clone https://github.com/IzanVil/datasemver.git
11
+ cd datasemver
12
+ python -m venv .venv
13
+ source .venv/bin/activate
14
+ pip install -e ".[dev]"
15
+ ```
16
+
17
+ The editable install puts the `datasemver` command on your PATH, so a change in the source
18
+ tree is picked up on the next run. Verify the setup:
19
+
20
+ ```bash
21
+ datasemver diff tests/fixtures/old.csv tests/fixtures/new.csv
22
+ pytest
23
+ ```
24
+
25
+ Python 3.10 or newer is required. Development dependencies are declared in the `dev` extra
26
+ of `pyproject.toml`; `requirements.txt` is kept for the plain `pip install -r` workflow.
27
+
28
+ ## Running the tests
29
+
30
+ ```bash
31
+ pytest # whole suite
32
+ pytest tests/test_rules.py # a single module
33
+ pytest -k rename -v # a single behaviour
34
+ pytest -q --tb=short # quieter output while iterating
35
+ ```
36
+
37
+ Coverage runs by default: `pytest` measures `datasemver` and `web`, prints the missing
38
+ lines and writes `coverage.xml`. The run fails below 85%; it currently sits above 99%.
39
+
40
+ ```bash
41
+ pytest --cov-report=html # browsable report in htmlcov/
42
+ pytest --no-cov # skip the measurement while iterating
43
+ pytest -m "not web" # skip the dashboard tests
44
+ ```
45
+
46
+ The dashboard tests import `web`, which is not an installed package; `pythonpath = ["."]`
47
+ in `pyproject.toml` puts the repository root on the path so both `pytest` and
48
+ `python -m pytest` find it.
49
+
50
+ The suite is fast and hermetic: no network, no fixtures written outside `tmp_path`, and no
51
+ environment read without `monkeypatch.setenv`, which is how the tests for the
52
+ `DATASEMVER_CSV_DELIMITER` override keep the rest of the run untouched. Keep it that way.
53
+ Dataset fixtures live in `tests/fixtures/` and are shared through the fixtures declared in
54
+ `tests/conftest.py`; prefer building small dataframes inline when a test needs a specific
55
+ shape, and only add a file fixture when the format itself is under test. The Parquet
56
+ fixtures hold the same rows as `old.csv` and `new.csv`, which is what lets the suite assert
57
+ that both formats produce identical reports; regenerate them with
58
+ `pandas.DataFrame.to_parquet` if the CSV pair ever changes.
59
+
60
+ ## Code style
61
+
62
+ - **PEP 8**, 100 character lines, four space indentation.
63
+ - **Type hints on every function signature**, including tests where they clarify intent.
64
+ Modules use `from __future__ import annotations`.
65
+ - **Docstrings on public functions, classes and modules**, one sentence in the imperative
66
+ mood. No inline commentary restating what the code says; if a block needs explaining,
67
+ the explanation belongs in the docstring or in a better name.
68
+ - **Models are pydantic**. Anything that crosses a module boundary or reaches the JSON
69
+ output is declared in `datasemver/core/models.py`.
70
+ - **No new runtime dependencies** without discussing it in an issue first. The current set
71
+ is `pandas`, `pyarrow`, `pydantic`, `pyyaml`, `typer` and `rich`.
72
+ - Private helpers are prefixed with `_` and stay at the bottom of the module.
73
+
74
+ If you use formatters or linters, `ruff format` and `ruff check` with a 100 character line
75
+ length match the existing code. They are not enforced in CI yet.
76
+
77
+ ## Adding a new detection
78
+
79
+ Most contributions fall into this shape. The path through the code is:
80
+
81
+ 1. Add the case to `ChangeType` in `datasemver/core/models.py`.
82
+ 2. Emit the `Change` from `datasemver/core/differ.py`, including the metrics a threshold
83
+ rule would need. Add a threshold to `DiffConfig` rather than hardcoding a number.
84
+ 3. Map it to a severity in `datasemver/rules/default_rules.yaml`, and register the metric
85
+ in `THRESHOLD_RULES` in `datasemver/rules/engine.py` if it takes a limit.
86
+ 4. Document it in `docs/rules.md`.
87
+ 5. Cover it in `tests/test_differ.py` and, if it changes the resulting bump, in
88
+ `tests/test_analyzer.py`.
89
+
90
+ Detections should be quiet by default: a rule that fires on every dataset is noise, and
91
+ noise is what makes the bump untrustworthy.
92
+
93
+ ## Releasing
94
+
95
+ Releases are built and published by
96
+ [`.github/workflows/publish.yml`](.github/workflows/publish.yml). The flow is:
97
+
98
+ 1. Bump the version in `pyproject.toml` and `datasemver/__init__.py`; both must match, and
99
+ move the `Unreleased` section of `CHANGELOG.md` under the new version.
100
+ 2. Commit, then tag: `git tag -a v0.1.0 -m "DataSemver 0.1.0"` and push the tag.
101
+ 3. Publish a GitHub release pointing at that tag. The workflow builds the sdist and the
102
+ wheel, checks the metadata with `twine`, refuses to continue when the tag and the
103
+ version in `pyproject.toml` disagree, installs the wheel in a clean environment to
104
+ confirm the `datasemver` command works, and uploads to PyPI.
105
+
106
+ Running it by hand from the Actions tab publishes to TestPyPI by default, and to PyPI when
107
+ the `pypi` target is chosen.
108
+
109
+ The workflow expects two repository secrets, `PYPI_API_TOKEN` and `TEST_PYPI_API_TOKEN`,
110
+ and two environments named `pypi` and `testpypi` to attach them to. Scope each token to
111
+ the `datasemver` project once it exists on the index.
112
+
113
+ Building locally, which is worth doing before tagging:
114
+
115
+ ```bash
116
+ pip install build twine
117
+ python -m build
118
+ python -m twine check dist/*
119
+
120
+ python -m venv /tmp/verify
121
+ /tmp/verify/bin/pip install dist/datasemver-*.whl
122
+ /tmp/verify/bin/datasemver --help
123
+ ```
124
+
125
+ `MANIFEST.in` decides what lands in the sdist: the package, its bundled rules, the docs,
126
+ the example rule profiles and the test suite. The dashboard under `web/`, the sample
127
+ `datasets/` and the CI helper in `scripts/` are deliberately left out, since they are part
128
+ of the repository rather than of the library.
129
+
130
+ ## Reporting issues
131
+
132
+ Open an issue with the [bug report](.github/ISSUE_TEMPLATE/bug_report.md) or
133
+ [feature request](.github/ISSUE_TEMPLATE/feature_request.md) template. For a bug, the most
134
+ useful report contains:
135
+
136
+ - The exact command, including the flags.
137
+ - The bump you got and the bump you expected.
138
+ - A minimal pair of datasets that reproduces it, or the `--json` output with anything
139
+ sensitive removed.
140
+ - Versions: `datasemver --help` works, `python --version`, `pip show pandas pydantic`.
141
+
142
+ Never attach real production data. A handful of synthetic rows that shows the same shape is
143
+ both safer and easier to debug.
144
+
145
+ ## Pull requests
146
+
147
+ 1. Fork the repository and branch from `main`, e.g. `feat/detect-primary-key-change`.
148
+ 2. Keep the change focused. Unrelated refactors belong in their own pull request.
149
+ 3. Add tests next to the module you touched, and update the documentation the change
150
+ affects (`README.md`, `docs/rules.md`).
151
+ 4. Run `pytest` before pushing. A red suite will not be reviewed.
152
+ 5. Write commit messages in the imperative mood: `add rename detection for numeric
153
+ columns`, not `added` or `adds`.
154
+ 6. Fill in the [pull request template](.github/PULL_REQUEST_TEMPLATE.md), and say
155
+ explicitly whether the change alters the bump produced for an existing dataset pair.
156
+
157
+ Review is usually a couple of rounds of comments. Anything that changes the classification
158
+ of existing data is a breaking change for users and will be scrutinised accordingly, so
159
+ motivate it in the description.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Izan Vilchez
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,23 @@
1
+ include LICENSE
2
+ include README.md
3
+ include CONTRIBUTING.md
4
+ include CHANGELOG.md
5
+ include CODE_OF_CONDUCT.md
6
+ include requirements.txt
7
+ include requirements-web.txt
8
+ include datasemver/py.typed
9
+ include datasemver/rules/*.yaml
10
+
11
+ recursive-include docs *.md
12
+ recursive-include examples *.yaml
13
+ recursive-include tests *.py *.csv *.json *.parquet
14
+
15
+ prune .github
16
+ prune web
17
+ prune datasets
18
+ prune scripts
19
+ exclude demo.cast
20
+ exclude tests/test_web.py
21
+
22
+ global-exclude *.py[cod]
23
+ global-exclude __pycache__