aboutsummaryrefslogtreecommitdiffstats
path: root/python-packages
Commit message (Collapse)AuthorAgeFilesLines
* Update prettier to version ^1.15.3Alex Browne2019-01-112-37/+37
|
* Merge developmentLeonid Logvinov2019-01-10158-142/+8753
|\
| * Clean up docs before publishF. Eugene Aumson2019-01-105-20/+69
| |
| * In README's, don't mention non-existent tests (#1497)F. Eugene Aumson2019-01-103-15/+1
| |
| * Python contract demo, with lots of refactoring (#1485)F. Eugene Aumson2019-01-09132-117/+8223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refine Order for Web3 compat. & add conversions Changed some of the fields in the Order class so that it can be passed to our contracts via Web3. Added conversion utilities so that an Order can be easily converted to and from a JSON-compatible dict (specifically by encoding/decoding the `bytes` fields), to facilitate validation against the JSON schema. Also modified JSON order schema to accept integers in addition to stringified integers. * Fixes for json_schemas Has-types indicator file, py.typed, was not being included in package. Schemas were not being properly gathered into package installation. * Add test/demo of Exchange.getOrderInfo() * web3 bug workaround * Fix problem packaging contract artifacts * Move contract addresses to their own package * Move contract artifacts to their own package * Add scripts to install, test & lint all components * prettierignore files in local python dev env * Correct missing coverage analysis for sra_client * CI cache lint: don't save, re-use from test-python * tag hacks as hacks * correct merge mistake * remove local strip_0x() in favor of eth_utils * remove json schemas from old order_utils location * correct merge mistake * doctest json schemas via command-line, not code
| * Merge pull request #1439 from 0xProject/migrations/docker-imageJacob Evans2019-01-091-7/+1
| |\ | | | | | | Add Docker image and Snapshot commands for migrations
| | * chore(python-packages): Change docker command in setup.pyJacob Evans2019-01-021-7/+1
| | |
| * | Move json_schemas to its own package (#1435)F. Eugene Aumson2019-01-0930-28/+504
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move zero_ex.json_schemas to its own package * Support ALL the schemas * Stop installing packages as editable * HACK: cp files because CircleCI isn't * Add example usage to sra_client README * Tweak special case: only strip Schema as suffix * Correct doc titles * Clarify what kind of support ticket was raised. * Correct inconsistencies in JSON schema names In both ref ID's and file names. * Add entry point for validation of JSON strings
| | * | Add entry point for validation of JSON stringsF. Eugene Aumson2018-12-291-0/+22
| | | |
| | * | Correct inconsistencies in JSON schema namesF. Eugene Aumson2018-12-291-19/+3
| | | | | | | | | | | | | | | | In both ref ID's and file names.
| | * | Correct doc titlesF. Eugene Aumson2018-12-152-3/+3
| | | |
| | * | Tweak special case: only strip Schema as suffixF. Eugene Aumson2018-12-151-1/+3
| | | |
| | * | Add example usage to sra_client READMEF. Eugene Aumson2018-12-151-0/+29
| | | |
| | * | Support ALL the schemasF. Eugene Aumson2018-12-153-20/+23
| | | |
| | * | Move zero_ex.json_schemas to its own packageF. Eugene Aumson2018-12-1528-7/+443
| | |/
* | / Refactor out sol-cov, sol-profiler and sol-trace into their separate packagesLeonid Logvinov2019-01-081-1/+1
|/ /
* / feat(sra_client.py): Test deployed pkg via toxF. Eugene Aumson2018-12-201-0/+14
|/
* feat(sra_client.py)F. Eugene Aumson2018-12-1249-0/+6846
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Code generation scripts * Generated code * Change test config to hit 0x-launch-kit * Ran prettier on generated code * First test case, of get_asset_pairs() * Use launch kit docker image to faciliate CI tests * Fix markdown rendering for GitHub and PyPI * Add URL for PyPI to link back to GitHub * Add one-line package description to README.md * Remove git_push.sh * Remove unimplemented tests * Add sra_client to top-level README package list * Remove repeated-everywhere long description * Add shorcuts for publishing * Remove TypeScript examples
* fix(order_utils.py): Remove stale commentF. Eugene Aumson2018-12-121-2/+0
|
* feat(order_utils.py): schema resolver cache (#1317)Daniel Pyrathon2018-12-014-38/+81
| | | | | * Implemented basic functionality for using cache layer of LocalRefResolver * Use `importlib` instead of `imp`, since it's been deprecated. Legacy `load_module()` reloads modules even if they are already imported, causing tests to fail when run in non-deterministic ordering, so we replace it with `import_module()`
* fix(order_utils.py): unpin pylint version (#1337)F. Eugene Aumson2018-11-281-2/+1
| | | | The version was pinned in order to work around a bug in pylint. That bug has been fixed and released.
* fix(order_utils.py): work aroud pylint bug (#1322)F. Eugene Aumson2018-11-261-1/+2
|
* fix(order_utils.py): publish docs to S3, not RTD (#1264)F. Eugene Aumson2018-11-173-2/+29
| | | | | Publishing to readthedocs.io (RTD) wasn't working, for various reasons. Changed to publish docs to S3.
* fix(order_utils.py): lazy load contract artifacts (#1262)F. Eugene Aumson2018-11-151-8/+21
|
* fix(order_utils.py): validate order w/json schema (#1260)F. Eugene Aumson2018-11-158-61/+130
|
* feat(order_utils.py): sign_hash() (#1254)F. Eugene Aumson2018-11-1414-110/+286
| | | | | | | Also moved is_valid_signature() into main package module, for simplicity. Also consolidated a handul of in-line pylint disable directives into the .pylintrc config file.
* feat(order_utils.py) generate_order_hash_hex() (#1234)F. Eugene Aumson2018-11-146-20/+185
|
* [order_utils.py] is_signature_valid, via Exchange contract (#1216)F. Eugene Aumson2018-11-0817-33/+323
| | | | First support for signature validation, done via Exchange contract's isValidSignature() method.
* feat(order_utils.py): ERC721 asset data codec (#1186)F. Eugene Aumson2018-10-275-6/+131
|
* fix(order_utils.py): tweaks for first publish (#1185)F. Eugene Aumson2018-10-279-17/+129
|
* feat(order_utils.py): ERC20 asset data encoding and decodingF. Eugene Aumson2018-10-2421-37/+378
| | | | | | | | | | In addition to the ERC20 codec, also: Stopped ignoring type errors on 3rd party imports, by including interface stubs for them; Removed the unimplemented signature-utils module, which was just a stand-in when the python project support was first put in place. https://github.com/0xProject/0x-monorepo/pull/1144
* fix: linterF. Eugene Aumson2018-10-131-1/+1
|
* fix: use python's extsplit, not manual splicingF. Eugene Aumson2018-10-131-1/+2
|
* feat: project stub for python order utilitiesF. Eugene Aumson2018-10-1312-0/+262
An empty project, with respect to functionality, but one configured with a test framework, linters, CI integration, etc. https://app.asana.com/0/836857747873847/839549782781239/f