Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:

def validate_int_value(value, lower_bound, upper_bound=None, **kwargs):
    if isinstance(value, str):
        value = int(value)
    if value < lower_bound:
        return False
    if upper_bound and value > upper_bound:
        return False
    return True