Skip to content

🐛 Add utility functions for date and time handling, HTTP requests…#2

Merged
bybatkhuu merged 3 commits intomainfrom
dev
Sep 18, 2025
Merged

🐛 Add utility functions for date and time handling, HTTP requests…#2
bybatkhuu merged 3 commits intomainfrom
dev

Conversation

@bybatkhuu
Copy link
Copy Markdown
Owner

This pull request renames the main Python utilities package throughout the codebase and documentation from potato_utils to potato_util. The change ensures consistency in naming across all files, installation instructions, import statements, scripts, and documentation references.

Package/module renaming:

  • Renamed the package everywhere from potato_utils to potato_util, including import statements in __init__.py, the example code, and all documentation references. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

Documentation and usage updates:

  • Updated installation and usage instructions in README.md, docs/getting-started/installation.md, and related documentation files to use the new potato_util name. [1] [2] [3] [4] [5] [6]
  • Changed all API documentation references and file structure descriptions to match the new module name. [1] [2] [3] [4] [5] [6] [7]

Script and configuration updates:

  • Updated all scripts and configuration files to use the new module name, including default environment variables and paths in shell scripts, and the project name in pyproject.toml. [1] [2] [3] [4] [5]

These changes ensure a consistent and correct package name throughout the project, reducing confusion and installation errors.

github-actions and others added 2 commits September 18, 2025 03:27
…le operations, and sanitization

- Introduced new regex constants for request IDs and special character validation.
- Implemented datetime utility functions for timezone handling, ISO conversion, and timestamp generation.
- Added HTTP utility functions for synchronous and asynchronous connectivity checks.
- Created file I/O utilities for asynchronous and synchronous operations, including directory and file management.
- Developed sanitization functions for HTML and URL escaping, as well as special character sanitization.
- Implemented validation functions for truthy/falsy checks, request ID validation, and special character detection.
- Updated test cases to reflect changes in module imports and initialization logging.
@bybatkhuu bybatkhuu self-assigned this Sep 18, 2025
@bybatkhuu bybatkhuu added the bug Something isn't working label Sep 18, 2025
@bybatkhuu bybatkhuu merged commit 1ff2f60 into main Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant