python-quantumrandomA Python interface to the ANU Quantum Random Numbers Server | |
Download |
python-quantumrandom Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- Luke Macken
- Publisher web site:
- http://csh.rit.edu
python-quantumrandom Tags
python-quantumrandom Description
quantumrandom is a Python module that provides a Python interface to The ANU Quantum Random Number Generator JSON API.Usage>>> import quantumrandom>>> quantumrandom.get_data()>>> quantumrandom.get_data(data_type='uint16', array_length=5)>>> quantumrandom.get_data(data_type='hex16', array_length=5, block_size=2)Valid data_type values are uint16 and hex16, and the array_length and block_size cannot be larger than 100. If for some reason the API call is not successful, or the incorrect amount of data is returned from the server, this function will raise an exception.Warning: Due to the lack of an SSL/TLS interface at the moment, all data is sent over the wire in clear text.Product's homepage
python-quantumrandom Related Software