Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/pyparsing/pyparsing

Python library for creating PEG parsers
https://github.com/pyparsing/pyparsing

Add support for pickling ParseResults with protocols 2 and higher (default protocol in Py3 is 3)

c5e291530d36611c373b2f7c4c3383eff336a028 authored over 8 years ago by Paul McGuire <[email protected]>
Add CHANGES blurb for example fixes

f10a0b883d90ecfd86a645f0d568beb4dda54f83 authored over 8 years ago by Paul McGuire <[email protected]>
Cleanup examples, fix typo in fourFn.py, convert sample tests to use runTests

986c535fca52ce0793ce7848c506b49f95126120 authored over 8 years ago by Paul McGuire <[email protected]>
Fixed ParseResults.asDict() to correctly convert nested ParseResults values to dicts.

Fixed ParseResults.__radd__ to return other+self if not adding to 0.

fb611ffab05e3fc1d4d3b7dbe2d4905c0d63fcf4 authored over 8 years ago by Paul McGuire <[email protected]>
Updates to include default minutes and seconds in time of day if not given; handle both "day at time" and "time on day" ordering; conditionalize tests so module can be imported

44cb232f9df08aca920bf980d5caba14e85fd76a authored over 8 years ago by Paul McGuire <[email protected]>
Fix _trim_arity to distinguish between TypeErrors raised in parse actions and those raised during internal arity testing

07e75554e0228bf872e194e633c4cb0508edfd4c authored almost 9 years ago by Paul McGuire <[email protected]>
More internal expression naming, in internal elements of infixNotation

ffe44eedb91ca1fd98e491e99566210a46818b8e authored almost 9 years ago by Paul McGuire <[email protected]>
Added expression names for many internal and builtin expressions, to reduce name and error message overhead during parsing

a899588d852cc879b6cb20761bfde12a06ef4a90 authored almost 9 years ago by Paul McGuire <[email protected]>
Added new example parseTabularData.py

