473,385 Members | 1,256 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

bibtex parsing

Can anyone recommend a pure Python parser
of BibTeX files? Ideally MIT or BSD licensed?

Online search some possibilities:
http://svn.plone.org/svn/collective/...sers/bibtex.py
http://www.geocities.com/fiolj/bibtexparse.html
http://www.cis.udel.edu/~sprenkle/bi.../bibtex2xml.py
Despite the current licenses, I'd appreciate info on these too.

Also, there was a rumor that PyParsing was to become
part of the standard library, but I do not see it at
http://docs.python.org/modindex.html
False rumor? Has anyone tried parsing BibTeX with PyParsing?

Thanks,
Alan Isaac
Oct 17 '08 #1
4 3151
Alan G Isaac wrote:
Also, there was a rumor that PyParsing was to become
part of the standard library, but I do not see it at
http://docs.python.org/modindex.html
False rumor?
False rumor.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco

Oct 17 '08 #2
On Oct 17, 4:18*pm, Alan G Isaac <alan.is...@gmail.comwrote:
Can anyone recommend a pure Python parser
of BibTeX files? Ideally MIT or BSD licensed?

Online search some possibilities:
http://svn.plone.org/svn/collective/.../trunk/bibliog...
http://www.geocities.com/fiolj/bibtexparse.html
http://www.cis.udel.edu/~sprenkle/bi.../bibtex2xml.py
Despite the current licenses, I'd appreciate info on these too.

Also, there was a rumor that PyParsing was to become
part of the standard library, but I do not see it at
http://docs.python.org/modindex.html
False rumor? *Has anyone tried parsing BibTeX with PyParsing?

Thanks,
Alan Isaac
Visit the pyparsing wiki for all sorts of applications. Here is
a BibTeX parser submitted by pyparsing wiki user ero-sennin:
http://pyparsing.wikispaces.com/Whos...parsing#pybtex
I don't know what the license is.

Can't help you on the rumor front though. I should hope I'd hear
about
this sooner or later. I'm more than willing for this to happen, but I
fear that the API includes some features that are novel to Python,
perhaps
even bordering on UnPythonic, and so may skewer any plans for stdlib
inclusion.

-- Paul
Oct 17 '08 #3
On 10/17/2008 6:14 PM Paul McGuire apparently wrote:
Visit the pyparsing wiki for all sorts of applications. Here is
a BibTeX parser submitted by pyparsing wiki user ero-sennin:
http://pyparsing.wikispaces.com/Whos...parsing#pybtex
I don't know what the license is.
GPL unfortunately.
Thanks!
Alan

Oct 17 '08 #4
On Oct 17, 6:43*pm, Alan G Isaac <alan.is...@gmail.comwrote:
On 10/17/2008 6:14 PM Paul McGuire apparently wrote:
Visit the pyparsing wiki for all sorts of applications. *Here is
a BibTeX parser submitted by pyparsing wiki user ero-sennin:
http://pyparsing.wikispaces.com/Whos...parsing#pybtex
I don't know what the license is.

GPL unfortunately.
Thanks!
Alan
The author might consider another license, it couldn't hurt to ask.

-- Paul
Oct 18 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Gerrit Holl | last post by:
Posted with permission from the author. I have some comments on this PEP, see the (coming) followup to this message. PEP: 321 Title: Date/Time Parsing and Formatting Version: $Revision: 1.3 $...
2
by: Alex Olivas | last post by:
i'm not sure whether this is the correct list for this question, but i'm trying to build python-bibtex-1.1.93.1 with gcc 3.3.2 and am getting the following error messages... gcc -DNDEBUG -O2 -g...
2
by: Cigdem | last post by:
Hello, I am trying to parse the XML files that the user selects(XML files are on anoher OS400 system called "wkdis3"). But i am permenantly getting that error: Directory0: \\wkdis3\ROOT\home...
16
by: Terry | last post by:
Hi, This is a newbie's question. I want to preload 4 images and only when all 4 images has been loaded into browser's cache, I want to start a slideshow() function. If images are not completed...
4
by: schwehr | last post by:
Hi All, Does anyone have a good template that I might use for writing a python paper in latex/bibtex? I've got the paper mostly done, but am having issues with the references. I am definitely...
1
by: Rob Cowie | last post by:
I'm looking for a module that is able to create valid BibTex documents. I'm currently using string substitution to create the content, but it is not validated in any way. The only BibTex...
1
by: ceplma | last post by:
Hi, I am looking for some XSLT stylesheet which would work as kind of BibTeX -- I mean that XSLT processor would get this stylesheet and a simple XML document (probably just XHTML Strict with...
3
by: toton | last post by:
Hi, I have some ascii files, which are having some formatted text. I want to read some section only from the total file. For that what I am doing is indexing the sections (denoted by .START in...
13
by: Chris Carlen | last post by:
Hi: Having completed enough serial driver code for a TMS320F2812 microcontroller to talk to a terminal, I am now trying different approaches to command interpretation. I have a very simple...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.