Metadata-Version: 1.2
Name: viewstate
Version: 0.1.1
Summary: .NET viewstate decoder
Home-page: https://github.com/yuvadm/viewstate
Author: Yuval Adam
Author-email: _@yuv.al
License: MIT
Description-Content-Type: UNKNOWN
Description: .NET Viewstate Decoder
        ======================
        
        A small Python 3 library for decoding .NET viewstate. Can be used in various scraping scenarios.
        
        Usage
        -----
        
        The Viewstate decoder accepts Base64 encoded .NET viewstate data and returns the decoded output in the form of plain Python objects.
        
        There are two main ways to use this package. First, it can be used as an imported library with the following typical use case:
        
        .. code-block:: python
        
          from viewstate import ViewState
          vs = ViewState(base64EncodedViewState)
          decoded_state = vs.decode()
        
        It is also possible to feed the raw bytes directly:
        
        .. code-block:: python
        
          vs = ViewState(raw=b'\xff\x01....')
        
        Alternatively, the library can be used via command line by directly executing the module:
        
        .. code-block:: shell
        
          $ cat data.base64 | python -m viewstate
        
        Which will pretty-print the decoded data structure.
        
        Development
        -----------
        
        Unit test are run via ``pytest``
        
        References
        ----------
        
        - https://github.com/mutantzombie/JavaScript-ViewState-Parser
        - http://viewstatedecoder.azurewebsites.net/
        
        License
        -------
        MIT
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.5.0
