Skip to main content

appchen

This is a client/server web framework based an Python and modern JavaScript.

  • Wraps the superb client side component codemirror 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 appchen

git clone https://github.com/decatur/appchen.git
cd appchen/
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/appchen.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

vi setup.py
git add setup.py
git commit -m'bumped version'
git tag x.y.z
git push & git push --tags
python setup.py sdist bdist_wheel

Publishing to PyPI

python3 -m twine upload --repository testpypi dist/*

Release files for appchen 0.3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for appchen 0.3.6
File Size Uploaded
appchen-0.3.6.tar.gz 144.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for appchen 0.3.6
File Interpreter ABI Platform
appchen-0.3.6-py3-none-any.whl Python 3 none any Details

Total release size: 300.5 kB

Release files / appchen-0.3.6.tar.gz

Download URL appchen-0.3.6.tar.gz
Size 144.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4556b8f371f229fbcb4f1ed7b588efd7f7a0aa5b49d32720e59515bc0f9d1c17
BLAKE2b-256 checksum
How to use checksums
bd5c6e0f2ade2a3a2d7160e07238dfcc7c0fc66a32aa83566280eb4d616ea52b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

Release files / appchen-0.3.6-py3-none-any.whl

Download URL appchen-0.3.6-py3-none-any.whl
Size 156.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
280f7c03572875ba69655ab7fdee3cefa96e80a275bd0d0bebb69b8d6852e466
BLAKE2b-256 checksum
How to use checksums
e38b418d6fbab986577d49169d6eba27a6d4eeacf47eeb34472ed0a56d7f7b94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.3.6 This release

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page