{ "info": { "author": "Filip \u0160", "author_email": "projects@filips.si", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Education", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Mathematics", "Topic :: Scientific/Engineering :: Physics", "Topic :: Security :: Cryptography" ], "description": "HotBits Python API\n=========================\n\n[![Latest Version][icon-version]][link-pypi]\n[![Total Downloads][icon-downloads]][link-pypi]\n[![License][icon-license]][link-license]\n[![Build Status][icon-travis]][link-travis]\n\nPython API for HotBits random data generator.\n\n## Description\n\nThis project is random data generator. It uses is HotBits API web service for radioactively-generated random data.\n\nThe web service generates random data. Without API token, only pseudorandom data will be returned. For radioactively-generated random data, you would need to [request free API key][link-apikey].\n\n**The project is not part of the HotBits. It is just API client for it, made by community. For any information about HotBits, you should use [the official website][link-hotbits].**\n\n## Usage\n\nFirst, you need to import the generator class:\n\n```python\nfrom hotbits import RandomDataGenerator\n```\n\nThen you need to init the generator client, with default service URL:\n\n```python\ngenerator = RandomDataGenerator()\n```\n\nCustom URL can be changed with parameters:\n\n```python\ngenerator = RandomDataGenerator(custom_url='https://example.com')\n```\n\nYou can then generate data with specific length and API key:\n\n```python\nresult = generator.generate(\n length='256',\n apikey='exampleAPIkey'\n)\n```\n\nLength of 128 bytes is used by default. If no API key is specified, pseudorandom data will be returned.\n\nRandom data are returned as list:\n\n```python\nprint(result[0]) # First byte\nprint(result[1]) # Second byte\nprint(result[3]) # Third byte\n```\n\nYou can also look to [example file][link-example] for more examples.\n\n## Versioning\n\nThis library uses [SemVer][link-semver] for versioning. For the versions available, see [the tags][link-tags] on this repository.\n\n## License\n\nThis library is licensed under the GPLv3+ license. See the [LICENSE][link-license-file] file for details.\n\n[icon-version]: https://img.shields.io/pypi/v/hotbits.svg?style=flat-square&label=version\n[icon-downloads]: https://img.shields.io/pypi/dm/hotbits.svg?style=flat-square&label=downloads\n[icon-license]: https://img.shields.io/pypi/l/hotbits.svg?style=flat-square&label=license\n[icon-travis]: https://img.shields.io/travis/com/filips123/HotBitsPy.svg?style=flat-square&label=build+status\n\n[link-pypi]: https://pypi.org/project/hotbits/\n[link-license]: https://choosealicense.com/licenses/gpl-3.0/\n[link-semver]: https://semver.org/\n[link-travis]: https://travis-ci.com/filips123/HotBitsPy/\n\n[link-example]: https://github.com/filips123/HotBitsPy/blob/master/example.py\n[link-tags]: https://github.com/filips123/HotBitsPy/tags/\n[link-license-file]: https://github.com/filips123/HotBitsPy/blob/master/LICENSE\n\n[link-hotbits]: https://www.fourmilab.ch/hotbits/\n[link-apikey]: https://www.fourmilab.ch/hotbits/apikey_request.html\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/filips123/HotBitsPy/", "keywords": "random-generator,true-random,hotbits,api,generator", "license": "GPLv3+", "maintainer": "", "maintainer_email": "", "name": "hotbits", "package_url": "https://pypi.org/project/hotbits/", "platform": "", "project_url": "https://pypi.org/project/hotbits/", "project_urls": { "Homepage": "https://github.com/filips123/HotBitsPy/" }, "release_url": "https://pypi.org/project/hotbits/1.0.1/", "requires_dist": [ "pylint ; extra == 'lint'" ], "requires_python": ">= 3.4", "summary": "Python API for HotBits random data generator", "version": "1.0.1" }, "last_serial": 4874041, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "6fce6294e87943d2108d755f5dde4481", "sha256": "7787b0eeefe5a7aa80cb5ac85c540e0bc2bb821cea7a8641cab1d40a0aacd33c" }, "downloads": -1, "filename": "hotbits-1.0.0-py3.4.egg", "has_sig": false, "md5_digest": "6fce6294e87943d2108d755f5dde4481", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": ">= 3.4", "size": 6681, "upload_time": "2019-02-27T12:06:21", "url": "https://files.pythonhosted.org/packages/1e/a7/4d3cec3e39b9ae6275ddf1939453a2734cd8c92dcdd7d7268289032cb9b8/hotbits-1.0.0-py3.4.egg" }, { "comment_text": "", "digests": { "md5": "ecfcd3041c9f1bbfa2cfe0acee8bbe82", "sha256": "5d90f3791b0575d1d3190fddcc43bdc5c7079092ccbd027cf7a48d8e47c3d0df" }, "downloads": -1, "filename": "hotbits-1.0.0-py3.5.egg", "has_sig": false, "md5_digest": "ecfcd3041c9f1bbfa2cfe0acee8bbe82", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": ">= 3.4", "size": 6666, "upload_time": "2019-02-27T12:06:41", "url": "https://files.pythonhosted.org/packages/3e/0a/f08b821f850fff3a1fac9d95c8527214265e978abfe3987482f46190b6e9/hotbits-1.0.0-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "10e9c8338a855096ad9315d7a4a889c3", "sha256": "af50c14bc3ebf7721bfdfac9ec00901d647089c911b438bc578edbd1a09ea70e" }, "downloads": -1, "filename": "hotbits-1.0.0-py3.6.egg", "has_sig": false, "md5_digest": "10e9c8338a855096ad9315d7a4a889c3", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": ">= 3.4", "size": 6589, "upload_time": "2019-02-27T12:07:25", "url": "https://files.pythonhosted.org/packages/1d/b4/17858307712a303372d7cb1c76ed95f4aa3c196c473c4d612370a9e12c6b/hotbits-1.0.0-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "1df2240e3f3995d8976651448f5d2eca", "sha256": "4239cadb792b373d36080f0aeccec47bfeb6faed0d4466e37c94722f7cdfca3e" }, "downloads": -1, "filename": "hotbits-1.0.0-py3.7.egg", "has_sig": false, "md5_digest": "1df2240e3f3995d8976651448f5d2eca", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": ">= 3.4", "size": 6604, "upload_time": "2019-02-27T12:07:23", "url": "https://files.pythonhosted.org/packages/61/36/d6461bb528ce69632f4efa668ba6f51c51856822ca088611dd82843dca6b/hotbits-1.0.0-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "32768c6096c8c383690891831d9df4b3", "sha256": "9ec3e4dd14dc12a13f0f3adff05328c01662ff985d2846cb56d54e9c56509996" }, "downloads": -1, "filename": "hotbits-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "32768c6096c8c383690891831d9df4b3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">= 3.4", "size": 16570, "upload_time": "2019-02-27T12:06:20", "url": "https://files.pythonhosted.org/packages/0f/e8/e6e1a51037d2fda414acd3a7a177b0f1f89a94b66a79c32139367ccb4913/hotbits-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bfeae9ea2e8974f827fbd4e3c69ba702", "sha256": "72e38b425ed86db8886a5314df9306ab8f288d974d34c6934fd24e741a8f3299" }, "downloads": -1, "filename": "hotbits-1.0.0.tar.gz", "has_sig": false, "md5_digest": "bfeae9ea2e8974f827fbd4e3c69ba702", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.4", "size": 16045, "upload_time": "2019-02-12T17:49:44", "url": "https://files.pythonhosted.org/packages/23/4e/221a21645772c555f6f2359998be471023c4f76906681597469e118736c8/hotbits-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "b6f5873e8bfccc285aedca709ffe157c", "sha256": "f72c8b163605c4fe95cb1e7c0170f4065df7afa1f6cdb3c2570d44a01797b5eb" }, "downloads": -1, "filename": "hotbits-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b6f5873e8bfccc285aedca709ffe157c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">= 3.4", "size": 16568, "upload_time": "2019-02-27T12:50:27", "url": "https://files.pythonhosted.org/packages/f0/c6/d9fccdc6cadd449e8ae2704aa69f6fe90c4d9a60ce5621438ff834588992/hotbits-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a42b5ccaf04c4e3824be5c1fbb3d7fc0", "sha256": "9ed1f8f4d53415cbb3955df781f686b8e59f4ff84bdd0efb3d0b3b961e7d8f4e" }, "downloads": -1, "filename": "hotbits-1.0.1.tar.gz", "has_sig": false, "md5_digest": "a42b5ccaf04c4e3824be5c1fbb3d7fc0", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.4", "size": 16362, "upload_time": "2019-02-27T12:50:28", "url": "https://files.pythonhosted.org/packages/f6/e8/47c56742de12eb027f85b31438961c3a554c1803346b4d4be22da204822c/hotbits-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b6f5873e8bfccc285aedca709ffe157c", "sha256": "f72c8b163605c4fe95cb1e7c0170f4065df7afa1f6cdb3c2570d44a01797b5eb" }, "downloads": -1, "filename": "hotbits-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b6f5873e8bfccc285aedca709ffe157c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">= 3.4", "size": 16568, "upload_time": "2019-02-27T12:50:27", "url": "https://files.pythonhosted.org/packages/f0/c6/d9fccdc6cadd449e8ae2704aa69f6fe90c4d9a60ce5621438ff834588992/hotbits-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a42b5ccaf04c4e3824be5c1fbb3d7fc0", "sha256": "9ed1f8f4d53415cbb3955df781f686b8e59f4ff84bdd0efb3d0b3b961e7d8f4e" }, "downloads": -1, "filename": "hotbits-1.0.1.tar.gz", "has_sig": false, "md5_digest": "a42b5ccaf04c4e3824be5c1fbb3d7fc0", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.4", "size": 16362, "upload_time": "2019-02-27T12:50:28", "url": "https://files.pythonhosted.org/packages/f6/e8/47c56742de12eb027f85b31438961c3a554c1803346b4d4be22da204822c/hotbits-1.0.1.tar.gz" } ] }