Commit Graph

135 Commits

Author SHA1 Message Date
Jason R. Coombs
2c2ba47879 Add test for xml_bool and correct implementation, simplify by using json. 2016-09-04 11:23:22 -04:00
Jason R. Coombs
7d8cc32331 Merge with skeleton 2016-09-03 16:09:11 -04:00
Jason R. Coombs
0ca388e699 Allow pypy to fail. It's failing on Travis but not locally. 2016-09-03 15:38:21 -04:00
Jason R. Coombs
7bee559740 Rely on inheritance to handle errors in Result and Pod. 2016-09-03 15:36:52 -04:00
Jason R. Coombs
f0fc35c7c1 Simplify init in Result 2016-09-03 15:32:30 -04:00
Jason R. Coombs
5f86e5a1d6 Re-use always_iterable 2016-09-03 15:23:08 -04:00
Jason R. Coombs
c2ce282a51 Add notes in README about attributes exposed. 2016-09-03 15:03:02 -04:00
Jason R. Coombs
e1ae854faf Return iterables throughout for consistency. 2016-09-03 14:59:58 -04:00
Jason R. Coombs
1a4dc2fc62 Re-use more of the from_doc constructor and attribute type transformation in the Result object. Restore Pod.subpods through an alias property. 2016-09-03 14:56:06 -04:00
Jason R. Coombs
273cd73330 Move result after Pod 2016-09-03 14:40:07 -04:00
Jason R. Coombs
d4e3afe6b0 Use compose to generate the lists where expected 2016-09-03 14:38:10 -04:00
Jason R. Coombs
658183b56c Move from_doc to the Document class 2016-09-03 14:33:17 -04:00
Jason R. Coombs
5d697ade21 Fix test failure on Python 2 2016-09-03 14:31:29 -04:00
Jason R. Coombs
56d015694c Update docs and changelog to reflect the current state. 2016-09-03 14:30:36 -04:00
Jason R. Coombs
6112882d6b Remove installation instructions, as they're redundant for the guidance given by warehouse at https://pypi.org/project/wolframalpha. 2016-09-03 14:24:06 -04:00
Jason R. Coombs
8c05a4b376 Update changelog 2016-09-03 14:23:08 -04:00
Jason R. Coombs
9be618cd8c Now the various objects attributes are derived directly from the data with which they're initialized. 2016-09-03 14:21:06 -04:00
Jason R. Coombs
6abccdc728 Move Image (and Warning and Assumption) ahead of Subpod. 2016-09-03 14:13:10 -04:00
Jason R. Coombs
406967e8e1 Define subpod above pod 2016-09-03 13:54:36 -04:00
Jason R. Coombs
8ed3be43e1 models now derive from a dict (via Document), and store their content natively in self. 2016-09-03 13:43:13 -04:00
Jason R. Coombs
be0938dded Add test ensuring that the type of position is float 2016-09-03 13:32:16 -04:00
Jason R. Coombs
288b13db0f Rename node and tree to hidden _doc attributes 2016-09-03 12:57:40 -04:00
Jason R. Coombs
d4e09bb905 Convert on-object lists into properties. Add tests for these properties. 2016-09-03 12:49:33 -04:00
Jason R. Coombs
9115d23d83 Restore expectation that results can be an iterator. 2016-09-03 12:33:58 -04:00
Jason R. Coombs
7ab8e44695 Always use map from the future 2016-09-03 12:29:53 -04:00
Jason R. Coombs
946b5d1f4b Extend test to capture exactly one result with exactly one text. 2016-09-03 12:26:17 -04:00
Jason R. Coombs
14ba338b1e Restore prior expectation about Pod.text 2016-09-03 12:24:46 -04:00
Jason R. Coombs
b69b312692 urlencode requires a tuple and not an iterable. 2016-09-03 12:06:12 -04:00
Jason R. Coombs
029a0c4288 Remove key from the code. Each client must acquire their own key. 2016-09-03 12:01:16 -04:00
Jason R. Coombs
5452c877e9 Remove Mercurial metadata 2016-09-03 11:51:12 -04:00
Jason R. Coombs
412a04b16b Rely on presence of 'error' element to detect errors. 2016-09-03 11:50:15 -04:00
Jason R. Coombs
35cc9e035d Combine error handling 2016-09-03 11:49:01 -04:00
Jason R. Coombs
760a6a6a92 Normalize docstrings per PEP 257. 2016-09-03 11:20:52 -04:00
Jason R. Coombs
bee228a1d5 Provide an interface to supply multiple parameters (even with the same name) to the query. Renamed 'query' to 'input' for clarity and to align with the API. 2016-09-03 11:18:40 -04:00
Jason R. Coombs
788746c595 Allow other query parameters to be passed 2016-09-03 11:08:41 -04:00
Jason R. Coombs
e98b5d74ca Trim whitespace 2016-09-03 11:05:48 -04:00
Jason R. Coombs
43f656f296 Merge pull request #7 from Zenohm/master
Restructuring
2016-09-03 10:55:50 -04:00
Jason R. Coombs
d024388cac The name of the project need not be in the README 2016-08-15 09:51:41 -04:00
Jason R. Coombs
7edaa321de Update release process to use warehouse rather than legacy PyPI. Ref pypa/warehouse#1422. 2016-08-09 09:50:49 -04:00
Jason R. Coombs
dfb1a9424d Path is now .org 2016-08-08 14:49:32 -04:00
Jason R. Coombs
3f61a73b65 Also add pyversions 2016-08-03 10:13:55 -04:00
Jason R. Coombs
c8c034e688 Use shields.io, as some of these other providers seem to have gone out of business. 2016-08-03 10:07:15 -04:00
Jason R. Coombs
e2900e901e Change indentation to match that which the travis tool generates when adding the password. 2016-08-03 09:54:22 -04:00
Jason R. Coombs
efa552e7ee Add badges for PyPI, downloads, and Travis-CI. 2016-08-03 09:51:36 -04:00
Jason R. Coombs
b93b3a0348 Exclude the skeleton branch from testing 2016-05-24 12:21:58 -04:00
Isaac Smith
7d3453ec9a Grouped Pod and Subpod classes. 2016-05-14 20:19:16 -04:00
Isaac Smith
13c2f7700d Update CHANGES.rst 2016-05-14 20:12:18 -04:00
Isaac Smith
570998719b Fix unseen error.
Result of one of the previous changes. Almost didn't notice it.
2016-05-14 20:08:00 -04:00
Isaac Smith
1d8d2451bb Fix unseen error.
Praised be rubber ducky.
2016-05-14 20:00:16 -04:00
Isaac Smith
5675e1ec2c Nevermind.
Yeah, it'll break some stuff.
2016-05-14 19:33:27 -04:00