Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #71195

Re: Python Internet Database

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'python,': 0.02; 'programmer': 0.03; 'tutorial': 0.03; 'url:pypi': 0.03; 'interfaces': 0.04; 'languages,': 0.04; 'languages.': 0.04; 'base.': 0.05; 'model,': 0.05; 'repository': 0.05; 'subject:Python': 0.06; 'compiler': 0.07; 'javascript,': 0.07; 'killer': 0.07; 'pypy': 0.07; 'suppose': 0.07; 'sys': 0.07; 'framework.': 0.09; 'line:': 0.09; 'measure': 0.09; 'mixed': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'scripting': 0.09; 'python': 0.11; 'jan': 0.12; 'language.': 0.14; 'programs.': 0.14; 'apache': 0.15; '(read': 0.16; 'benefit.': 0.16; 'bitbucket,': 0.16; 'bound,': 0.16; 'check.': 0.16; 'command.': 0.16; 'compiler.': 0.16; 'editor,': 0.16; 'efficiency.': 0.16; 'extension,': 0.16; 'fetch': 0.16; 'generator.': 0.16; 'itself,': 0.16; 'libraries.': 0.16; 'lisp': 0.16; 'lisp,': 0.16; 'mean,': 0.16; 'optimised': 0.16; 'pypi.': 0.16; 'pypy.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'relevant.': 0.16; 'repl': 0.16; 'seconds,': 0.16; 'usable': 0.16; 'files.': 0.16; 'funding': 0.16; 'language': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'items.': 0.19; 'server,': 0.19; 'work,': 0.20; 'written': 0.21; 'seems': 0.21; 'print': 0.22; 'install': 0.23; 'load': 0.23; 'header:User-Agent:1': 0.23; 'comparing': 0.24; 'example.': 0.24; 'instance,': 0.24; 'integer': 0.24; 'phd': 0.24; 'requirement.': 0.24; 'text.': 0.24; 'decide': 0.24; 'server.': 0.24; '(see': 0.26; 'equivalent': 0.26; 'pass': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'hosting': 0.29; 'host': 0.29; 'on,': 0.29; 'wonder': 0.29; 'mix': 0.30; 'lines': 0.31; 'page.': 0.31; 'too.': 0.31; 'libraries': 0.31; 'mid': 0.31; 'servers.': 0.31; 'subject:Database': 0.31; 'languages': 0.32; 'service,': 0.32; 'run': 0.32; 'another': 0.32; 'text': 0.33; 'url:python': 0.33; 'running': 0.33; 'sense': 0.34; 'could': 0.34; 'common': 0.35; 'something': 0.35; 'case,': 0.35; 'editor': 0.35; 'but': 0.35; 'add': 0.35; 'there': 0.35; 'really': 0.36; 'largely': 0.36; 'words,': 0.36; 'similar': 0.36; 'url:org': 0.36; 'example,': 0.37; 'application': 0.37; 'too': 0.37; 'requirements': 0.37; 'list': 0.37; 'email addr:gmail.com': 0.63; 'information': 0.63; 'name': 0.63; 'kind': 0.63; 'such': 0.63; 'therefore,': 0.64; 'here': 0.66; 'beautiful': 0.68; 'useful.': 0.68; 'integrated': 0.69; 'internet': 0.71; 'below.': 0.71; 'therefore': 0.72; 'music': 0.75; 'compilers,': 0.84; 'database:': 0.84; 'facility.': 0.84; 'inexpensive': 0.84; 'musical': 0.84; 'received:fios.verizon.net': 0.84; 'routines': 0.84; 'tough,': 0.84; 'generation.': 0.91; 'scores': 0.91; 'thesis': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Python Internet Database
Date Fri, 09 May 2014 17:15:50 -0400
References <caf3590c-ddd5-4921-98e3-3a49a3109899@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-75-254-207.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
In-Reply-To <caf3590c-ddd5-4921-98e3-3a49a3109899@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.9833.1399670173.18130.python-list@python.org> (permalink)
Lines 145
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1399670173 news.xs4all.nl 2845 [2001:888:2000:d::a6]:57787
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:71195

Show key headers only | View raw


On 5/9/2014 4:45 PM, junnia@gmail.com wrote:
> I am writing a PhD thesis comparing computer languages, and Python
> and Ruby is among the languages I am working with. I am using the
> Rasch Model to measure latent traits and  like productivity,
> expressivity, referential transparency and efficiency. If a member of
> this list wants to read a short tutorial about the Rasch Model, here
> is the address:
>
> http://strues.org/languages
>
> To keep with my work, I need an Internet Data Base from where a
> person writing a program in Python could fetch libraries,
> applications, compilers, etc. One of the things I need to measure is
> how complete and easy to use is such a data base. I will give a
> concrete example.

https://pypi.python.org/pypi

> Suppose that a person is writing programs in sbcl, an implementation
> of Common Lisp. That person needs a compiler for Python. All he needs
> to do is add the following line to the REPL (Read Eval Print Loop)
> line:
>
> (ql:quickload :cl-python)
>
> In a few seconds, Lisp will access a Internet Data Base and will
> download and install a Python compiler written in Common Lisp. This
> Python compiler will be completely integrated with Common Lisp, in
> the sense that one can mix Python and Common Lisp programs.  The
> Common Lisp compiler will pass the Pystone, etc. Suppose now that
> this same Common Lisp programmer needs to add a few routines written
> in Fortran. He can fetch a Fortran compiler written in Common Lisp as
> easily as he did with CL-Python: (ql:quick load :f2cl) will do the
> magic. If he needs to generate beautiful pdf, he can download cl-pdf.
> If he needs an efficient Internet server, he can use Hunchentoot.
> Everything can be fetched by the ql:quickload command.
>
> Of course Common Lisp is not the only language with this kind of
> facility. Racket has its own database: PLaneT. Again, one can get
> many applications and libraries from PLantet repository. I wonder if
> Python has a similar repository. Suppose I want a Fortran to Python
> converter; then I would type: > sys f2py  If I want an emacs like
> editor, I would type > sys pyemacs, and so on. By the way, although
> emacs itself is largely written in elisp, there are many emacs clones
> that one can find in Lisp repositories; for instance, hemlock is the
> most famous of these clones. Racket has its own environment, that is
> drracket, that accept even images mixed to the text.
>
> I made a list of 9 things that I would like to see in such a
> repository.  By the way, I heard that Ruby has an Internet repository
> too. If people from this list know about the Ruby repository, I would
> appreciate information on how to use it. In any case, information
> about the Python repository will be very useful.
>
> People who are funding my thesis would like to check for the
> following applications. I mean, I will check whether the repository
> offers the applications and libraries listed below.
>
> 1 - Internet servers. In Lisp, one has hunchentoot. In Racket, one
> has the Racket Web Framework. Bigloo has hiphop.

multiple available.

> 2 - Jit compiler

pypy is an implementation of python in python, with jit compiler.

 > for using from a web server.

This is really specialized. It seems that your requirements list is 
based on, and therefore biased toward, what is available for 
lisp/racket.  Webservers are typically not computation bound, so jit 
compiler is not too relevant.

However, you can run Python-coded webservers on pypy if you want to and 
see a benefit. However, pypu really shines on integer math.

 > I mean, one has a web server running under Apache

There is a mod-python for running Python on Apache.

> in a hosting service like Hostgator,
> Daddy Host or another inexpensive service. I decide to run a few
> applications in Racket, but the application  requires number
> crunching. I install the Jit Racket in the hosting service, and call
> it from my dynamic generated page. My programs will run almost at the
> speed of optimised C.

> 3 - Music generation. I would like generation of musical scores and
> midi files.

Search pypi.

> 4 - Text editor that mimics emacs. In Common Lisp, one has hemlock. I
> would like something in the lines of hemlock.

Python people who want emacs use emacs with Python extension, not a mimic.

> 5 - CAD and electronic CAD. Something in the lines of PTC.
>
> 6 - The repository service is the other thing that I want to check. I
> mean, I want the address of the Python equivalent of quicklisp and
> PLaneT.

see above

> 7 - Image generation. pdf generation. Something in the lines of
> cl-pdf and cl-png, fl-vector, etc. Of course, I need programs written
> in Python itself, not call to C libraries.

This is a stupid requirement. CPython, written in Python, is designed to 
make interfacing to C libraries easy. It also interfaces to Fortran (see 
numpy), and interactively calling Fortran functions was perhaps the 
first killer application of Python in the mid 1959s.

> 8 - Usable compilers for other languages. For example, a JIT compiler
> for Python itself written in Python.

See pypy.

 > Compilers for Fortran, compilers
> for Common Lisp, for Javascript, etc. BTW, the compiler generator of
> Common Lisp has the same name as the Python language. In other words,
> the language in which the Common Lisp compiler is written is called
> Python too. Therefore, when I ask for a compiler generator in Python,
> many people send me a link to this Common Lisp Python compiler
> generator. What I want is a compiler generator in Python, the
> scripting language.
>
> 9 - Computer algebra. Something in the lines of Maxima will do.
>
> I don't hope to find all these nine things in a single repository.

Well, there is lots of Python projects on SourceForge, Bitbucket, 
Github, ... .  Why expect all in one place?

> Even if you tell me that there is nothing in Python similar to Maxima
> or to the Common Lisp Python compiler generator or even to hemlock,
> your information will be very useful. The list is tough, so that no
> language is able to offer all items.


-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python Internet Database junnia@gmail.com - 2014-05-09 13:45 -0700
  Re: Python Internet Database Chris Angelico <rosuav@gmail.com> - 2014-05-10 07:06 +1000
  Re: Python Internet Database Ian Kelly <ian.g.kelly@gmail.com> - 2014-05-09 15:07 -0600
  Re: Python Internet Database Terry Reedy <tjreedy@udel.edu> - 2014-05-09 17:15 -0400
  Re: Python Internet Database Ian Kelly <ian.g.kelly@gmail.com> - 2014-05-09 15:30 -0600
  Re: Python Internet Database Joshua Landau <joshua@landau.ws> - 2014-05-20 03:08 +0100

csiph-web