Skip to main content

A Python micro web framework for creating dynamic websites.

Project description

Arc 2.0.2

Python ASGI web framework for creating fast and dynamic web applications.

Arc is a python micro framework for creating dynamic web pages. Arc is still under heavy devlopment, and all help is appreciated. Arc is built using Starlette, and runs on the lighting fast uvicorn web server.

Installation

Arc is relatively easy to get set up with. Arc is cross platform, and can be installed on any operating system. You can install it using pip.

# Windows
pip install arcframework

# Linux
pip3 install arcframework

Quickstart

Arc is a very easy to use libary, and is similar to other micro frameworks such as Flask or Bottle, so learning it won't be too hard. The below is an example of an Arc application.

from arc import App, TextResponse

app = App()

@app.route("/home")
def home(request):
    return TextResponse("Hello, World")

if __name__ == "__main__":
    app.run()

Copy and paste the above and run your file, you'll get an output like the following in your console.

INFO: Running on http://127.0.0.1:5000

INFO: Press CTRL + C to stop

Now go to http://127.0.0.1:5000/home, and you should see Hello World being displayed on the screen.

Issues/Bugs

Arc is still under heavy development abd has loads of bugs and errors that I'm constantly working on resolving. You can check out the documentation at DOCS.md. Feel free to open an issue or email me at aboominister@gmail.com, all help would be appreciated.

Project details


Release history Release notifications | RSS feed

This version

2.1.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arcframework-2.1.4.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arcframework-2.1.4-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file arcframework-2.1.4.tar.gz.

File metadata

  • Download URL: arcframework-2.1.4.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for arcframework-2.1.4.tar.gz
Algorithm Hash digest
SHA256 f17ea941c0e11662b823fb559ade2754acbc8ff897d29453c4e64b51f7ca4e46
MD5 0259ad545fd24ac3ce35f16c5475098a
BLAKE2b-256 2da2e323306daf0efb2106b8d1f426b4db9505692be2df5106e90e326e6c1bd2

See more details on using hashes here.

File details

Details for the file arcframework-2.1.4-py3-none-any.whl.

File metadata

  • Download URL: arcframework-2.1.4-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for arcframework-2.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4f8d6a549750e4dbb43b170ba8c61797c3be420d7eb06b62d824f984a3017784
MD5 f1f917048f512ee4dace4de8fab1929d
BLAKE2b-256 3ddd5e01631ca987dfcd1bd8de257f1d5bc9619267d04c148ac1a34be5b34b8d

See more details on using hashes here.

Supported by

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