Python

Web Frameworks

Web Scraping / Crawling

Some Relevant Portions of the Python Standard Library

  • array
  • bisect – manipulate sorted lists
  • collections – additional data types
  • configparser
  • csv
  • datetime
  • difflib
  • doctest – for running tests embedded in docstrings
  • email
  • heapq
  • html
  • itertools – efficient iterators
  • json
  • logging
  • math – tools for random, statistics, floating point math
  • os
    • os.path
  • pathlib
  • pdb – Python Debugger
  • pickle – object serialization
  • pprint – for pretty printing
  • pydoc – documentation generation
  • pytest
  • random – generate pseudo-random numbers
  • re – for regular expressions
  • sched – event scheduler
  • smtpd
  • sqlite3
  • statistics
  • string
  • sys
  • sysconfig
  • typing – Allows type hinting
  • unittest
  • urllib
  • venv – Virtual Environments

Stuff I Use

Stuff I May Use But Haven’t Yet

  • Ansible – IT automation platform.
  • buildbot – Continuous Integration testing framework.
  • Eve – REST API framework.
  • Gooey – Create GUI app automatically for CLI apps.
  • graphene – GraphQL framework.
  • gspread – Google Sheets Python API.
  • Keras – Deep Learning Library, can run on top of TensorFlow, CNTK, Theano.
  • Kivy – Cross-platform (including mobile) UI framework.
  • pandas – Data analysis / manipulation.
  • pyinstaller – Create stand-alone executables.
  • Python Fire – Auto generates CLIs for Python objects.
  • PyYAML
  • q – Run SQL against CSV/TSV files.
  • Scikit-Learn – Machine Learning.
  • schedule – Job scheduling.
  • Spacy – NLP
  • SQLAlchemy – SQL Toolkit and ORM.
  • SQL for Humans by Kenneth Reitz.
  • TextBlob – Text Processing, including sentiment analysis.

Software Made in Python

For a much more comprehensive list see Awesome Python Applications.

My Quick Reference

  • Control Flow
    • if…elif…else
    • while
    • for
    • range()
    • break/continue
    • pass
  • Functions
  • Data Structures
    • Built-In
      • dict
      • list
      • set
      • tuple
    • Lists
      • Stacks
      • Queues
      • Comprehensions
      • Nested Comprehensions
      • del
    • Tuples
    • Sequences
    • Sets
    • Dictionaries
    • Looping
  • Modules
  • Input and Output
  • Errors and Exceptions
  • Classes
    • Generators

Control Flow