{ "info": { "author": "sanbaispeaking", "author_email": "sanbaispeaking@outlook.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "# textconv\n\nA bulletproof way of converting a string to a byte string or a text string.\n\nAPIs are designed to encode or decode raise-free.\nIn most cases, input object will be either a text string (`str` type) or\na byte string (`bytes` type), and default encoding is `'utf-8'`.\n\nUsage:\n```python\nfrom textconv.text import to_text, to_bytes\n\n# To text string\ntext_string = to_text(b'caf\\xc3\\xa9')\n\n# To byte string\nbyte_string = to_bytes(u'caf\\xe9', encoding=\"latin-1\")\n\n# A raise-free version of `str(obj)`\n# if a non-string object is provided\ntext_string = to_text(obj)\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sanbaispeaking/textconv", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "textconv", "package_url": "https://pypi.org/project/textconv/", "platform": "", "project_url": "https://pypi.org/project/textconv/", "project_urls": { "Homepage": "https://github.com/sanbaispeaking/textconv" }, "release_url": "https://pypi.org/project/textconv/0.0.1/", "requires_dist": null, "requires_python": ">=3.0", "summary": "Convert a string to bytes type or str type", "version": "0.0.1", "yanked": false, "yanked_reason": null }, "last_serial": 6036337, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "4b06dfd15c9a2acc6839077ac1a3c276", "sha256": "4cdf495f093a6b5eb8b19f30610720579579ab588e2a82206b17156a8850b5bd" }, "downloads": -1, "filename": "textconv-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4b06dfd15c9a2acc6839077ac1a3c276", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.0", "size": 4936, "upload_time": "2019-10-27T09:37:55", "upload_time_iso_8601": "2019-10-27T09:37:55.167151Z", "url": "https://files.pythonhosted.org/packages/d7/09/ecea9d67d08e0ad5bc6a93f72f6174fe881ee28e90877f2533193dbe84a1/textconv-0.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "29b6ba68fb06894c8fc710330c59c9ba", "sha256": "12268a768096d4830b292b089d5d89eb97236ec3a278540dae45782006a3aa65" }, "downloads": -1, "filename": "textconv-0.0.1.tar.gz", "has_sig": false, "md5_digest": "29b6ba68fb06894c8fc710330c59c9ba", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.0", "size": 3305, "upload_time": "2019-10-27T09:37:57", "upload_time_iso_8601": "2019-10-27T09:37:57.636657Z", "url": "https://files.pythonhosted.org/packages/7c/75/69d49e397109fff133eb6fe813945915f77df02e2007ec4b688430ec41a8/textconv-0.0.1.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4b06dfd15c9a2acc6839077ac1a3c276", "sha256": "4cdf495f093a6b5eb8b19f30610720579579ab588e2a82206b17156a8850b5bd" }, "downloads": -1, "filename": "textconv-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4b06dfd15c9a2acc6839077ac1a3c276", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.0", "size": 4936, "upload_time": "2019-10-27T09:37:55", "upload_time_iso_8601": "2019-10-27T09:37:55.167151Z", "url": "https://files.pythonhosted.org/packages/d7/09/ecea9d67d08e0ad5bc6a93f72f6174fe881ee28e90877f2533193dbe84a1/textconv-0.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "29b6ba68fb06894c8fc710330c59c9ba", "sha256": "12268a768096d4830b292b089d5d89eb97236ec3a278540dae45782006a3aa65" }, "downloads": -1, "filename": "textconv-0.0.1.tar.gz", "has_sig": false, "md5_digest": "29b6ba68fb06894c8fc710330c59c9ba", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.0", "size": 3305, "upload_time": "2019-10-27T09:37:57", "upload_time_iso_8601": "2019-10-27T09:37:57.636657Z", "url": "https://files.pythonhosted.org/packages/7c/75/69d49e397109fff133eb6fe813945915f77df02e2007ec4b688430ec41a8/textconv-0.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }