Skip to main content

A Python interface to the ANU Quantum Random Numbers Server

Project description

This module provides a Python interface to The ANU Quantum Random Number Generator JSON API.

Usage

>>> import quantumrandom
>>> quantumrandom.get_data(data_type='uint16', array_length=1, block_size=1)
{u'data': [35817], u'length': u'1', u'type': u'uint16', u'success': True}

Valid data_type values are uint16 and hex16. The array_length cannot be larger than 100.

warning:

Due to the lack of an SSL/TLS interface at the moment, all data is sent over the wire in clear text.

Project details


Download files

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

Source Distribution

quantumrandom-1.0.tar.gz (2.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page