.. raw:: html
<h1 align="center">
<br>
<a href="https://www.pythonsheets.com"><img src="docs/_static/logo.svg" alt="pysheeet" width=200"></a>
</h1>
<p align="center">
<a href="https://travis-ci.org/crazyguitar/pysheeet">
<img src="https://travis-ci.org/crazyguitar/pysheeet.svg?branch=master" alt="Build Status">
</a>
<a href="https://coveralls.io/github/crazyguitar/pysheeet?branch=master">
<img src="https://coveralls.io/repos/github/crazyguitar/pysheeet/badge.svg?branch=master" alt="Coverage">
</a>
<a href="https://raw.githubusercontent.com/crazyguitar/pysheeet/master/LICENSE">
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License MIT">
</a>
</p>
Introduction
Pysheeet was created with intention of collecting python code snippets for
reducing coding hours and making life easier. Any contributions are welcome.
Please feel free to fork and send a pull request to this project.
What’s New In Python 3
This part only provides a quick glance at some important features in Python 3.
If you're interested in all of the most important features, please read the
official document, What’s New in Python <https://docs.python.org/3/whatsnew/index.html>
_.
New in Python3 <docs/notes/python-new-py3.rst>
_
Cheat Sheet
Code Style <docs/notes/python-code-style.rst>
_From Scratch <docs/notes/python-basic.rst>
_Future <docs/notes/python-future.rst>
_Unicode <docs/notes/python-unicode.rst>
_List <docs/notes/python-list.rst>
_Set <docs/notes/python-set.rst>
_Dictionary <docs/notes/python-dict.rst>
_Function <docs/notes/python-func.rst>
_Class <docs/notes/python-object.rst>
_Generator <docs/notes/python-generator.rst>
_Typing <docs/notes/python-typing.rst>
_File <docs/notes/python-io.rst>
_
Advanced Cheat Sheet
Regular expression <docs/notes/python-rexp.rst>
_Socket <docs/notes/python-socket.rst>
_Asyncio <docs/notes/python-asyncio.rst>
_Concurrency <docs/notes/python-concurrency.rst>
_Sqlalchemy <docs/notes/python-sqlalchemy.rst>
_Security <docs/notes/python-security.rst>
_SSH <docs/notes/python-ssh.rst>
_Boto3 <docs/notes/python-aws.rst>
_Tests <docs/notes/python-tests.rst>
_C Extensions <docs/notes/python-c-extensions.rst>
_
Appendix
Why does Decorator Need @wraps <docs/appendix/python-decorator.rst>
_Yet Another Introduction to Asyncio <docs/appendix/python-asyncio.rst>
_PEP 572 and the walrus operator <docs/appendix/python-walrus.rst>
_Python Interpreter in GNU Debugger <docs/appendix/python-gdb.rst>
_
PDF Version
pdf
_
.. _pdf: https://media.readthedocs.org/pdf/pysheeet/latest/pysheeet.pdf
How to run the server
.. code-block:: bash
$ virtualenv venv
$ . venv/bin/activate
$ pip install -r requirements.txt
$ make
$ python app.py
# URL: localhost:5000