ion-python
ion-python copied to clipboard
A Python implementation of Amazon Ion.
Benchmark CLI `event based APIs` and `pure python implementation dump/load APIs' are same right now.
Currently ion-python-benchmark-cli `event based` APIs are basically `pure python implementation dump/load` APIs. So, below two commands are same. ``` python-benchmark-cli read --api event python-benchmark-cli read --api simple_ion --c-extension False ```...
Test file [bad/ivmInAnnotationWrapper.10n](https://github.com/amazon-ion/ion-tests/blob/master/iontestdata/bad/ivmInAnnotationWrapper.10n) failed with `pypy` but works on CPython. ``` ---------- test_basic[BAD - bad/ivmInAnnotationWrapper_10n ] p = @parametrize(*chain( _basic_params(_T.GOOD, _GOOD_SUBDIR), _basic_params(_T.GOOD, _GOOD_TIMESTAMP_SUBDIR), _basic_params(_T.BAD, _BAD_SUBDIR), _basic_params(_T.BAD, _BAD_TIMESTAMP_SUBDIR), _basic_params(_T.BAD, _BAD_UTF8_SUBDIR), ))...
Currently, the CI/CD for `pypy` fails due to a python intstr conversion issue. Need a fix since it will block all future PRs. example log, ``` ... ... amazon/ion/core.py:286: in...
We use `tracemalloc` to profile memory usage. However, it does not work with pypy because it’s closely tied to CPython internals. So Currently the tool does not generate memory related...
When loading a large decimal with the c-extension (which has a limited decimal size), if the decimal is too large the error thrown is not helpful: ``` >>> simpleion.loads('49.89999999999999857891452847979962825775146484375') Traceback...
There is currently no description for this package in pypi.
In another channel a user suggested adding additional conversion utilities, including the ability to convert an entire IonPyDict to a native dict type.
Refer to https://github.com/amzn/ion-python/pull/216 > The performance depends on the size of files we are going to read. On the one hand, if the file is really small but we maintain...
The issue was raised in https://github.com/amzn/ion-python/issues/208 Consider ``` obj = simple_types.IonPyTimestamp.fromisoformat("2022-07-01") str = simpleion.dumps(obj) ``` What should be the expected `str` value? It's `2022-07-01T00:00:00.000000-00:00` currently as C extension set precision...
See https://readthedocs.org/projects/ion-python/builds/ The latest successful build of the docs is from April 2021.