Skip to main content

A client/server web framework based on Python and modern JavaScript.

Project description

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/*

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.6.tar.gz (144.2 kB view details)

Uploaded Source

Built Distribution

appchen-0.3.6-py3-none-any.whl (156.3 kB view details)

Uploaded Python 3

File details

Details for the file appchen-0.3.6.tar.gz.

File metadata

  • Download URL: appchen-0.3.6.tar.gz
  • Upload date:
  • Size: 144.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for appchen-0.3.6.tar.gz
Algorithm Hash digest
SHA256 4556b8f371f229fbcb4f1ed7b588efd7f7a0aa5b49d32720e59515bc0f9d1c17
MD5 1e2fe29f901dc7d8ed68a1f0895b3542
BLAKE2b-256 bd5c6e0f2ade2a3a2d7160e07238dfcc7c0fc66a32aa83566280eb4d616ea52b

See more details on using hashes here.

File details

Details for the file appchen-0.3.6-py3-none-any.whl.

File metadata

  • Download URL: appchen-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 156.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for appchen-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 280f7c03572875ba69655ab7fdee3cefa96e80a275bd0d0bebb69b8d6852e466
MD5 b37279459023ef04dcaaa07bac341ab4
BLAKE2b-256 e38b418d6fbab986577d49169d6eba27a6d4eeacf47eeb34472ed0a56d7f7b94

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page