summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2018-02-27 00:21:01 +0200
committerYuval Adam <_@yuv.al>2018-02-27 00:22:05 +0200
commit2b0cb002346b25879406167927c841bb6abc3621 (patch)
tree55402f081be6f0cdc100ae36d46796ee51900b71 /README.rst
parent653af3af7bd4da4114a7d73ddac55deff5bcedc9 (diff)
Bump to v0.1.0v0.1.0
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst8
1 files changed, 4 insertions, 4 deletions
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