A client/server web framework based an Python and modern JavaScript.
Project description
app-chen
This is a client/server web framework based an Python and modern JavaScript.
- Wraps the superb client side components codemirror and grid-chen as a Python package.
- Supports real time streaming via Server Send Events
- Supports single page applications and in-app navigation
- Supports on-the-fly web parts
- Depends on Flask and MongoDB only
- Uses es6 modules and plain vanilla JavaScript
Setup
Option A: Clone app-chen
git clone https://github.com/decatur/app-chen.git
cd app-chen/
python -m venv ./venv
source venv/Scripts/activate
pip install -r requirements.txt
Option B: Install into Existing Project
pip install git+https://github.com/decatur/app-chen.git
pip install appchen
Run Demo Web Server
/c/tools/mongodb/bin/mongod --port 27017 --dbpath /c/data/db
python -m appchen.web_demo.run_server --mongoport=27017 --httpport=8080
You may now navigate to http://localhost:8080 with Chrome or Firefox.
Run Demo Python Client
python -m appchen.web_demo.client --httpport=8080
Build
poetry build
Publishing to PyPI
poetry config repositories.test_pypi https://test.pypi.org/legacy/
poetry config http-basic.test_pypi user password
poetry config http-basic.pypi user password
poetry publish -r test_pypi
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
appchen-0.3.0.tar.gz
(176.2 kB
view hashes)
Built Distribution
appchen-0.3.0-py3-none-any.whl
(194.4 kB
view hashes)