Skip to content

Commit e2171d1

Browse files
authored
Merge pull request #4 from alteryx/pypi_pkg_release
Setting up `Checkers` for PyPi Pkg Release
2 parents 12e186e + c335fe6 commit e2171d1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+153
-152
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
blank_issues_enabled: true
22
contact_links:
33
- name: General Technical Question
4-
about: "If you have a question like *How can I check for ID Columns?* you can ask on StackOverflow using the #checkmate tag."
5-
url: https://stackoverflow.com/questions/tagged/checkmate
4+
about: "If you have a question like *How can I check for ID Columns?* you can ask on StackOverflow using the #checkers tag."
5+
url: https://stackoverflow.com/questions/tagged/checkers
66
- name: Real-time chat
77
url: https://join.slack.com/t/alteryx-oss/shared_invite/zt-182tyvuxv-NzIn6eiCEf8TBziuKp0bNA
88
about: "If you want to meet others in the community and chat about all things Alteryx OSS then check out our Slack."

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ assignees: ''
77

88
---
99

10-
- As a [user/developer], I wish I could use CheckMate to ...
10+
- As a [user/developer], I wish I could use Checkers to ...
1111

1212
#### Code Example
1313

.github/workflows/lint_tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929
with:
3030
path: ${{ env.pythonLocation }}
3131
key: ${{ matrix.python_version }}-lint-${{ env.pythonLocation }}-${{ hashFiles('**/pyproject.toml') }}-v01
32-
- name: Install checkmate with dev requirements (not using cache)
32+
- name: Install checkers with dev requirements (not using cache)
3333
if: steps.cache.outputs.cache-hit != 'true'
3434
run: |
3535
python -m pip install -e .[dev]
36-
- name: Install checkmate with no requirements (using cache)
36+
- name: Install checkers with no requirements (using cache)
3737
if: steps.cache.outputs.cache-hit == 'true'
3838
run: |
3939
python -m pip install -e .[dev] --no-deps

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.venv/
22
**/__pycache__/
33
.DS_Store
4-
CheckMate.egg-info/
4+
Checkers.egg-info/

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
# CheckMate
1+
# Checkers
22

3-
CheckMate is an Alteryx Open Source library which catches and warns of problems with your data and problem setup before modeling.
3+
Checkers is an Alteryx Open Source library which catches and warns of problems with your data and problem setup before modeling.
44

55
## Installation
66

77
## Start
88

99
## Next Steps
1010

