用于Lite的窗体生成器

lite-forms的Python项目详细描述


精简格式

MaintainabilityGitHub license

一个易于使用的python库,用于构建gov.uk表单。

文档

Getting Started

生成窗体

Form(title='Register an organisation',
     description='Part 1 of 3',
     questions=[
		 TextInput(title='What\'s the organisation\'s name?',
				  name='name'),
		 TextInput(title='European Union registration and identification number (EORI)',
				  name='eori_number'),
		 TextInput(title='Standard Industrial Classification Number (SIC)',
				  description='Classifies industries by a four-digit code.',
				  name='sic_number'),
		 TextInput(title='UK VAT number',
				  description='9 digits long, with the first two letters indicating the'
							  ' country code of the registered business.',
				  name='vat_number'),
		 TextInput(title='Company registration number (CRN)',
				  description='8 numbers, or 2 letters followed by 6 numbers.',
				  name='registration_number'),
	 ],
	 buttons=[
		 Button('Save and continue', '')
	 ],
),

安装

pipenv install lite-forms

要求

  • gov.uk设计系统3.0>;

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何获得要渲染的纹理   java如何动态确定对象类型的文本的实际类型   java如何用方括号解析参数数组?   java与ECC公钥的长度混淆   JavaLWJGL包括GUI类吗?   java如何打印所有收件箱电子邮件   java在片段中使用RecyclerView而不是活动会导致E/RecyclerView:没有连接适配器;跳过布局错误   为位于系统托盘中的Java程序创建键盘挂钩   使用java将三个json对象合并为一个   java获取范围(x,y)内的随机整数?   java定制primaryStage标题:以图标为中心   命令行无法使用运行java应用程序。jar依赖性“错误:无法找到或加载主类”   java LuaJava编译错误“未解析的外部符号”   如何修复java函数   java文件。Listfile()强制关闭(NullPointerException)   java调试模式在IDEA和Kotlin中停止工作   当使用命名空间STD的C++头文件上运行Sigg时,java丢失分号错误   java如何在使用DBUnit时防止数据删除   找不到java类org/apache/zookeeper/server/NIOServerCnxn$工厂   java无法在上启动jbpmhttp://localhost:8080/businesscentral