Skip to content

Cleaning up and adding examples#1

Merged
sn merged 1 commit into
mainfrom
feature/cleanups-and-examples
Apr 17, 2026
Merged

Cleaning up and adding examples#1
sn merged 1 commit into
mainfrom
feature/cleanups-and-examples

Conversation

@sn
Copy link
Copy Markdown
Contributor

@sn sn commented Apr 17, 2026

This pull request introduces new example scripts for date and format validation, updates documentation to reflect repository and ecosystem changes, and bumps the package version. The most significant changes are the addition of comprehensive usage examples for date and format validation, improvements to documentation accuracy, and updates to project metadata.

New Example Scripts:

  • Added examples/date_validation.py with detailed examples covering ISO 8601 date validation, before/after/date_equals/date_format rules, and handling of ambiguous formats.
  • Added examples/formats.py demonstrating validation of UUIDs, URLs, IPv4, MAC addresses, credit cards (Luhn check), hex colors, and regex patterns (including complex cases with RegexRule).

Documentation and Ecosystem Updates:

  • Updated README.md to clarify AI Assistant integration, correct repository naming, and revise the ecosystem section to accurately describe related projects and their purposes. [1] [2]
  • Updated example usage instructions and repository URLs in README.md and pyproject.toml to use the new nitrosh/nitro-validate repository path. [1] [2]

Project Metadata:

  • Bumped package version to 1.0.2 in both pyproject.toml and nitro_validator/__init__.py. [1] [2]
  • Updated license field and added classifier for BSD license in pyproject.toml.

Minor Example Fixes:

  • Updated example data in examples/basic_usage.py and examples/advanced_validation.py for clarity and correctness. [1] [2]

@sn sn self-assigned this Apr 17, 2026
@sn sn merged commit c36ccbe into main Apr 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant