Metadata-Version: 1.1
Name: cchttpserver
Version: 0.6.0
Summary: http server for claimchain blocks
Home-page: https://cchttpserver.readthedocs.io
Author: UNKNOWN
Author-email: UNKNOWN
License: MIT license
Description: claimchain http block server
        ============================
        
        Simple http-server for "claimchain" blocks.  It uses Flask to serve HTTP GET and authenticated PUT requests.
        
        
        getting started
        ---------------
        
        - checkout the repository and edit ``config.py`` to sets users/passwords
          and to set the database directory.
        
        - run ``pip install -e .``
        
        - run ``python cchttpserver.py``
        
        Then open another terminal and open a python prompt with "python" and type something like::
        
            import requests
            requests.put("http://USER:PASSWORD@localhost:5000/key1", "data1")
            r = requests.get("http://localhost:5000/key1")
            assert r.status_code == 200
            requests.delete("http://USER:PASSWORD@localhost:5000/USER/")
            r = requests.get("http://localhost:5000/key1")
            assert r.status_code == 404
        
        
        
Platform: unix
Platform: linux
Platform: osx
Platform: cygwin
Platform: win32
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Topic :: Utilities
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
