HTML表单管理和验证
flatland-fork的Python项目详细描述
丰富的结构化python应用程序数据与 面向字符串的Web窗体平面命名空间、键/值存储、文本 文件和用户输入。Flatland提供了模式驱动的映射 带有可选数据验证的工具包。
平地非常适合:
<> Prand Land工具包的核心是灵活的和可扩展的。 表示许多数据类型和结构的声明性模式系统。
- Collecting, validating, re-displaying and processing HTML form data
- Dealing with rich structures (lists, dicts, lists of dicts, etc.) in web data
- Validating JSON, YAML, and other structured formats
- Associating arbitrary Python types with JSON, .ini, or sys.argv members that would otherwise deserialize as simple strings.
- Reusing a single data schema for HTML, JSON apis, RPC, …
模式识别验证器的验证系统和库也是 提供了丰富的i18n功能,可用于html、网络api 以及其他需要面向用户的消息传递的环境。
可用性
hgflatland tip可以通过easy_install flatland==dev安装。