appchen-0.3.6
توضیحات
A client/server web framework based on Python and modern JavaScript.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | appchen-0.3.6 |
| نام | appchen |
| نسخه کتابخانه | 0.3.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Wolfgang Kühn |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/decatur/appchen |
| آدرس اینترنتی | https://pypi.org/project/appchen/ |
| مجوز | - |
# 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
````shell script
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
````shell script
pip install git+https://github.com/decatur/appchen.git
pip install appchen
````
# Run Demo Web Server
````shell script
/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
````shell script
python -m appchen.web_demo.client --httpport=8080
````
# Build
````shell script
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
````shell script
python3 -m twine upload --repository testpypi dist/*
````
نیازمندی
| مقدار | نام |
|---|---|
| <2.0,>=1.1 | flask |
| <0.2.0,>=0.1.3 | gridchen |
| <4.0,>=3.7 | pymongo |
| <3.0.0,>=2.18.0 | requests |
| <0.0.25,>=0.0.24 | sseclient |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6,<4.0 | Python |
نحوه نصب
نصب پکیج whl appchen-0.3.6:
pip install appchen-0.3.6.whl
نصب پکیج tar.gz appchen-0.3.6:
pip install appchen-0.3.6.tar.gz