By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,257 Members | 925 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,257 IT Pros & Developers. It's quick & easy.

what python technology for my app?

P: n/a
I have an database containing lots of numerical data. I want to write a
browser based interface that will allow selection of various key
parameters and yield tables, plots and/or printouts of the data
according to the selections. Ultimately I want this to run on an
intranet so that others can get access via their browsers.

The application is for in-house use only and not likely to have more
than a few users at any one time. I've managed to hack out enough
understanding of sql and sqlAlchemy over the last couple of days to
create and access an sqlite3 based database for my data. This seems to
suit my purposes for now. Now for a front end and some simple
distribution over a network.

I have written some small Wxpython & matplotlib apps for data analysis
and display but I'm not sure how these would work in a browser based
world, or even if they are appropriate.

Any advice on what technologies I should be looking at for this? Python
based naturally, and hopefully simple and lightweight. I'm not a
programmer by trade and that's not what I really get paid for but I've
learned to love python and its myriad of modules for all the data
analysis work I need to do. If I can throw something moderately
functional together in a week or two (along with all the learning that
entails) I'll be happy.

btw - Platform needs to be windows because that's what on my desk.

thanks.
Apr 27 '07 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Chris a écrit :
I have an database containing lots of numerical data. I want to write a
browser based interface that will allow selection of various key
parameters and yield tables, plots and/or printouts of the data
according to the selections. Ultimately I want this to run on an
intranet so that others can get access via their browsers.

The application is for in-house use only and not likely to have more
than a few users at any one time. I've managed to hack out enough
understanding of sql and sqlAlchemy over the last couple of days to
create and access an sqlite3 based database for my data. This seems to
suit my purposes for now. Now for a front end and some simple
distribution over a network.

I have written some small Wxpython & matplotlib apps for data analysis
and display but I'm not sure how these would work in a browser based
world, or even if they are appropriate.
wxPython being a GUI toolkit, it's of course not really appropriate for
a web-based solution (and yes, this is an understatement).

I don't have any experience with matplotlib, but according to the
project's FAQ, this shouldn't be a problem:
http://matplotlib.sourceforge.net/faq.html#BATCHMODE
>
Any advice on what technologies I should be looking at for this? Python
based naturally, and hopefully simple and lightweight. I'm not a
programmer by trade and that's not what I really get paid for but I've
learned to love python and its myriad of modules for all the data
analysis work I need to do. If I can throw something moderately
functional together in a week or two (along with all the learning that
entails)
If you don't have any experience with web programming, it might take a
bit more time.
I'll be happy.
Pylons (http://pylonshq.com) and turbogears are two great web
frameworks. Both support SQLAlchemy. My own favourite is Pylons, but you
should try both and choose the one that better fits your brain.
btw - Platform needs to be windows because that's what on my desk.
Python is mostly platform independant.

HTH
Apr 27 '07 #2

P: n/a
Just thought I'd make a little suggestion about this, I don’t know how
strict you want to be with the web development side of things, but I'm a web
developer by trade and have recently started using python for my non-web
type applications.

If you're looking for a web based server side solution, then you can't go
wrong with Adobe ColdFusion. Its and incredibly powerful and scalable
development platform and yet supports a simple tag based language which
makes life very easy when getting started, and yet will support much more
complex OOP methodology with a whole myriad of frameworks, orm's and object
factories.

For a quick 'run down' of its features take a look at the simple tutorials
on the adobe site, they'll demonstrate how easy it is to achieve even quite
complex tasks like PDF creation, animated statistical charts an all sorts.
As CF is a JAVA based technology you get the power of J2EE platform and its
perfectly multi platform playing nicely with linux, unix, sun, windows or
whatever server environment you wish to run it on.

Just my two pence, I'm a big CF fan so my opinions are no doubt bias, but
might be worth you taking a look.

http://www.adobe.com/uk/products/coldfusion/

Pay attention to the 'ColdFusion Demos' at the bottom right of the main
column.

Rob

-----Original Message-----
From: py************************************************ *****@python.org
[mailto:py***************************************** ************@python.org]
On Behalf Of Bruno Desthuilliers
Sent: 27 April 2007 12:19
To: py*********@python.org
Subject: Re: what python technology for my app?

Chris a écrit :
I have an database containing lots of numerical data. I want to write a
browser based interface that will allow selection of various key
parameters and yield tables, plots and/or printouts of the data
according to the selections. Ultimately I want this to run on an
intranet so that others can get access via their browsers.

The application is for in-house use only and not likely to have more
than a few users at any one time. I've managed to hack out enough
understanding of sql and sqlAlchemy over the last couple of days to
create and access an sqlite3 based database for my data. This seems to
suit my purposes for now. Now for a front end and some simple
distribution over a network.

I have written some small Wxpython & matplotlib apps for data analysis
and display but I'm not sure how these would work in a browser based
world, or even if they are appropriate.
wxPython being a GUI toolkit, it's of course not really appropriate for
a web-based solution (and yes, this is an understatement).

I don't have any experience with matplotlib, but according to the
project's FAQ, this shouldn't be a problem:
http://matplotlib.sourceforge.net/faq.html#BATCHMODE

Any advice on what technologies I should be looking at for this? Python
based naturally, and hopefully simple and lightweight. I'm not a
programmer by trade and that's not what I really get paid for but I've
learned to love python and its myriad of modules for all the data
analysis work I need to do. If I can throw something moderately
functional together in a week or two (along with all the learning that
entails)
If you don't have any experience with web programming, it might take a
bit more time.
I'll be happy.
Pylons (http://pylonshq.com) and turbogears are two great web
frameworks. Both support SQLAlchemy. My own favourite is Pylons, but you
should try both and choose the one that better fits your brain.
btw - Platform needs to be windows because that's what on my desk.
Python is mostly platform independant.

HTH
--
http://mail.python.org/mailman/listinfo/python-list

Apr 27 '07 #3

P: n/a
Robert Rawlins - Think Blue a écrit :
Just thought I'd make a little suggestion about this, I don’t know how
strict you want to be with the web development side of things, but I'm a web
developer by trade and have recently started using python for my non-web
type applications.

If you're looking for a web based server side solution, then you can't go
wrong with Adobe ColdFusion.
Err... is this a troll ?
Apr 27 '07 #4

P: n/a
On Apr 27, 12:18 pm, Chris <cfri...@bigpond.net.auwrote:
I have an database containing lots of numerical data. I want to write a
browser based interface that will allow selection of various key
parameters and yield tables, plots and/or printouts of the data
according to the selections. Ultimately I want this to run on an
intranet so that others can get access via their browsers.

The application is for in-house use only and not likely to have more
than a few users at any one time.
Any advice on what technologies I should be looking at for this? Python
based naturally, and hopefully simple and lightweight.
If I can throw something moderately
functional together in a week or two (along with all the learning that
entails) I'll be happy.

btw - Platform needs to be windows because that's what on my desk.
1) for small intranet,
2) in Python,
3) dead simple,
4) runs on Windows