Updated several examples to more current Python and pyparsing practices (and better Py2/Py3 cross...

401ba4a945b88f12e26495a82d4059d4adbaec92 authored almost 9 years ago by Paul McGuire <[email protected]>
Remove list comprehensions in favor of gen exprs

c8e8c6592d625d24bc7c0ca34bcc527ec380c2d5 authored almost 9 years ago by Paul McGuire <[email protected]>
Update wordsToNum.py example

- removed list comprehensions when gen expr is sufficient
- changed ignore('-') to ignore(Literal...

5055f45e69d3aa1014bc9b0ab1e4641ac0413c09 authored almost 9 years ago by Paul McGuire <[email protected]>
Fixed bug in ignore() (introduced in pyparsing 1.5.3) that would not accept a string literal as the ignore expression.

bb85a2668d57429c69dd489cdd42d4641654e1a8 authored almost 9 years ago by Paul McGuire <[email protected]>
Fixed up implementations of __dir__ to reduce maintenance overhead, and fix output of ParseResults instance dirs.

019fffcc5de6954cc74f42449ceb16bf9ed572f2 authored almost 9 years ago by Paul McGuire <[email protected]>
Remove duplicated code

b1567512dcfae81b7eb1ca18aca6e99097e9eea5 authored almost 9 years ago by Paul McGuire <[email protected]>
Cleaned up additional issues from enhancing the error messages for Or and MatchFirst, handling Unicode values in expressions. Fixes Unicode encoding issues in Python 2.

7ae4f0cb4ae5360ce12c14032c314d82e1d206b8 authored almost 9 years ago by Paul McGuire <[email protected]>
Simplified string representation of Forward, to avoid memory and performance issues during streamlining

30e376729d795149fd9ddfb90cceda4fadf71f1e authored almost 9 years ago by Paul McGuire <[email protected]>
Forgot to add new unit test to main test suite

2c4ce3008257d2b5b4ff796e1508143534aabc02 authored almost 9 years ago by Paul McGuire <[email protected]>
Fix bug in Each when containing an Optional that has a results name or parse action

423cebded705fa9bfb6b91e9e750a6fccd2863d4 authored almost 9 years ago by Paul McGuire <[email protected]>
Fixed a bug in Or, when a parse action on an alternative raises an exception

521f363a6305bf2cf436113a2c3f0dc7d36d2765 authored almost 9 years ago by Paul McGuire <[email protected]>
Fixed bug (introduced in 2.0.4) in dump where the lists would be shown in duplicate

498a0e3f77a923a1d5503a6ff1305f1c9110adbe authored almost 9 years ago by Paul McGuire <[email protected]>
Fixed bug in Each with multiple Optionals; added parseAll and output cleanup to runTests; improved exception messages for MatchFirst and Or exceptions.

1bb9c6be592bfbe18327c81f31a448ffadeca1ec authored almost 9 years ago by Paul McGuire <[email protected]>
(#($&(#& print statements in runTests broke Py3 compatibility!

b65b5b45b53a41e67a2e2932d8c6f9128897b106 authored almost 9 years ago by Paul McGuire <[email protected]>
Updates to support files

be78411a071404f2e17dbde444a15ad16b2f05b7 authored almost 9 years ago by Paul McGuire <[email protected]>
Redo withClass; fix typo in Word, remove Token.setName() that does nothing significant (suggested by williamzjc)

0208700c5e61efeccf89208562ebefb9b93cbce4 authored almost 9 years ago by Paul McGuire <[email protected]>
Restore unit tests to perform all tests

59278a1d1569c9ef720e3db591bc3feaa52c4b05 authored almost 9 years ago by Paul McGuire <[email protected]>
Added withClass helper method, a simplified version of withAttribute for

the common but annoying case when defining a filter on a div's class -
made difficult becaus...

58ce442329c56904d225e0b34873cb144e05593e authored almost 9 years ago by Paul McGuire <[email protected]>
Enhanced docstring for new addCondition method.

2130aa7ac8af828cf93fcf9412ea78de0ce9acea authored almost 9 years ago by Paul McGuire <[email protected]>
Add ParserElement.runTests, quick-and-dirty test bench for testing an expression against a series of sample input strings

8796e78be7d0320e71a9cb76d7fb1c70fe25bf90 authored about 9 years ago by Paul McGuire <[email protected]>
Add wheel release support

Add Python 3.4 and 3.5 versions to setup metadata

bd53d0527ffea1b08ac76bba450f001fe0aa3648 authored about 9 years ago by Paul McGuire <[email protected]>
Adopt new-fangled Python features, like decorators and ternary expressions, per suggestions from Williamzjc - thanks William! (Oh yeah, I'm not supporting Python 2.3 with this code any more...)

af48680354ab40f697f1dca69ade29e67cfb58bb authored about 9 years ago by Paul McGuire <[email protected]>
Add ParserElement.addCondition, to simplify creation of parse actions that are purely filters.

41569649e498eb15128628e87fce5bb1cab3eac8 authored about 9 years ago by Paul McGuire <[email protected]>
Remove duplicate '||' operator in select_parser.py example

78058599d96d17eef108169a2f963818e0401cbd authored about 9 years ago by Paul McGuire <[email protected]>
Fixed bug in fourFn.py example code, where pi and e were defined using CaselessLiteral instead of CaselessKeyword

d1296113818a4e2b9ab8c2ce72c84ca27d2b0f81 authored over 9 years ago by Paul McGuire <[email protected]>
Fixed enhanced ParseResults.dump() method when the results consists only of an unnamed array of sub-structure results.

ed318df5b752ce033d3210b594c2275886320c64 authored over 9 years ago by Paul McGuire <[email protected]>
- update to srange to accept unicode literals in the input StringEnd

- enhanced version of replaceWith

70869715b99cdb0a24193e86f99bc954397bb509 authored over 9 years ago by Paul McGuire <[email protected]>
Add support for WHEEL .whl distribution

540d2bc30990056245481426d8b00c5edc490f03 authored almost 10 years ago by Paul McGuire <[email protected]>
Minor mods to released examples

169c544d9eef11444648714530df1050a40b4d9b authored about 10 years ago by Paul McGuire <[email protected]>
Fixed bug in ParseResults __init__ method, when returning non-ParseResults types from parse actions that implement __eq__.

b6bb2dfea7d97d013c4b69bd3b44d40daa45d792 authored about 10 years ago by Paul McGuire <[email protected]>
update internal versioning timestamp

d8fda71d992845980a56fb727db41b134fa9cfa0 authored about 10 years ago by Paul McGuire <[email protected]>
Properly return lists when parsing list values (instead of return ParseResults)

a5a2e3091604e8fed85992516860e9ee5d4a15fc authored about 10 years ago by Paul McGuire <[email protected]>
Updated ParserElement.dump() to list out numbered array values if no results names are defined for a given level of a nested parse result

aba11bfcd8a94a3a5984131a12fa14ed200857cc authored about 10 years ago by Paul McGuire <[email protected]>
Fixed UnboundLocalError in oneOf based on new scoping rules in Python 3.4

738012c56e26fc2a0198c876adb8bc029c6dff96 authored over 10 years ago by Paul McGuire <[email protected]>
Fixed bug in And class when initializing using a generator.

5f705055e1b64e7d9f562129dd4c38fcf2cdd150 authored over 10 years ago by Paul McGuire <[email protected]>
Update pyparsing timestamp

413671b429b80bea8c2119726eab6cd9582f8667 authored over 10 years ago by Paul McGuire <[email protected]>
Fixed Bug #73, errors introduced to ParseResults.pop method after improvements were made in last release

17ba8caa0520bb4ac87d59e6596d0d142884c337 authored over 10 years ago by Paul McGuire <[email protected]>
Fixed escaping behavior in QuotedString. Formerly, only quotation

marks (or characters designated as quotation marks in the QuotedString
constructor) would be ...

745755952fca3e5f0529f43724126c7275fe91f1 authored over 10 years ago by Paul McGuire <[email protected]>
Cleanup *.pyc files from examples dir; add Python 3.4 Windows installer

5ae16b154296cf30471f8e145b591f53caf84b17 authored over 10 years ago by Paul McGuire <[email protected]>
Added docstrings for new methods; added ending location for locatedExpr

326ab2303a9a0e78ee1c8bedae0862e6c5a4887f authored over 10 years ago by Paul McGuire <[email protected]>
Added ParseResults.pprint method

d6e299c73a89ec2c4dc19b359a92288464032e0d authored over 10 years ago by Paul McGuire <[email protected]>
Fixed markInputline bug; reverted some <<= to << changes to avoid local/nonlocal reference problems

66efeb5df07c90bbf4905f1cb4d36889aeca42a9 authored over 10 years ago by Paul McGuire <[email protected]>
- Expanded argument compatibility for classes and functions that take list arguments, to now accept generators as well.

- Extended list-like behavior of ParseResults, adding support for append and extend. NOTE: if you...

85c8ae8ff33ff008b844835a5520e19ba073d909 authored about 11 years ago by Paul McGuire <[email protected]>
Cleanup unit tests for cross 2.x/3.x Python compatibility

f41c7d803b72784f0e5ddcf271f05c05c52d9fdd authored about 11 years ago by Paul McGuire <[email protected]>
Added locatedExpr helper method

Removed deprecation of '<<' operator

36524ac30f1773700a0bb69394924138cd203592 authored about 11 years ago by Paul McGuire <[email protected]>
Remove old Py2/3 setup flag

Added copying of examples from SVN source, and cleanup any pycs that might by lying around

af2e049816f9139e6f23af6a52931aa0f755da6f authored about 11 years ago by Paul McGuire <[email protected]>
Move _expanded to inside soope of srange, since it is not used anywhere else

06dd93096e7a43169cc83db740a122da29f6f38d authored about 11 years ago by Paul McGuire <[email protected]>
Fix Python 2.x/3.x compatibility (now that Pyparsing 2.0.x includes Python 2.6+ compatibility) - also fix bug with expressions that consist solely of a single term with no operations; and reorg class hierarchy for better DRY

caeaf5fc631794b845897c848a2483823b33050a authored about 11 years ago by Paul McGuire <[email protected]>
Extended "expr(name)" shortcut (same as "expr.setResultsName(name)") to accept "expr()" as a shortcut for "expr.copy()".

2080377aa972f78c1a085d15925d744b6381ee59 authored about 11 years ago by Paul McGuire <[email protected]>
Minor cleanup before releasing 2.0.1

f997adf8c8930462f4d32c55838da8bb8c769dc3 authored over 11 years ago by Paul McGuire <[email protected]>
Prep release 2.0.1, to be compatible with Python 2.6 and 2.7, as well as Python 3.x versions.

Fix bug in <<= operator, added 'return self'.

e5068e4861660ea3e7d52918c259134b21e6b74e authored over 11 years ago by Paul McGuire <[email protected]>
Add latch to _trim_arity so that once the correct arg count has been found, future TypeErrors get correctly raised and don't continue to try updating the argcount

15374a9cd4cf51cddbb0d5dd3e748be515975b7c authored almost 12 years ago by Paul McGuire <[email protected]>
Fix minor bug in ErrorStop name/str

98cb3a32ffa39b70bc7cfdf5f11636a87f45ed17 authored almost 12 years ago by Paul McGuire <[email protected]>
Update unit tests to Python 3

86ec5482c05534f828b2b48ab2912b76ec5e434e authored almost 12 years ago by Paul McGuire <[email protected]>
Fix indent typo in _trim_arity

4fbb8ff0b466b3022a9c796fee177b88402f7fe8 authored almost 12 years ago by Paul McGuire <[email protected]>
Clean up examples to be Python 3 compatible

774e46526945ea91265734a2dc82d15eed515577 authored almost 12 years ago by Paul McGuire <[email protected]>
Fix updates to Python 3: trim_arity count up from 0 instead of down from 2; print as a function in debug routines; remove unnecessary list comprehensions

6b12041d4656f4cda910f24acda8d71013166fbd authored almost 12 years ago by Paul McGuire <[email protected]>
Update to v2.0.0, Python 3 compatible only

363149085f9a45cd191c173270ee5458b778146b authored almost 12 years ago by Paul McGuire <[email protected]>
Rename operatorPrecedence to infixNotation; add optional lpar and rpar arguments to infixNotation

ab2f220dd26ead73ce5bf496db85c07810e458f4 authored almost 12 years ago by Paul McGuire <[email protected]>
Rename operatorPrecedence to infixNotation; add optional lpar and rpar arguments to infixNotation

67f23ae076a44792fdd4cc90965484f97a367f09 authored almost 12 years ago by Paul McGuire <[email protected]>
Add notes for operatorPrecedence renaming to infixNotation, and adding optional lpar and rpar arguments

111c18a5316d78fcf7f1779931788519ee777699 authored almost 12 years ago by Paul McGuire <[email protected]>
Rename operatorPrecedence to infixNotation; add optional lpar and rpar arguments to infixNotation

5c2f0cf024e4d579f5e360721bba727bc546ae73 authored almost 12 years ago by Paul McGuire <[email protected]>
Add example files to SVN

a7f9dda0668bfce4fba51df1bf2976b4a93a8bd5 authored about 12 years ago by Paul McGuire <[email protected]>
Fix 'copy' statements to use backslashes

f5d2b716ffb57b65660a7ee0bbf04332dfb29620 authored about 12 years ago by Paul McGuire <[email protected]>
Changes for release 1.5.7

78baaf0a054310ca2b98d1d4327b82bbc5a03b29 authored about 12 years ago by Paul McGuire <[email protected]>
Update file structure

01c8c0dbc4d6d170973b88f8b6786537254bbdb6 authored about 12 years ago by Paul McGuire <[email protected]>
Create standard SVN structure

5b15d154d4a78250382ab7d0ea290c655a23e964 authored about 12 years ago by Paul McGuire <[email protected]>