Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/crazyguitar/pysheeet

Python Cheat Sheet
https://github.com/crazyguitar/pysheeet

cheatsheet python python-2 python-3

Last synced: 10 days ago
JSON representation

Python Cheat Sheet

Awesome Lists containing this project

README

        

.. raw:: html




pysheeet




Build Status


Coverage


License MIT

Introduction
=============

Pysheeet was created with intention of collecting python code snippets for
reducing coding hours and making life easier and faster. 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 `_.

- `New in Python3 `_

Cheat Sheet
===========

- `Code Style `_
- `From Scratch `_
- `Future `_
- `Unicode `_
- `List `_
- `Set `_
- `Dictionary `_
- `Heap `_
- `Function `_
- `Class `_
- `Generator `_
- `Typing `_
- `Time `_
- `File `_
- `Operating System `_

Advanced Cheat Sheet
====================

- `Regular expression `_
- `Socket `_
- `Asyncio `_
- `Concurrency `_
- `Sqlalchemy `_
- `Security `_
- `SSH `_
- `Tests `_
- `C Extensions `_

Appendix
=========

- `Why does Decorator Need @wraps `_
- `A Hitchhikers Guide to Asynchronous Programming `_
- `Asyncio behind the Scenes `_
- `PEP 572 and the walrus operator `_
- `Python Interpreter in GNU Debugger `_

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