11-
Read more about CheckMate on our [documentation page](#):
11+
Read more about Checkers on our [documentation page](#):
1212

1313
## Support
1414

15-
The CheckMate community is happy to provide support to users of CheckMate. Project support can be found in four places depending on the type of question:
16-
1. For usage questions, use [Stack Overflow](#) with the `checkmate` tag.
15+
The Checkers community is happy to provide support to users of Checkers. Project support can be found in four places depending on the type of question:
16+
1. For usage questions, use [Stack Overflow](#) with the `checkers` tag.
1717
2. For bugs, issues, or feature requests start a [Github issue](#).
1818
3. For discussion regarding development on the core library, use [Slack](#).
1919
4. For everything else, the core developers can be reached by email at [email protected]
2020

2121
## Built at Alteryx
2222

23-
**CheckMate** is an open source project built by [Alteryx](https://www.alteryx.com). To see the other open source projects we’re working on visit [Alteryx Open Source](https://www.alteryx.com/open-source). If building impactful data science pipelines is important to you or your business, please get in touch.
23+
**Checkers** is an open source project built by [Alteryx](https://www.alteryx.com). To see the other open source projects we’re working on visit [Alteryx Open Source](https://www.alteryx.com/open-source). If building impactful data science pipelines is important to you or your business, please get in touch.
2424

2525
<p align="center">
2626
<a href="https://www.alteryx.com/open-source">

checkers/__init__.py

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
"""General checkers directory."""
2+
3+
from checkers.data_checks.checks.data_check import DataCheck
4+
from checkers.data_checks.datacheck_meta.data_check_message_code import (
5+
DataCheckMessageCode,
6+
)
7+
from checkers.data_checks.datacheck_meta.data_check_action import DataCheckAction
8+
from checkers.data_checks.datacheck_meta.data_check_action_option import (
9+
DataCheckActionOption,
10+
DCAOParameterType,
11+
DCAOParameterAllowedValuesType,
12+
)
13+
from checkers.data_checks.datacheck_meta.data_check_action_code import (
14+
DataCheckActionCode,
15+
)
16+
from checkers.data_checks.checks.data_checks import DataChecks
17+
from checkers.data_checks.datacheck_meta.data_check_message import (
18+
DataCheckMessage,
19+
DataCheckWarning,
20+
DataCheckError,
21+
)
22+
from checkers.data_checks.datacheck_meta.data_check_message_type import (
23+
DataCheckMessageType,
24+
)
25+
from checkers.data_checks.checks.id_columns_data_check import IDColumnsDataCheck
26+
27+
from checkers.problem_types.problem_types import ProblemTypes
28+
from checkers.problem_types.utils import (
29+
handle_problem_types,
30+
detect_problem_type,
31+
is_regression,
32+
is_binary,
33+
is_multiclass,
34+
is_classification,
35+
is_time_series,
36+
)
37+
38+
from checkers.exceptions.exceptions import (
39+
DataCheckInitError,
40+
MissingComponentError,
41+
ValidationErrorCode,
42+
)
43+
44+
from checkers.utils.gen_utils import classproperty
45+
from checkers.utils.woodwork_utils import infer_feature_types

checkers/data_checks/__init__.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
"""Base data checks and ID column data check."""
2+
3+
from checkers.data_checks.checks.data_check import DataCheck
4+
from checkers.data_checks.datacheck_meta.data_check_message_code import (
5+
DataCheckMessageCode,
6+
)
7+
from checkers.data_checks.datacheck_meta.data_check_action import DataCheckAction
8+
from checkers.data_checks.datacheck_meta.data_check_action_option import (
9+
DataCheckActionOption,
10+
DCAOParameterType,
11+
DCAOParameterAllowedValuesType,
12+
)
13+
from checkers.data_checks.datacheck_meta.data_check_action_code import (
14+
DataCheckActionCode,
15+
)
16+
from checkers.data_checks.checks.data_checks import DataChecks
17+
from checkers.data_checks.datacheck_meta.data_check_message import (
18+
DataCheckMessage,
19+
DataCheckWarning,
20+
DataCheckError,
21+
)
22+
from checkers.data_checks.datacheck_meta.data_check_message_type import (
23+
DataCheckMessageType,
24+
)
25+
from checkers.data_checks.checks.id_columns_data_check import IDColumnsDataCheck
26+
27+
from checkers.data_checks.datacheck_meta.utils import handle_data_check_action_code

checkmate/data_checks/checks/data_check.py renamed to checkers/data_checks/checks/data_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Base class for all data checks."""
22
from abc import ABC, abstractmethod
33

4-
from checkmate.utils import classproperty
4+
from checkers.utils import classproperty
55

66

77
class DataCheck(ABC):

checkmate/data_checks/checks/data_checks.py renamed to checkers/data_checks/checks/data_checks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
"""A collection of data checks."""
22
import inspect
33

4-
from checkmate.data_checks import DataCheck
5-
from checkmate.exceptions import DataCheckInitError
6-
from checkmate.utils import infer_feature_types
4+
from checkers.data_checks import DataCheck
5+
from checkers.exceptions import DataCheckInitError
6+
from checkers.utils import infer_feature_types
77

88

99
def _has_defaults_for_all_args(init):

checkmate/data_checks/checks/id_columns_data_check.py renamed to checkers/data_checks/checks/id_columns_data_check.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
"""Data check that checks if any of the features are likely to be ID columns."""
22

3-
from checkmate.data_checks import (
3+
from checkers.data_checks import (
44
DataCheck,
55
DataCheckActionCode,
66
DataCheckActionOption,
77
DataCheckMessageCode,
88
DataCheckWarning,
99
)
10-
from checkmate.utils import infer_feature_types
10+
from checkers.utils import infer_feature_types
1111

1212

1313
class IDColumnsDataCheck(DataCheck):

0 commit comments

Comments
 (0)