GithubHelp home page GithubHelp logo

5l1v3r1 / cherrypy-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jovanbrakus/cherrypy-example

0.0 1.0 0.0 298 KB

CherryPy Introductory project

License: BSD 3-Clause "New" or "Revised" License

JavaScript 9.11% Python 90.89%

cherrypy-example's Introduction

CherryPy Screenshot

Introduction

CherryPy-Example aims at providing a usefull introductory code for the CherryPy framework, as well as using Jinja2 template engine within CherryPy Server. Some aspects of CherryPy, Jinja2 and Python used in code are:

  • CherryPy's builtin webserver
  • Shows example of CherryPy application structure
  • Programatic CherryPy Web Server parametrization
  • Basic HTTP Authentication within CherryPy Web Server
  • Simple GET&POST request dispatching
  • File download from CherryPy served page
  • Django-like flash messaging in CherryPy
  • Basic Jinja2 template engine usage
  • Python's ConfigParser usage (parsing&generating .ini files)
  • Python's logging facility usage

Requirements

CherryPy-Example has the following dependencies:

  • CherryPy 3.1.2 (or newer)
  • Jinja2 2.5.5 (or newer)

You can install them via easy_install or pip. It's tested&working in Linux and Win.

Overview

CherryPy-Example is a failry useless ini-file edit application. It provides (not-so-generic) web interface for viewing and editing INI files as well as interface for downloading log files.

Get Started

  • Install all the dependencies
  • Start the server: python config_server.py
  • Go to http://localhost:8080 and login (username='cherrypy' & password='cherrypy')

Few More screenshots

CherryPy Overview CherryPy ConfigView CherryPy ConfigEdit CherryPy LogsView

cherrypy-example's People

Contributors

jovanbrakus avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.