yuko

Yuko is a Python package that provides Rust-backed validators for common validation tasks.

MIT License

Downloads
662
Stars
8
yuko - Yuko v0.1.0 Latest Release

Published by onuralpszr 10 months ago

[v0.1.0] - Introduce Yuko

๐Ÿ”ฅ Usages

>>> import yuko
>>> yuko.email('[email protected]')
True
>>> yuko.email('loremipsum')
False
>>> yuko.country_code('TR')
True
>>> yuko.country_code('INVALID')
False
>>> yuko.ip_address("127.0.0.1","ipv4")
True
>>> yuko.ip_address("1:2:3:4:5:6:7:8", "ipv6")
True
>>> yuko.ip_address("0.0.0.0", "both")
True
>>> yuko.domain("example.com")
True
>>> yuko.mac_address("01:23:45:67:ab:CD")
True
>>> yuko.mac_address("00:1A:2B:3C:4D:ZZ")
False
>>> yuko.md5("d41d8cd98f00b204e9800998ecf8427e")
True

Bug Fixes

  • ๐Ÿž import fix for validx.[any imports access] (#12)
  • Fix coverage errors
  • Logo url fixed
  • ๐Ÿž actions/upload-artifact@v4 conflict fix
  • ๐Ÿž actions/upload-artifact@v4 download path fix

Documentation

  • Add readme file
  • Pre-commit and ci badges added.
  • ๐Ÿ“ ip_address example usage added into readme.md
  • ๐Ÿ“ code-coverage badges are added
  • ๐Ÿ“ codefactor badge added
  • Add hash validator to readme with examples
  • Logo resized
  • ๐Ÿ“ changelog updated

Features

  • โœจ initial commit validX
  • โœจ initial country_code and project renamed to validx (lowercase)
  • โœจ country code validations added
  • โœจ country code rename for shorter function name
  • ๐Ÿ more python gitignore added
  • ๐Ÿš€ devcontainer-rust added
  • Add email validator
  • Delete python/validX directory
  • ๐Ÿ—๏ธ introduce poetry for dev only setup added (#13)
  • ๐Ÿงช initial python tests are added
  • ๐Ÿงช more email tests are added
  • Add ip_address validator
  • ๐Ÿงช ip-address tests are added
  • ๐Ÿš€ initial hash - md5 validator added
  • ๐Ÿš€ sha1,sha224,sha256, validator added
  • ๐Ÿš€ sha1,sha224,sha256 validators and tests are added
  • Add mac_address validator
  • Add domain validator
  • Add url validation (#28)
  • Add logo for project (#31)
  • Change project name in readme file (#32)
  • ๐Ÿš€ project renamed to https://github.com/onuralpszr/yuko
  • ๐Ÿš€ git cliff config and CHANGELOG generated
  • ๐Ÿš€ dependabot.yml added (#34)
  • ๐Ÿš€ https://github.com/onuralpszr/yuko version added

Miscellaneous Tasks

  • ๐Ÿ‘ท initial pre-commit
  • ๐Ÿ‘ท code-coverage ci and codecov ci addded (#18)
  • ๐Ÿ‘ท pre-commit configuration updated
  • โฌ† pre_commit autoupdate
  • ๐Ÿ‘ท rustsec audit check added
  • โฌ† pre_commit autoupdate
  • โฌ† pre_commit autoupdate
  • Add develop name into CI files
  • Gitattribute file added
  • ๐Ÿ‘ท dependabot prefix updated
  • ๐Ÿ‘ท dependabot rust package check added
  • ๐Ÿ‘ท mergify github action config added
  • Funding.yml added
  • Github action settings, bot configs updated. #39

Refactor

  • Improve domain validator and fix tests

Styling

  • ๐Ÿ’„ .editorconfig added

Testing

  • Add more test case for ip validator
  • ๐Ÿงช sha1 validator and sha1 test case fix
  • Add missing test case for domain whitespace regex

New Contributors

  • @dependabot[bot] made their first contribution in #40
  • @onuralpszr made their first contribution in #
  • @pre-commit-ci[bot] made their first contribution in #
  • @Kadermiyanyedi made their first contribution in #32