Questions tagged [cherrypy]

CherryPy is a pythonic, object-oriented HTTP framework. See cherrypy.dev for more information. Ask for interactive help @ https://gitter.im/cherrypy/cherrypy

CherryPy is a pythonic, object-oriented HTTP framework.

Features

  • A HTTP/1.1-compliant, WSGI thread-pooled webserver. Typically, CherryPy itself takes only 1-2 ms per page.
  • Support for any other WSGI-enabled web server or adapter, including Apache, IIS, lighttpd, mod_python, FastCGI, SCGI, and mod_wsgi.
  • A native mod_python adapter.
  • Multiple HTTP servers (e.g. on multiple ports) at once.
  • A plugin system. CherryPy plugins hook into events within the server process — into server startup, server shutdown, server exiting, etc. — to run code that needs to be run when the server starts up or shuts down.
  • Built-in tools for caching, encoding, sessions, authorization, static content, and others. CherryPy tools hook into events within the request process. Whenever the CherryPy server receives a request, there is a specific set of steps it goes through to handle that request. Page handlers are only one step in the process. Tools also provide a syntax and configuration API for turning them on and off for a specific set of handlers.
  • A configuration system for developers and deployers. CherryPy deployments are configurable on site, on application and on controller level, through Python dictionaries, configuration files, and open file objects.
  • Every component is swappable and customizable.
  • A complete test suite:
    • tests for both basic and advanced functionality
    • command-line options to control which tests are run, and the output they produce
    • debugging tools specifically for web page tests
    • many of the test suite components are reusable by applications.
  • Built-in profiling since v2.1, coverage and testing support.
1372 questions
-1
votes
1 answer

Cherrypy website does not work, where to find documentation?

Today I found out that cherrypy documentation page does not work anymore. Does anyone know an alternative source of documentation?
Roman
  • 124,451
  • 167
  • 349
  • 456
-2
votes
1 answer

How to convert dictionary of lists to html table?

I have a dictionary of list. eg : result = { 'a': ['x', 'y', 'z'], 'b': ['p', 'q', 'r'], 'c': ['m', 'n', 'o'] } I want a, b and c to be the headings of my table and corresponding lists under that particular column. I have passed the…
-2
votes
1 answer

how can i connect spark to an android application?

i want to create an android application which makes predictions, I already have my spark's code using python and I ve already Building a Web API around my Engine using Flask and runing the server with spark using cherrypy, The question is how can I…
betty bth
  • 33
  • 7
-2
votes
1 answer

Serve from /tmp on Heroku with Cherrypy

My site writes new .html files into /tmp after the dyno is created. The cherrypy app is in /app due to the Heroku's structure. This prevents me from routing the .html files created with Cherrypy. Any idea on how to do this?
Stranger26
  • 658
  • 5
  • 11
-2
votes
1 answer

CherryPy and JSON: Sending list of dictionaries

I would like to send a list of dictionaries from a web browser to a server running CherryPy. What should the code in CherryPy be to receive it? JavaScript in Web Browser var listOfDictionaries = { "Coordinates": [ …
Rokas.ma
  • 191
  • 1
  • 12
-3
votes
1 answer

cherrypy 2.3.0 compatibale with Python 2.7.5?

How can I get cherrypy 2.3.0 to be compatible with Python 2.7.5? I am trying to run the Filelocker2 application. It is previously on an older server that is running centos 5. We created a new Centos 7 VM server, and are migrating Filelocker2 over to…
Roger
  • 99
  • 1
  • 5
-5
votes
1 answer

Using sqlalchemy together with cherrypy - how to guarantee parallel processing

how I can use cherrypy together with sqlalchemy. And how I can guarantee the thread-safety of the cherrypy engine?
Markus
  • 1
1 2 3
91
92