Skip to main content JSON-RPC API implementation

Project description


PyPI version

Python implementation of the JSON-RPC API: generates true random numbers using a seed based on atmospheric radio noise. This is useful for applications where pseudo-random generators are not good enough, such as cryptography.


  • Implements all basic methods and signed methods
  • Downloads random data over a 4096-bit SSL connection
  • Respects advisory delay requests from the server
  • Has no external dependencies
  • Optional: Verifies signed data with, using SHA-512 hashes to ensure that it's legitimate


Example Usage

from randomapi import RandomJSONRPC

# Returns a list of 5 true random numbers between 0 and 10

random_client = RandomJSONRPC(api_key) # Requires a valid API key
nums = random_client.generate_integers(n=5, min=0, max=10).parse()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for randomapi, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size randomapi-0.3.2.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page