Skip to content

Commit d7c935b

Browse files
authored
Update README.rst
1 parent 178c3a8 commit d7c935b

1 file changed

Lines changed: 29 additions & 8 deletions

File tree

‎README.rst‎

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,31 @@
11
python-proxy
2-
===========
2+
============
3+
4+
|made-with-python| |PyPI version fury.io| |PyPI license| |HitCount| |GitHub stars|
5+
6+
.. |made-with-python| image:: https://img.shields.io/badge/Made%20with-Python-1f425f.svg
7+
:target: https://www.python.org/
8+
.. |PyPI version fury.io| image:: https://badge.fury.io/py/ansicolortags.svg
9+
:target: https://pypi.python.org/pypi/pproxy/
10+
.. |PyPI license| image:: https://img.shields.io/pypi/l/ansicolortags.svg
11+
:target: https://pypi.python.org/pypi/pproxy/
12+
.. |HitCount| image:: http://hits.dwyl.io/qwj/badges.svg
13+
:target: http://hits.dwyl.io/qwj/badges
14+
.. |GitHub stars| image:: https://img.shields.io/github/stars/qwj/python-proxy.svg?style=social&label=Star&maxAge=2592000
15+
:target: https://github.com/qwj/python-proxy/stargazers/
316

417
HTTP/Socks/Shadowsocks/ShadowsocksR/Redirect asynchronous tunnel proxy implemented in Python3 asyncio.
518

19+
QuickStart
20+
----------
21+
22+
| $ pip3 install pproxy
23+
| $ pproxy
24+
| Serving on :8080 by http,socks
25+
|
26+
627
Features
7-
-----------
28+
--------
829

930
- Single-thread asynchronous IO with high availability and scalability.
1031
- Lightweight (~500 lines) and powerful by leveraging python builtin *asyncio* library.
@@ -26,7 +47,7 @@ Features
2647
.. _One-Time-Auth: https://shadowsocks.org/en/spec/one-time-auth.html
2748

2849
Python3
29-
-----------
50+
-------
3051

3152
*Python 3.5* added new syntax **async def** and **await** to make asyncio programming easier. *Python 3.6* added new syntax **formatted string literals**. This tool was to demonstrate these new syntax, so the minimal Python requirement was **3.6**.
3253

@@ -35,12 +56,12 @@ From **pproxy** 1.1.0, the minimal Python requirement is **3.3**, since old pyth
3556
From **proxy** 1.3.0, the minimal Python requirement is **3.6**, since **Python 3.7** make the **async**/**await**/ reserved words, we cannot make pproxy compatible with old versions anymore.
3657

3758
Installation
38-
-----------
59+
------------
3960

4061
| $ pip3 install pproxy
4162
4263
PyPy3
43-
-----------
64+
-----
4465

4566
| $ pypy3 -m ensurepip
4667
| $ pypy3 -m pip install asyncio pproxy
@@ -63,7 +84,7 @@ These are some performance comparisons between Python ciphers and C ciphers (pro
6384
.. _PyPy: http://pypy.org
6485

6586
Usage
66-
-----------
87+
-----
6788

6889
$ pproxy -h
6990
usage: pproxy [-h] [-i LISTEN] [-r RSERVER] [-b BLOCK] [-v] [--ssl SSLFILE] [--pac PAC] [--get GETS] [--version]
@@ -85,7 +106,7 @@ Usage
85106
Online help: <https://github.com/qwj/python-proxy>
86107

87108
URI Syntax
88-
-----------
109+
----------
89110

90111
{scheme}://[{cipher}@]{netloc}/[@{localbind}][,{plugins}][?{rules}][#{auth}]
91112

@@ -193,7 +214,7 @@ URI Syntax
193214
- The username, colon ':', and the password
194215

195216
Examples
196-
-----------
217+
--------
197218

198219
We can define file "rules" as follow:
199220

0 commit comments

Comments
 (0)