Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

PyOTA v3.0.0-beta1 #322

Merged
merged 85 commits into from
Mar 20, 2020
Merged

PyOTA v3.0.0-beta1 #322

merged 85 commits into from
Mar 20, 2020

Conversation

lzpap
Copy link
Member

@lzpap lzpap commented Mar 20, 2020

What's new?

Tests

Documentation changes

lzpap added 30 commits January 27, 2020 11:36
add tests for `iter_used_addresses`
- httpx supports both sync and async
- Introduce 'AsyncStrictIota' and 'AsyncIota'
  for async API
- Refactor original API classes to rely on their
  async counterpart
- Make 'BaseCommand' async
- Make 'AttachToTangleCommand' async
- update tests for async
- Refactor `BroadCastBundleCommand` and update its tests
- Refactor `GetBundleCommand` and its update tests
- Refactor `TraverseBundleCommand` and update its tests

`get_bundles` fetches bundles concurrently, which speeds it up
if it is called with more than one argument.
- Updated tests for async
- `iter_used_addresses` becomes an async generator
- `get_bundles_from_transaction_hashes` ready for async
- Update `utils_test.py`
- Update tests for async
- Update tests for async
- Update tests for async
- Update tests for async
`Helpers` added `is_promotable` method (wrapper for checkConsistency)
to the api class, which is now implemented as a standalone API command,
see `IsPromotableCommand`.
- Update tests for async
- Update tests for async
- Update tests for async
- Update tests for async
- Update tests for async
- Update tests for async
- Update tests for async
- New class `AsyncMultisigIota`
- Original `MultisigIota` rebased on `AsyncMultisigIota`
- Updated multisig commands to work with async
- Updated test for async
lzpap and others added 26 commits February 27, 2020 17:27
…ion_hashes_tests

Add tests for `get_bundles_from_transactions_hashes` util method
- get_signature_validation_trytes() renamed to
  get_bundle_essence_trytes() fo clarity.
- Explanation of how transfers are created
- Two new figures on transfer creation and available
  API methods.
- 3 code examples to show the different ways of
  transaction creation.
docs: Add `Creating Transfers` section
Python 2 is no longer supported in PyOTA.
Remove glue code that made it possible to run the same
code on both versions, as it is no longer needed.

Changes:
 - Remove imports from `six` package
 - Remove imports from `__future__` package
 - Add some Py3 syntax
 - Remove encoding spec from files as PY3's default is utf-8
 - Update setup.py, simplify dependencies, include metadata
   in the built sdist and wheel about supported python version
 - Remove `noinspection` comments
- Remove type hints.
- Follow PEP-484 and PEP-8.
@lzpap lzpap changed the title Release/3.0.0b1 PyOTA v3.0.0-beta1 Mar 20, 2020
@lzpap lzpap merged commit a890a47 into iotaledger:master Mar 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants