Getting Started with Pyparsing
Publisher: O'Reilly Media
Final Release Date: October 2007

Need to extract data from a text file or aweb page? Or do you want to make yourapplication more flexible with user-definedcommands or search strings? Doregular expressions and lex/yacc makeyour eyes blur and your brain hurt?

Pyparsing could be the solution. Pyparsingis a pure-Python class library thatmakes it easy to build recursive-descentparsers quickly. There is no need tohandcraft your own parsing state machine.With pyparsing, you can quicklycreate HTML page scrapers, logfile dataextractors, or complex data structure orcommand processors. This Short Cutshows you how!

Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyGetting Started with Pyparsing
 
3.3

(based on 4 reviews)

Ratings Distribution

  • 5 Stars

     

    (0)

  • 4 Stars

     

    (3)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (1)

75%

of respondents would recommend this to a friend.

Reviewed by 4 customers

Sort by

Displaying reviews 1-4

Back to top

(2 of 2 customers found this review helpful)

 
4.0

A nice quickstart!

By DataScienceMike

from Munich, Germany

About Me Maker

Verified Buyer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

  • Not comprehensive enough

Best Uses

  • Novice
  • Student

Comments about oreilly Getting Started with Pyparsing:

I used the book just as its title suggests: to get started with Pyparsing. It worked great, it's easy to read and helped me to check that Pyparsing was indeed the tool I was looked for. A bit more of a systematic overview would be nice.

 
4.0

Good intro, but not a complete reference

By vorpal

from Canberra

Verified Reviewer

Pros

    Cons

    • Out of date

    Best Uses

    • Intermediate
    • Novice

    Comments about oreilly Getting Started with Pyparsing:

    For a python newbie, this book was surprisingly easy to follow. However, it only gives an overview of the library and so in development you'll need to use the net for questions that come up.

    (4 of 4 customers found this review helpful)

     
    4.0

    Decent overview of a nice Python tool

    By Millie's Brother

    from Milwaukee, WI

    About Me Developer

    Verified Reviewer

    Pros

    • Focused
    • Helpful examples

    Cons

      Best Uses

      • Intermediate
      • Student

      Comments about oreilly Getting Started with Pyparsing:

      I needed to write a context-free parser in Python to translate English-like queries into SQL. PyParsing was the tool I needed and this book does a good job of getting one up to speed with this library.

      If you need to write a parser in Python, have some idea about what recursive descent parsing is and know exactly why regular expressions won't cut it for you, this book can be of help.

      (11 of 35 customers found this review helpful)

       
      1.0

      Pyparsing is undocumented garbage

      By Wasted

      from Fairfax, VA

      About Me Educator

      Pros

      • None

      Cons

      • Difficult to understand
      • Not comprehensive enough

      Best Uses

      • None

      Comments about oreilly Getting Started with Pyparsing:

      OK, so there is one developer who invented pyparsing. He is brilliant. He did everything. He wrote a short book. But the whole thing is still undocumented. This guide will not help you do anything that is not done in this book. The help in the python code will not help you.

      Until someone other than the coder writes a description of some software, you can be sure the documentation follows the pattern"

      Gobbeldeegook: Applies Gobbels to deegook. Sometimes you have to dee before gook, but that is obvious. Returns Gobbels.

      Gobbels: what comes out of Gobbledeegook.

      deegook: everyone knows what a deegook is. By the way, you might want to try using class SomeUnDocumentedFeatureClassThatIsNotDiscussedAnywhere.

      Save yourself much time, forget this whole pyparsing thing. Spend a month learning re. It will be quicker than learning enough to solve a 2-hour string parsing problem. The developer is swamped refining code and solving everyone's problems in forums and message lists.

      Displaying reviews 1-4

      Back to top

       
      Buy 2 Get 1 Free Free Shipping Guarantee
      Buying Options
      Immediate Access - Go Digital what's this?
      Ebook: $9.99
      Formats:  ePub, Mobi, PDF