{"id":15356685,"url":"https://github.com/filips123/hotbitspy","last_synced_at":"2025-10-20T09:44:43.320Z","repository":{"id":62569450,"uuid":"170343853","full_name":"filips123/HotBitsPy","owner":"filips123","description":"Python API for HotBits random data generator","archived":false,"fork":false,"pushed_at":"2019-12-14T12:49:03.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-31T18:41:19.316Z","etag":null,"topics":["api","generator","hotbits","python","random-generator","true-random"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/filips123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"tidelift":"pypi/hotbits","open_collective":"filips123","patreon":"filips","ko_fi":"filips","liberapay":"filips","custom":["https://donorbox.org/filips","https://buymeacoff.ee/filips","https://beerpay.io/filips123","https://tippin.me/@123filips123"]}},"created_at":"2019-02-12T15:41:05.000Z","updated_at":"2024-07-10T17:16:02.000Z","dependencies_parsed_at":"2022-11-03T17:15:25.444Z","dependency_job_id":null,"html_url":"https://github.com/filips123/HotBitsPy","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/filips123/HotBitsPy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filips123%2FHotBitsPy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filips123%2FHotBitsPy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filips123%2FHotBitsPy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filips123%2FHotBitsPy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filips123","download_url":"https://codeload.github.com/filips123/HotBitsPy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filips123%2FHotBitsPy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268424873,"owners_count":24248266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","generator","hotbits","python","random-generator","true-random"],"created_at":"2024-10-01T12:29:36.794Z","updated_at":"2025-10-20T09:44:38.277Z","avatar_url":"https://github.com/filips123.png","language":"Python","funding_links":["https://tidelift.com/funding/github/pypi/hotbits","https://opencollective.com/filips123","https://patreon.com/filips","https://ko-fi.com/filips","https://liberapay.com/filips","https://donorbox.org/filips","https://buymeacoff.ee/filips","https://beerpay.io/filips123","https://tippin.me/@123filips123"],"categories":[],"sub_categories":[],"readme":"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\u0026label=version\n[icon-downloads]: https://img.shields.io/pypi/dm/hotbits.svg?style=flat-square\u0026label=downloads\n[icon-license]: https://img.shields.io/pypi/l/hotbits.svg?style=flat-square\u0026label=license\n[icon-travis]: https://img.shields.io/travis/com/filips123/HotBitsPy.svg?style=flat-square\u0026label=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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilips123%2Fhotbitspy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilips123%2Fhotbitspy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilips123%2Fhotbitspy/lists"}