reorx / params Goto Github PK
View Code? Open in Web Editor NEWA Python package that does better in request parameters validation than django.forms, wtforms, web_args or so.
A Python package that does better in request parameters validation than django.forms, wtforms, web_args or so.
There are weird inconsistencies regarding exception handling:
rumanio:ezmomi cosmonautas$ pip3 list |grep -i params
params (0.2.1)rumanio:ezmomi cosmonautas$ grep -r -i except /usr/local/lib/python3.6/site-packages/params/
Binary file /usr/local/lib/python3.6/site-packages/params//contrib/pycache/django.cpython-36.pyc matches
Binary file /usr/local/lib/python3.6/site-packages/params//contrib/pycache/tornado.cpython-36.pyc matches
/usr/local/lib/python3.6/site-packages/params//contrib/django.py: except Exception as e:
/usr/local/lib/python3.6/site-packages/params//contrib/tornado.py: except Exception as e:
/usr/local/lib/python3.6/site-packages/params//core.py:class InvalidParams(Exception):
/usr/local/lib/python3.6/site-packages/params//core.py: except Exception as e:
/usr/local/lib/python3.6/site-packages/params//core.py: except ValueError, e:
/usr/local/lib/python3.6/site-packages/params//core.py: except ValueError, e:
/usr/local/lib/python3.6/site-packages/params//core.py: except ValueError, e:
/usr/local/lib/python3.6/site-packages/params//fields.py: except UnicodeDecodeError:
/usr/local/lib/python3.6/site-packages/params//fields.py: except ValueError as e:
/usr/local/lib/python3.6/site-packages/params//fields.py: except ValueError as e:
/usr/local/lib/python3.6/site-packages/params//fields.py: except ValueError, e:
/usr/local/lib/python3.6/site-packages/params//fields.py: except ValueError:
rumanio:ezmomi cosmonautas$ python3
Python 3.6.0 (default, Dec 24 2016, 00:01:50)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Why not always use 'as' ?. This breaks compatibility on python 3.6.0 at least
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.