{ "info": { "author": "valbub, yury-khrustalev", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4" ], "description": "# python-radix\n\nPython-radix library\n====================\n\nThe library contains tools for conversion numbers to a new base. Current version works with radixes from 2 to 36.\n\nPython-radix usage examples\n---------------------------\nPython-radix has both procedural and object-oriented solutions.\n\n**Procedural way example**\n\n # to convert number 4 from base 10 to base 2\n\n cast(4, 10, 2)\n\n >>'100'\n\nYou can use both str and int types for the number you convert.\n\n**Object oriented way example**\n\n # create an object to convert numbers from one base to another (here it converts from base 10 to base 2)\n\n new = Converter(10, 2)\n\n new.convert(4)\n\n >>'100'\n\nThis will work too:\n\n new = Converter(10, 2)\n\n new.convert('4')\n\n >>'100'", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/valbub/python-radix", "keywords": "radix numbers", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "python-radix", "package_url": "https://pypi.org/project/python-radix/", "platform": "Any", "project_url": "https://pypi.org/project/python-radix/", "project_urls": { "Homepage": "https://github.com/valbub/python-radix" }, "release_url": "https://pypi.org/project/python-radix/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "A tool for conversion numbers from one base to another", "version": "0.1.1" }, "last_serial": 1768138, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7094a8c46d7835936cdfcfbd5ec23350", "sha256": "4abede09950da39760fce5f62652c2a60847268724291bceb4d2b96a9a7fb66f" }, "downloads": -1, "filename": "python_radix-0.1.0-py2.7.egg", "has_sig": false, "md5_digest": "7094a8c46d7835936cdfcfbd5ec23350", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 5962, "upload_time": "2015-09-03T06:23:38", "url": "https://files.pythonhosted.org/packages/6c/49/f910399ab81926f90f3bbd7d2f39ae35459061cc25b4edef872334dd2028/python_radix-0.1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "33841524c400c21cfe1cfc17cf3c95ec", "sha256": "b0c4a72697d8b00d3ec8efacb20259e9666decec1c01eeffbde555b5b7f27a91" }, "downloads": -1, "filename": "python_radix-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "33841524c400c21cfe1cfc17cf3c95ec", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4522, "upload_time": "2015-09-03T06:23:42", "url": "https://files.pythonhosted.org/packages/ce/d9/1808db4d427a4dba05b12211891d2da5826187353b4b2347380f693c4051/python_radix-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9459873eeb25a5bcf744d9433eb0451c", "sha256": "9f5745b5846c20187172691ba7919e1029958dd3c201fc7424af675f5286ff5c" }, "downloads": -1, "filename": "python-radix-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9459873eeb25a5bcf744d9433eb0451c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2076, "upload_time": "2015-09-03T06:23:35", "url": "https://files.pythonhosted.org/packages/1d/f7/b6f1287ebcfb051a0fa88b370bfa0b530866c0cbefa062566b681ee67756/python-radix-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "5964dd4ead4761392d0e315636b21b96", "sha256": "85c7119bebd19e5cf0475d60ebdfe3ef1bdc11690e8f3bef4c5894b2eee113a9" }, "downloads": -1, "filename": "python_radix-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5964dd4ead4761392d0e315636b21b96", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4524, "upload_time": "2015-10-14T09:49:32", "url": "https://files.pythonhosted.org/packages/f3/3b/301b2fae3f22d5aad5572a20b0316ca78ca74d171e39e44481801da88ee9/python_radix-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9f409eb78204a224afb63151a32d35f3", "sha256": "483b5ff239d2f58c128ab9d737cd2cf86b413bdf64c3c68dbfc699cab2a7eeea" }, "downloads": -1, "filename": "python-radix-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9f409eb78204a224afb63151a32d35f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2075, "upload_time": "2015-10-14T09:49:28", "url": "https://files.pythonhosted.org/packages/a0/ff/6f70f140aafbdd4a341ad259af925ea41e685ada27c71bca549433741cfc/python-radix-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5964dd4ead4761392d0e315636b21b96", "sha256": "85c7119bebd19e5cf0475d60ebdfe3ef1bdc11690e8f3bef4c5894b2eee113a9" }, "downloads": -1, "filename": "python_radix-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5964dd4ead4761392d0e315636b21b96", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4524, "upload_time": "2015-10-14T09:49:32", "url": "https://files.pythonhosted.org/packages/f3/3b/301b2fae3f22d5aad5572a20b0316ca78ca74d171e39e44481801da88ee9/python_radix-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9f409eb78204a224afb63151a32d35f3", "sha256": "483b5ff239d2f58c128ab9d737cd2cf86b413bdf64c3c68dbfc699cab2a7eeea" }, "downloads": -1, "filename": "python-radix-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9f409eb78204a224afb63151a32d35f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2075, "upload_time": "2015-10-14T09:49:28", "url": "https://files.pythonhosted.org/packages/a0/ff/6f70f140aafbdd4a341ad259af925ea41e685ada27c71bca549433741cfc/python-radix-0.1.1.tar.gz" } ] }