Commit Graph
100 Commits
Author SHA1 Message Date
Jason R. Coombs c66dc29876 Add tests for pmxbot command (and Result.results). 2016-09-04 11:41:18 -04:00
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. CoombsandGitHub 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
Jason R. Coombs bcd372031d Replace latent Bitbucket reference. 2016-04-29 10:48:12 -04:00
Jason R. Coombs 4dfb36ed22 Added tag 2.4 for changeset 877f5698c7e7 2016-04-29 10:35:06 -04:00
Jason R. Coombs d773062978 Add password for deployment 2016-04-29 10:12:34 -04:00
Jason R. Coombs 8c81096e91 Update changelog 2016-04-29 10:07:21 -04:00
Jason R. Coombs bf3ab00e18 Fix package name and description 2016-04-29 10:31:36 -04:00
Jason R. Coombs 4366902589 Merge with latest skeleton 2016-04-29 10:06:30 -04:00
Jason R. Coombs 29d9ebee01 Update comment to reflect the Github-backed skeleton model (preferred to the generation library-backed model). 2016-04-29 09:32:33 -04:00
Jason R. Coombs 6bb210af63 Merge pull request #6 from dgw/https-api
Switch to HTTPS API URL
2016-04-29 08:43:57 -04:00
Jason R. Coombs 04528bdf29 Move Python 3.5 condition to 'on' section 2016-04-16 15:22:52 +01:00
Jason R. Coombs 01e953bac9 Add support for linking to issues and adding datestamps to changelog entries. 2016-04-02 22:23:15 -04:00
Jason R. Coombs 58f71d1e2b Remove duplicate provider line 2016-04-02 22:03:05 -04:00
Jason R. Coombs 752b1096b8 Add PyPI deployment 2016-04-02 21:46:39 -04:00
Jason R. Coombs 40f63d7ff8 Added tag 2.3 for changeset 8e390f13f30a 2016-03-10 22:14:39 -05:00
Jason R. Coombs ac1789f815 Update changelog 2016-03-10 22:14:31 -05:00
Jason R. Coombs 65b649869b Derive description, url, and namespace_packages from name 2016-03-05 08:56:02 -05:00
Jason R. Coombs b5982a5472 Learning from lessons in the keyring 8.4 release (https://github.com/jaraco/keyring/issues/210), always clean the build artifacts before cutting a release. 2016-02-15 04:59:44 -05:00
Jason R. Coombs 9f142dd564 Added tag 2.2 for changeset 306d995b9d93 2016-01-23 09:41:47 -05:00
Jason R. Coombs 0aa45b748e Update changelog 2016-01-23 09:41:22 -05:00
Jason R. Coombs 86c5a3fcb6 Merge pull request #4 from Milek7/master
support for images
2016-01-23 08:50:15 -05:00
Jason R. Coombs 2269227321 Added tag 2.1 for changeset bf4915f3ec24 2016-01-18 17:03:14 -05:00
Jason R. Coombs cff8e08013 Use simpler syntax now supported by pmxbot. 2016-01-18 17:02:58 -05:00
Jason R. Coombs 21f4044ef1 Added tag 2.0 for changeset 06fa3ceb4662 2016-01-18 16:25:44 -05:00
Jason R. Coombs 1299a03618 Merge skeleton updates 2016-01-18 16:22:17 -05:00
Jason R. Coombs 648a4b5aac For tests, also disable the API key. This is the API key that was seeing high usage. 2016-01-18 16:21:00 -05:00
Jason R. Coombs 5fc802f6e7 Remove hard-coded API key from the library. 2016-01-18 16:07:31 -05:00
Jason R. Coombs 6d571b47f8 Update copyright 2016-01-01 09:03:11 -05:00
Jason R. Coombs 8277707492 Upon further reading, hg-git supports .gitignore, so omit .hgignore. 2016-01-01 08:35:39 -05:00
Jason R. Coombs 5782d0536e Add gitignore. Make .hgignore empty - there's nothing here that's project specific. 2016-01-01 08:30:19 -05:00
Jason R. Coombs 52df9f0ff9 Remove the package from the skeleton. It has no value. 2015-12-26 08:46:57 -05:00
Jason R. Coombs 5252514c87 Removing unwanted skeleton package 2015-12-25 22:41:59 -05:00
Jason R. Coombs 434c077887 Merge new repo-based skeleton 2015-12-19 22:45:12 -05:00
Jason R. Coombs cf3ba1c929 Rename text files to match skeleton 2015-12-19 22:41:28 -05:00
Jason R. Coombs 5ad18328e8 Generate project skeleton 2015-12-19 22:29:56 -05:00
Jason R. Coombs af9abc9712 Bypass tests on Python 2.7 when pmxbot is involved. 2015-12-11 12:35:36 -05:00
Jason R. Coombs 2338ab2e3e Add absolute import for compatibility with Python 2.7 (even though late pmxbot only runs on Python 3). 2015-12-11 12:17:55 -05:00
Jason R. Coombs 8b30f6c472 Added tag 1.4 for changeset eeef6cfb992f 2015-12-10 18:36:22 -05:00
Jason R. Coombs 32797a39bf Include pmxbot in test requirements to allow tests to pass. 2015-12-10 18:35:55 -05:00
Jason R. Coombs acdfbd6593 Add pmxbot command 2015-12-10 18:34:25 -05:00
Jason R. Coombs f7ccbc5a35 Work around old pytest version 2015-11-24 20:33:43 -05:00
Jason R. Coombs 97f296d2bf Add .travis.yml 2015-11-24 20:30:24 -05:00
Jason R. Coombs 4c9ff6af8c Added tag 1.3 for changeset 00a63ffafb39 2015-11-24 20:24:20 -05:00
Jason R. Coombs 611a6b95b9 Update changelog 2015-11-24 20:24:18 -05:00
Jason R. Coombs 9201cf2210 Move existing readme into canonical location 2015-11-24 20:23:25 -05:00
Jason R. Coombs 47905f6039 Update link to github hosting 2015-11-24 20:23:06 -05:00
Jason R. Coombs 358e482efe Merge with updated skeleton 2015-11-24 20:16:21 -05:00
Jason R. Coombs 2d2d59a984 Merge with project skeleton 2015-11-24 20:12:16 -05:00
Jason R. Coombs c848015a89 Update project skeleton 2015-11-24 20:10:37 -05:00
Jason R. Coombs 6a1d67bc8d Added tag 1.2 for changeset f2081524a7df 2014-06-08 11:04:01 +01:00
Jason R. Coombs f72ac2074d Use six for urllib compatibility 2014-06-08 11:02:14 +01:00
Jason R. Coombs 9dcc8f1124 Added tag 1.1 for changeset b3ef10a751ad 2014-06-08 11:01:01 +01:00
Jason R. Coombs db8b34e618 Flat better than nested 2014-06-08 11:00:14 +01:00
Jason R. Coombs 4831ebb427 Extract method 2014-06-08 10:59:50 +01:00
Jason R. Coombs ed0fa7c799 Don't hard-code the message. 2014-06-08 10:58:44 +01:00
Jason R. Coombs c3b3e69d5d Simple refactor 2014-06-08 10:56:42 +01:00