objetto
Advanced tools
| Metadata-Version: 2.1 | ||
| Name: objetto | ||
| Version: 1.27.0 | ||
| Version: 1.28.0 | ||
| Summary: Object-oriented framework for building smart applications and APIs | ||
@@ -32,5 +32,2 @@ Home-page: https://github.com/brunonicko/objetto | ||
| .. image:: https://badge.fury.io/py/objetto.svg | ||
| :target: https://pypi.org/project/objetto/ | ||
| `Objetto` is an opinionated object-oriented framework for building modular applications | ||
@@ -37,0 +34,0 @@ and APIs. |
@@ -10,2 +10,4 @@ # -*- coding: utf-8 -*- | ||
| from six import raise_from | ||
| from ._bases import Base | ||
@@ -233,3 +235,10 @@ from ._constants import BASE_STRING_TYPES | ||
| return value | ||
| value = int(value) | ||
| try: | ||
| value = int(value) | ||
| except ValueError as e: | ||
| try: | ||
| value = int(float(value)) | ||
| except ValueError: | ||
| raise_from(e, e) | ||
| raise e | ||
| if self.minimum is not None and value < self.minimum: | ||
@@ -236,0 +245,0 @@ if self.clamp_minimum: |
+1
-4
| Metadata-Version: 2.1 | ||
| Name: objetto | ||
| Version: 1.27.0 | ||
| Version: 1.28.0 | ||
| Summary: Object-oriented framework for building smart applications and APIs | ||
@@ -32,5 +32,2 @@ Home-page: https://github.com/brunonicko/objetto | ||
| .. image:: https://badge.fury.io/py/objetto.svg | ||
| :target: https://pypi.org/project/objetto/ | ||
| `Objetto` is an opinionated object-oriented framework for building modular applications | ||
@@ -37,0 +34,0 @@ and APIs. |
+0
-3
@@ -24,5 +24,2 @@ Objetto | ||
| .. image:: https://badge.fury.io/py/objetto.svg | ||
| :target: https://pypi.org/project/objetto/ | ||
| `Objetto` is an opinionated object-oriented framework for building modular applications | ||
@@ -29,0 +26,0 @@ and APIs. |
+1
-1
@@ -8,3 +8,3 @@ import setuptools | ||
| name="objetto", | ||
| version="1.27.0", | ||
| version="1.28.0", | ||
| author="Bruno Nicko", | ||
@@ -11,0 +11,0 @@ author_email="brunonicko@gmail.com", |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
25516
0.03%1029337
-0.01%