Skip to content

🐍 A cureated collection of python practices for various topics

License

Notifications You must be signed in to change notification settings

mingrammer/python-practices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



Python Practices

A curated collection of python practices for various topics




These may not be best practices, so you can contribute best one for each topics.

Issues and PRs are very welcome.

Table of Contents

This covers following topics with explanations and sample source codes.

Topics

  • list
  • tuple
  • set
  • dict
  • fronzenset
  • string
  • stack
  • queue
  • linked list
  • heap
  • tree
  • graph

Standard Library

  • abc
  • array
  • collections
  • ctypes
  • datetime
  • decimals
  • functools
  • future
  • itertools
  • math
  • os
  • pickle
  • queue
  • random

Meta Programming

  • metaclass

Design Patterns

  • singleton
  • factory
  • adapter
  • observer

Testing

  • unittest
  • pytest
  • doctest
  • coverage

Regex

  • basic
  • complex practices

Networking

  • http
  • tcp
  • udp
  • smtp
  • ftp
  • socket

Database

  • sqlite3
  • mysql
  • postgresql
  • redis
  • mongodb
  • orm
    • sqlalchemy
    • django orm

Data Handling

  • json
  • xml
  • base64
  • proto buffer

Data Processing

  • numpy
  • scipy

Concurrency

  • multiprocessing
  • multithreading
  • asyncio
  • celery

API Programming

  • restful api
  • graphql
  • rpc

Cryptography

  • sha
  • md5
  • hmac

Functional Programming

  • reactive python

CLI

  • simple cli
  • complex cli

C Extensions

  • linking C modules

Debugging

  • pdb

Profiling

  • benchmark

Easter Egg

Releases

No releases published

Packages

No packages published

Languages