Metadata-Version: 2.1
Name: universa
Version: 0.0.5
Summary: Python package to access Universa API from python.
Home-page: https://github.com/vkovrigin/universa
Author: Vadim Kovrigin
Author-email: kovrigin.dev@gmail.com
License: UNKNOWN
Description: 
        # Universa
        
        [![Build status](https://travis-ci.org/vkovrigin/universa.svg?master)](https://travis-ci.org/vkovrigin/universa)
        
        This is an under-construction official python package from [Universa](https://universa.io) to facilitate access to the Java library using Universa's UMI protocol.  
        
        ## Installation
        
        ### Prerequisites
        
        JVM v1.8.* must be installed.
        
        ### Installation
        
        ```bash
        pip install universa
        ```
        
        ## Usage
        
        ```python
        #!/usr/bin/env python3
        from universa.transport import transport
        from universa.types import PrivateKey, Contract, RevokePermission
        
        if __name__ == '__main__':
            print(transport.version())
        
            private_key = PrivateKey(size=2048)
            contract = Contract()
            short_address = private_key.public_key.short_address
            owner_role = contract.set_owner_addresses(short_address)
            revoke_permission = RevokePermission(owner_role)
            contract.add_permission(revoke_permission)
        ```
        
        ## Docs and resources
        
        For more information see:
        - [Universa Knowledge Base](https://kb.universa.io/)
        - [Universa Java API](https://kb.universa.io/general_java_api/5)
        - [Universa UMI server](https://kb.universa.io/umi_protocol/98)
        
        ## License
        
        The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
        
Keywords: Universa
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Description-Content-Type: text/markdown
Provides-Extra: dev
