Valhalla

Latest version: v0.1.4

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.0.4

* Added the money.credit_card filter and tests
* Added a test for logical.constant
* Added the casting.none filter
* Added the match, require, blank, and extra options to the schema.
* Added a LICENSE...
* If a Field is present, blank is NOT allowed by default. However, Field is OPTIONAL by default.
* Removed the casting.jsbool filter because of redundant functionality. Just use casting.none in conjunction with casting.strbool. You will need to make sure to Field.blank(True) if you want to accept NoneType values such as 'undefined'.

0.0.3

* Added a prehook _strip option for ALL string validators. The option is True by default and will invoke the strip() validator on all string validators.
* Added the following filter modules [casting, chrono, collection, logical]
* Added tests for strings.canonize and strings.slugify
* Fixed the web.ipv4 validator so that it actually verifies the values of the octets :0
* Added the following filters: [casting.boolean, casting.jsbool, casting.strbool, casting.integer, casting.longint, casting.numeric]
* filters continued: [web.url, casting.string, chrono.date, chrono.time, chrono.datetime, chrono.time_before, chrono.time_after, chrono.time_between]
* Added a schema-level match option used like so: s = Schema('my_schema', match={'password': 'password_confirm'})
* Changed the name of the strings.numeric validator to strings.numeric_string to differentiate it from the casting.numeric filter. Remember that filters are thrust into a global namespace as part of the API's brevity.
* Added tests for the chrono module
* Added in travis-ci with coveralls and pypins

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.