Top "Bottle" questions

Bottle is a fast, simple and lightweight WSGI micro web-framework for Python.

How to get client IP address using python bottle framework

I need client IP address using python. I have tried below code but its not working in server: from socket …

python bottle
What is the difference between the declarative_base() and db.Model?

The quickstart tutorial for the Flask-SQLAlchemy plugin instructs users to create table models inheriting the db.Model class, e.g. …

python sqlalchemy flask bottle flask-sqlalchemy
Streaming file upload using bottle (or flask or similar)

I have a REST frontend written using Python/Bottle which handles file uploads, usually large ones. The API is wirtten …

python rest file-upload bottle
Bottle.py HTTP Auth?

How can I get my bottle.py app (Running in Paste or Cherrypy) to do HTTP (basic or digest) authentication? …

python http authentication bottle digest
Python Bottle - Difference between "redirect" and "return template"

I have two questions regarding Bottle: 1) What is the difference between: redirect('/login') and return template('login') Wouldn't both …

python redirect bottle
python bottle always logs to console, no logging to file

In a python project with multiple threads my logging works well to write to a logger file. Basically based on …

python logging bottle
TypeError: 'CommandCursor' object has no attribute '__getitem__'

I am getting this TypeError when trying to access Bottle's rest API through Apache server, but it's working properly with …

python apache mongodb pymongo bottle
Nginx - Rewrite the request_uri before uwsgi_pass

I have a Nginx vhost than is configured as such: ... location /one { include uwsgi_params; uwsgi_pass unix:///.../one.sock; } …

regex nginx uwsgi bottle
running Apache + Bottle + Python

I'm trying to run Bottle.py with Apache and mod_wsgi. I'm running it on windows, using a xampp. python …

python apache mod-wsgi bottle
How do I access bottle development server from another PC on the LAN?

I'm running the bottle.py tutorial on one PC, and I was able to access it using http://localhost:8080/hello/…

python windows web-services bottle