Skip to main content

A Python micro web framework for creating dynamic websites.

Project description

Arc 1.5.0

Python micro web framework for creating dynamic websites.

IMPORTANT, USE VERSION 1.5.4, NOT THE LATEST, AS IT DOESN'T WORK

Arc is a python micro framework for creating dynamic web pages. Arc is still under heavy devlopment, and only has support for basic jinja templating and static file serving at the moment. Arc is powered by a CherryPy web server, making it both fast and reliable. You can use any WSGI web server to run an Arc application.

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

app = App()

@app.route("/home")
def home(req, res):
    res.text = "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, and I do not recommend you using it in actual production until its finished. Arc has loads of bugs and errors 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

Download files

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

Source Distribution

arcframework-1.7.1.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

arcframework-1.7.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arcframework-1.7.1.tar.gz
  • Upload date:
  • Size: 7.2 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-1.7.1.tar.gz
Algorithm Hash digest
SHA256 fd1648ab46ad29fda63df75f93a7e9a5a196f547aa3a403a4f0f14dd4a7a280b
MD5 9c16b1c007dc2717c70fb5e82291e49e
BLAKE2b-256 4093bde60d1d7d9482ad5c86062a1fced8bd48c9fe7bfa96bcf60ac851470908

See more details on using hashes here.

File details

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

File metadata

  • Download URL: arcframework-1.7.1-py3-none-any.whl
  • Upload date:
  • Size: 12.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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for arcframework-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 281ccffea8b86ad27928c0f7ce094e89c49d2e94b1af224e7b78cc81eac0cd6f
MD5 3781f622ae67cc0bbaa352f6b6b3375e
BLAKE2b-256 bbf6e44cfa0e04e04f45175ea7303f389f3b7fd555cea9e36d329a11b4965961

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