Invent - 为初学者设计的应用框架
项目描述
Invent - 为初学者设计的应用框架
通过GitHub pages 查看此存储库。
此项目的文档可以在 此处 找到。
此项目始于2019年,最初名为“PyperCard” ~ 是Adafruit的CircuitPython PYOA模块的重实现,但针对非CircuitPython计算环境。它最初使用Kivy框架进行跨平台开发。在成功使用Kivy框架测试PyperCard作为教学和学习工具后,由于COVID大流行,开发工作暂停。
随后,项目名称已更改为“Invent”,以消除任何HyperCard相关预期。还有进一步的重大变化
- PyScript取代Kivy,成为生成和运行用户界面的底层跨平台框架。
- Nicholas(尼古拉斯),Invent/PyperCard 的原始开发者和维护者,已被 Anaconda Inc 聘请负责 PyScript 的工作,因此他在本项目的相关工作由雇主赞助。
- 仓库所有权已转移到 GitHub 上的 invent framework 组织(旧仓库将自动重定向到新仓库)。
- 由于这是一个完整的重写,许可证已从 MIT 更改为 Apache2。
所有与项目旧版本相关的资产仍可在此仓库的 旧分支 中找到。
开发者设置
使用 Git 克隆仓库
git clone https://github.com/invent-framework/invent.git
(推荐)升级本地 pip
pip install --upgrade pip
创建虚拟环境,然后安装需求
pip install -r requirements.txt
大多数有用的开发者相关任务都由 Makefile
自动化
$ make
There's no default Makefile target right now. Try:
make clean - reset the project and remove auto-generated assets.
make tidy - tidy up the code with the 'black' formatter.
make lint - check the code for obvious errors with flake8.
make lint-all - check all code for obvious errors with flake8.
make serve - serve the project at: http://0.0.0.0:8000/
make test - while serving the app, run the test suite in browser.
make dist - build the module as a package.
make publish-test - upload the package to the PyPI test instance.
make publish-live - upload the package to the PyPI LIVE instance.
要运行测试套件
$ make serve
然后访问 http://localhost:8000/。
测试应该在您的浏览器中打开并通过。;-)
请使用 79 个字符宽度的源代码文件。
示例应用
即将推出...
项目详情
下载文件
下载适合您平台的应用程序。如果您不确定选择哪个,请了解更多关于 安装包 的信息。
源代码发行版
invent-0.0.1a2.tar.gz (19.0 kB 查看哈希值)
打包发行版
invent-0.0.1a2-py3-none-any.whl (29.6 kB 查看哈希值)