Metadata-Version: 2.1
Name: randomapi
Version: 0.3.1
Summary: RANDOM.org JSON-RPC API implementation
Home-page: https://github.com/Tantusar/randomapi
Author: Mitchell Cohen <mitch.cohen@me.com>
Author-email: mitch.cohen@me.com
Maintainer: Thomas Chick (twitter.com/Tantusar)
License: MIT License
Download-URL: https://github.com/Tantusar/randomapi/archive/v0.3.1.tar.gz
Description: randomapi
        =========
        
        [![PyPI version](https://badge.fury.io/py/randomapi.svg)](https://badge.fury.io/py/randomapi)
        
        Python implementation of the RANDOM.org JSON-RPC API:
        http://api.random.org/json-rpc/2/
        
        RANDOM.org 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.
        
        Features
        --------
        
        - 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 RANDOM.org, using SHA-512 hashes to ensure that it's legitimate
        
        Requirements
        ------------
        
        - Python 2.6 or higher, or 3.6 or higher
        - An API key from: http://api.random.org
        
        Example Usage
        -------------
        ```py
        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()
        ```
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, >=3.6
Description-Content-Type: text/markdown
