Closes #5216: remove camelCase #5218
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Standardize Public API Naming & Add Deprecation Shims
Summary
This PR standardizes Arkouda’s public Python API to PEP 8–compliant snake_case naming, while preserving backward compatibility through explicit deprecation shims. The goal is to modernize the API surface, unblock stricter linting (Ruff N802), and provide a clear, low-risk migration path for users.
No user-facing functionality is removed in this PR.
Key Changes
1. Snake_case canonical APIs
The following camelCase public APIs have been replaced with snake_case equivalents and updated throughout the codebase:
Dtype / scalar helpers
isSupportedInt→is_supported_intisSupportedFloat→is_supported_floatisSupportedNumber→is_supported_numberisSupportedBool→is_supported_boolisSupportedDType/isSupportedDtype→is_supported_dtypeLogger API
getArkoudaLogger→get_arkouda_loggergetArkoudaClientLogger→get_arkouda_client_loggerenableVerbose→enable_verbosedisableVerbose→disable_verboseArkoudaLogger.changeLogLevel→change_log_levelArkoudaLogger.getHandler→get_handlerClient dtypes
BitVectorizer→bit_vectorizerRandom (legacy)
globalGeneratorExists→global_generator_existsgetGlobalGenerator→get_global_generator2. Backward-compatible deprecation shims
All legacy camelCase names are retained as thin wrapper aliases that:
DeprecationWarningThis ensures existing user code continues to work unchanged while providing a clear upgrade signal.
3. Ruff configuration cleanup
N802[lint.pep8-naming].ignore-names4. Internal cleanups (non-user-facing)
_matmul2D → _matmul2dCompatibility & Migration
Rationale
This change:
Closes #5216: remove camelCase