- consider Karrigell: http://karrigell.sourceforge.net/en/front.htm

Gerard

Apr 27 '07 #5

P: n/a
Haha, no Troll, just a shameless plug for my life's one true love ;-)

Rob

-----Original Message-----
From: py************************************************ *****@python.org
[mailto:py***************************************** ************@python.org]
On Behalf Of Bruno Desthuilliers
Sent: 27 April 2007 14:35
To: py*********@python.org
Subject: Re: what python technology for my app?

Robert Rawlins - Think Blue a écrit :
Just thought I'd make a little suggestion about this, I don’t know how
strict you want to be with the web development side of things, but I'm a
web
developer by trade and have recently started using python for my non-web
type applications.

If you're looking for a web based server side solution, then you can't go
wrong with Adobe ColdFusion.
Err... is this a troll ?
--
http://mail.python.org/mailman/listinfo/python-list

Apr 27 '07 #6

P: n/a
En Fri, 27 Apr 2007 08:38:57 -0300, Robert Rawlins - Think Blue
<ro************@thinkbluemedia.co.ukescribió:
>The application is for in-house use only and not likely to have more
than a few users at any one time. I've managed to hack out enough
If you're looking for a web based server side solution, then you can't go
wrong with Adobe ColdFusion. Its and incredibly powerful and scalable
development platform and yet supports a simple tag based language which
makes life very easy when getting started, and yet will support much more
complex OOP methodology with a whole myriad of frameworks, orm's and
object
factories.
For a small in-house application, U$S 6000 per server (Coldfusion MX 7
Enterprise) or even U$S 1300 (Standard Edition) might be too much,
depending on the OP budget...

--
Gabriel Genellina
Apr 27 '07 #7

P: n/a
In article <ma***************************************@python. org>,
Robert Rawlins - Think Blue <URL:mailto:ro************@thinkbluemedia.co.ukwro te:
Haha, no Troll, just a shameless plug for my life's one true love ;-)
Strange enough to live that love on the wrong newsgroup...

Until now all indications are: Troll
Anyway, given the original poster's description I would be /very/ surprised
that CF would be the right answer.
On the other hand, you're writing that CF would deliver all kinds of PDFs,
statistical charts etc.

As I'm working on similar applications, I would be very interested
to hear about how to approach such requirements in any language/environment.

Please outline a solution to e.g.:
- 1000 data files / lots
- per data file / lot:
- some meta information like: date/time, equipment, temperature, ...
- 5000 data sets / parts
for each data set / part:
- 5 meta data entries / flags (16 bit int each)
- 1000 data entries each (floating point value + 16 bits of flags)
Example query/report requirement:
- select 800 of the data files acc. to the meta information
*(e.g. date/time range)
- select all data sets within the 800 files where the meta data matches
some bit masks
- calculate statistical data like min/avg/median/max, percentiles etc.
per data file for the selected data sets
- create a time series plot of these statistical results
Regards,

Dietmar

Apr 27 '07 #8

This discussion thread is closed

Replies have been disabled for this discussion.