Brett Smith
c4561a0026
setup: Move test dependencies into tox configuration.
...
pytest-runner, and generally doing this through setuptools, is deprecated.
A little sad, but understandable. Handle tests in tox as recommended.
2021-03-31 16:15:36 -04:00
Brett Smith
85f1aa66a6
setup: Exclude tests from find packages.
2021-03-31 16:14:58 -04:00
Brett Smith
f3c5c92b49
setup: Remove low-value platforms metadata.
2021-03-31 16:14:45 -04:00
Brett Smith
09754b9788
setup: Convert to building with pyproject.toml.
2021-03-31 12:10:47 -04:00
Brett Smith
b0d5fe5aa8
setup: Specify dependency on PyYAML.
...
This should've always been here, it was an oversight.
2020-11-24 09:24:03 -05:00
Brett Smith
1b0740ad5d
cliquery: Dump individual objects as an array.
...
This provides nicer output when querying multiple objects in one run.
2020-11-24 09:22:59 -05:00
Brett Smith
86b8eddc2e
client: More specific return type for PayPalAPIClient.get_transaction().
2020-11-24 09:22:40 -05:00
Brett Smith
c625a57aad
README: Small improvements throughout.
2020-11-24 09:22:24 -05:00
Brett Smith
efaeb53e91
client: iter_transactions() supports date ranges longer than a month.
...
This works by extracting the date-crawling code from get_transaction() to a
separate method. Now iter_transactions() will similarly make API requests
with different month-long date ranges until covers the entire date range the
user requested.
2020-11-19 15:38:13 -05:00
Brett Smith
e7342c582e
client: Remove unused import.
2020-11-19 15:36:17 -05:00
Brett Smith
460624861d
setup: Add long_description from README.
2020-11-19 13:23:09 -05:00
Brett Smith
121f7f2f3d
setup: Packaging improvements for 1.0 release.
2020-11-19 12:02:48 -05:00
Brett Smith
2319df1066
doc: Initial README and CODE.
2020-11-19 12:01:21 -05:00
Brett Smith
e51be066d0
doc: Add docstrings throughout.
2020-11-19 12:00:14 -05:00
Brett Smith
0bd6353105
transaction: Unnamed cart items fall back to the transaction subject.
2020-11-18 16:56:15 -05:00
Brett Smith
23608de591
transaction: Make fee_amount() Optional.
...
Outgoing payments don't have a fee (PayPal takes their fee out on the
receiver's end).
2020-11-18 16:28:56 -05:00
Brett Smith
63497d18d4
transaction: KeyError messages include transaction ID when available.
...
This streamlines the debugging process for transactions that don't
follow the expected format.
2020-11-18 16:27:47 -05:00
Brett Smith
2ff353bebb
Initial commit.
...
This is enough code to start using the tool to debug itself,
so it's time to start committing individual bugfixes.
2020-11-18 15:57:38 -05:00