Metadata-Version: 1.1
Name: factordb-pycli
Version: 0.0.3
Summary: The FactorDB CLI
Home-page: https://github.com/ryo-san470/factordb-pycli
Author: Ryosuke SATO (@ryo-san470)
Author-email: rskjtwp@gmail.com
License: MIT License
Description: FactorDB CLI (and Python library)
        =================================
        
        |Travis|
        
        The `FactorDB`_ is the database to store known factorizations for any
        number. This tool can use on your command line. And also you can use
        this tool with python 2 & 3 scripts.
        
        Basic Usage
        -----------
        
        CLI
        ~~~
        
        If you want to know the result of factorization of 16, you should type
        like this:
        
        .. code:: bash
        
            $ factordb 16
        
        Then, you can get the answer from factordb.com.
        
        .. code:: bash
        
            $ factordb 16
            2 2 2 2
        
        If you want to know more detail of result, you can get an answer of JSON
        format.
        
        .. code:: bash
        
            $ factordb --json 16
            {"id": "https://factordb.com/?id=2", "status": "FF", "factors": [2, 2, 2, 2]}
        
        Library usage
        ~~~~~~~~~~~~~
        
        If you want to use this script with Python, you should type ``import``
        statement on your code like this:
        
        ::
        
            import factordb
            # or
            from factordb import FactorDB
        
        Then, you can get the answer with Python lists.
        
        ::
        
            In [1]: from factordb import FactorDB
        
            In [2]: f = FactorDB(16)
        
            In [3]: f.get_factor_list()
            Out[3]: [2, 2, 2, 2]
        
        License
        =======
        
        MIT
        
        .. _FactorDB: https://factordb.com
        
        .. |Travis| image:: https://img.shields.io/travis/ryo-san470/factordb-pycli.svg?style=flat-square
           :target: 
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Utilities
