From 2b0cb002346b25879406167927c841bb6abc3621 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Tue, 27 Feb 2018 00:21:01 +0200 Subject: Bump to v0.1.0 --- README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 5f743e2..9df3217 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ .NET Viewstate Decoder ====================== -A small Python library for decoding .NET viewstate. Can be used in various scraping scenarios. +A small Python 3 library for decoding .NET viewstate. Can be used in various scraping scenarios. Usage ----- @@ -10,7 +10,7 @@ The Viewstate decoder accepts Base64 encoded .NET viewstate data and returns the 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) @@ -18,13 +18,13 @@ There are two main ways to use this package. First, it can be used as an importe 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 -- cgit v1.3.1