{ "info": { "author": "Mark Kaplan", "author_email": "markk2504@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Smart String\nSmart String is a Python 2.7 library to correctly parse code points (Unicode symbols with assigned \nnumeric value) in the Unicode basic multilingual plane (BMP) or in the supplementary multilingual \nplanes, and to form characters that consist of more than one code point. \n\n### Using the Smart String Library\nThe Smart String library exposes 3 main classes - `CodePoint`, `SmartChar`, and `SmartStr`. \nThe `CodePoint` class represents a single Unicode code point, either in the BMP or in the supplementary \nplanes. \nThe `SmartChar` class represents a single graphical character. It can consist of 1 code point (letter \nin the English Alphabet), or 2 code points (national flag symbol). \nThe `SmartStr` class represents a string containing a sequence of smart characters. \n\n### Running the example code\nGo to the location of the example file in a terminal and run the example script. \n`cd /smart_str/example` \n`python smart_str_example.py` \n\n### Running the tests\nTo run the tests make sure that the pytest package is installed on your system. \nGo to the location of the tests directory in a terminal and run the tests. You can run all the tests in \nthe tests directory, all the tests in a single module, or a single test in a module. \n`cd /smart_str/tests` \n`pytest .` - Run all the tests in the tests directory. \n`pytest test_code_point.py` - Run all the tests in a single module. \n`pytest test_code_point.py::test_code_point_utf_8_four_bytes` - Run single test in a module. \n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/markk2504/smart-string", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "smart-string", "package_url": "https://pypi.org/project/smart-string/", "platform": "", "project_url": "https://pypi.org/project/smart-string/", "project_urls": { "Homepage": "https://github.com/markk2504/smart-string" }, "release_url": "https://pypi.org/project/smart-string/0.0.10/", "requires_dist": [ "enum34" ], "requires_python": "==2.7.*", "summary": "Smart String implementation", "version": "0.0.10" }, "last_serial": 4276299, "releases": { "0.0.10": [ { "comment_text": "", "digests": { "md5": "7d9648da420706b9bc927344c7907bd7", "sha256": "055b883157a7ae61839473f18a4e98ff4708269c265af94a308db5dd7bd50c3c" }, "downloads": -1, "filename": "smart_string-0.0.10-py2-none-any.whl", "has_sig": false, "md5_digest": "7d9648da420706b9bc927344c7907bd7", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "==2.7.*", "size": 15235, "upload_time": "2018-09-16T10:48:28", "url": "https://files.pythonhosted.org/packages/ee/71/f7ba9d323a403a57544b6e149ce3f35ff7db6c1ada31fbda5ee7a2952bb3/smart_string-0.0.10-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "83b411de0b1234610d362bf2f6f083c8", "sha256": "5be1036a2568049181c53617dbccf0f7fb43c022eb403120ba653d6a2156918b" }, "downloads": -1, "filename": "smart-string-0.0.10.tar.gz", "has_sig": false, "md5_digest": "83b411de0b1234610d362bf2f6f083c8", "packagetype": "sdist", "python_version": "source", "requires_python": "==2.7.*", "size": 10809, "upload_time": "2018-09-16T10:48:29", "url": "https://files.pythonhosted.org/packages/95/9a/68eb959bd61faa8d2c820178892324ed52d05af4609e0f2a0f435e153dc7/smart-string-0.0.10.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "3d7ca10116a574c7ee0f6e171cb833fd", "sha256": "5a43df5fbf19c2ab8e5bdf21f3cff37e706a66d1b6dd949e465b08aeb5d798d2" }, "downloads": -1, "filename": "smart_string-0.0.8-py2-none-any.whl", "has_sig": false, "md5_digest": "3d7ca10116a574c7ee0f6e171cb833fd", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "==2.7.*", "size": 13806, "upload_time": "2018-09-04T11:25:53", "url": "https://files.pythonhosted.org/packages/4f/64/366d7166c5bf6a3538a1f4c662553d7a9d0a80365d73c1422a229234e483/smart_string-0.0.8-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7d9648da420706b9bc927344c7907bd7", "sha256": "055b883157a7ae61839473f18a4e98ff4708269c265af94a308db5dd7bd50c3c" }, "downloads": -1, "filename": "smart_string-0.0.10-py2-none-any.whl", "has_sig": false, "md5_digest": "7d9648da420706b9bc927344c7907bd7", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "==2.7.*", "size": 15235, "upload_time": "2018-09-16T10:48:28", "url": "https://files.pythonhosted.org/packages/ee/71/f7ba9d323a403a57544b6e149ce3f35ff7db6c1ada31fbda5ee7a2952bb3/smart_string-0.0.10-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "83b411de0b1234610d362bf2f6f083c8", "sha256": "5be1036a2568049181c53617dbccf0f7fb43c022eb403120ba653d6a2156918b" }, "downloads": -1, "filename": "smart-string-0.0.10.tar.gz", "has_sig": false, "md5_digest": "83b411de0b1234610d362bf2f6f083c8", "packagetype": "sdist", "python_version": "source", "requires_python": "==2.7.*", "size": 10809, "upload_time": "2018-09-16T10:48:29", "url": "https://files.pythonhosted.org/packages/95/9a/68eb959bd61faa8d2c820178892324ed52d05af4609e0f2a0f435e153dc7/smart-string-0.0.10.tar.gz" } ] }