Skip to main content

A tiny web framework-digwebs

Project description

Digolds web framework

A tiny web framework called digwebs which is developed by Python. You can checkout the detail design of digwebs in here. You can't use pip to install this web framework from PyPI right now, because digwebs is under development and is used to empower the web app called digolds. When more features are added to this framework, we will provide stable package to PyPI where you can use pip to install it to your computer.

As a developer, you can also use git to pull this repository to your computer, then follow below steps to quickly boost this framework.

  1. Install Python 3.6.x to your computer
  2. Use git to pull the source
  3. Run pip install jinja2 to install jinja2 to your computer
  4. Run python .\digwebs\project_generator.py to generate the project file structure

This step will generate project layout like below:

.
  |-controllers
  |-digwebs
  |-middlewares
  |-static
  |  |-css
  |  |-fonts
  |  |-images
  |  |-js
  |-test
  |-views
  • digwebs is where this web framework locate
  • controllers is where you put controller script
  • middlewares is where you put middlewares script
  • static is where you put front end script such as css file, javascript file, font, image etc
  • test is where you put the test script for your web app
  • views is where you put the html file
  1. run python .\digwebs.py to launch the web app demo
  2. open your browser and enter localhost:9999,you see the content "digwebs - A Minimal Web Framework!"

Note: if you want to be a master of digwebs, head over here to learn the design philosophy of digwebs

Contribution

We are looking for contributors. Please check open issues in the above repos if you think you could help, or open a new one if you have an idea you'd like to discuss.

License

This project is licensed under the MIT open source license.

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

digwebs-0.0.1.tar.gz (41.1 kB view details)

Uploaded Source

Built Distribution

digwebs-0.0.1-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

Details for the file digwebs-0.0.1.tar.gz.

File metadata

  • Download URL: digwebs-0.0.1.tar.gz
  • Upload date:
  • Size: 41.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for digwebs-0.0.1.tar.gz
Algorithm Hash digest
SHA256 de4bba6ddea88d480579e745fff9c1885c83df52de431199204f5ff14caad385
MD5 f264d2b114167455032b7c8a9d16f55e
BLAKE2b-256 afe36574e28dd67a8d923636c4c3cff09d670027a9370779c1b19129fb13113f

See more details on using hashes here.

File details

Details for the file digwebs-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: digwebs-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 43.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for digwebs-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c835e6a74df4db02101b8368ec3116961d7ba37ce39b36e8239324c87a3e59ce
MD5 5081da07f0a59d3c04c577bad54c5f5e
BLAKE2b-256 be23d5d4e295c2cd8c8512e03e8430485bce5a124ec37aa6cfd8e9c8c6d3e1b6

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