python-bert
python-bert copied to clipboard
BERT serialization library for Python
Hi Samuel, I think that you haven't uploaded the last version of the lib to pypi (at least not what's on master). Encoding using pypi version I've a the error...
Hello Samuel, This PR makes sure that an object is not an Atom before converting it. This is required for some different implementation of Python like IronPython where `class Atom(str)`...
PyPI has version 2.1.0, yet it _does_ contain a reference to "basestring" (which has been removed by 7c0a6645d764a25057425eb4cb786e90566a7c90), thus making it incompatible with Python 3.
Unfortunately, `__version__` trick in `setup.py` breaks `bert` installation: ``` Downloading/unpacking erlastic>=1.0.0 (from foobar) Downloading erlastic-1.0.0.tar.gz Running setup.py egg_info for package erlastic Downloading/unpacking bert>=1.0.0 (from foobar) Downloading bert-1.0.0.tar.gz Running setup.py egg_info...