summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2018-02-19 15:02:33 +0100
committerYuval Adam <_@yuv.al>2018-02-19 15:02:33 +0100
commit64f84aa1b4bf604835406577e994556e72fd76c9 (patch)
tree34ecdcd1b5d1e9ad63911211a95ce1fd20a8ebfd
parentc4c6b4e7c17e5b96d86828a3bc809a1c6c9559df (diff)
Initial README change and LICENSE
-rw-r--r--LICENSE.txt21
-rw-r--r--README.rst (renamed from README.md)16
2 files changed, 31 insertions, 6 deletions
diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644
index 0000000..3d3c2fa
--- /dev/null
+++ b/LICENSE.txt
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2018 Yuval Adam
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.rst
index 6d2b76b..ce0fa1d 100644
--- a/README.md
+++ b/README.rst
@@ -1,21 +1,25 @@
-# .NET Viewstate Decoder
+.NET Viewstate Decoder
+======================
A small Python library for decoding .NET viewstate. Can be used in various scraping scenarios.
-## Usage
+Usage
+-----
```python
from viewstate import ViewState
vs = ViewState(base64EncodedViewState)
```
-## Test
+Test
+----
```python
python test.py
```
-## References
+References
+----------
- - https://github.com/mutantzombie/JavaScript-ViewState-Parser
- - http://viewstatedecoder.azurewebsites.net/
+- https://github.com/mutantzombie/JavaScript-ViewState-Parser
+- http://viewstatedecoder.azurewebsites.net/