https://github.com/bkocis/advance-your-python
Yet another repo with python coding concepts, and other python handy-dandys
https://github.com/bkocis/advance-your-python
oop python
Last synced: about 1 month ago
JSON representation
Yet another repo with python coding concepts, and other python handy-dandys
- Host: GitHub
- URL: https://github.com/bkocis/advance-your-python
- Owner: bkocis
- Created: 2017-10-23T06:18:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-04-13T16:00:34.000Z (about 1 year ago)
- Last Synced: 2025-04-23T05:12:57.044Z (about 1 year ago)
- Topics: oop, python
- Language: Jupyter Notebook
- Homepage: https://bkocis.github.io/advance-your-python
- Size: 139 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advance Your Python
A collection of Python tutorials and examples to help you advance your Python skills.
### Examples of some concepts in python, and other python handy-dandys
___
This repo is written in a style of a book, where code examples are given in a very pragmatic and simplistic manner.
The aim of this presentation is to offer a catalogue of examples of some of the most important concepts in python, and other python handy-dandys.
It is not meant to be a complete reference, but rather a quick reference for those who are already familiar with the basics of python.
The audience of this book is assumed to be for fellow data scientist, who are looking for a quick reference to some of the more advanced concepts in python gathered at one place, and in short.
Contents:
## Some topics of Object-oriented programming in python
The [classes_in_python](classes_in_python) directory contains comprehensive documentation and examples of different types of classes in Python.
The main documentation is available in [classes.md](classes_in_python/classes.md), which covers:
- Basic Classes and Instances
- Class Variables
- Class Methods
- Static Methods
- Inheritance
- Property Decorator
- Iterator Class
- [Types of classes](https://bkocis.github.io/advance-your-python/classes_in_python/classes)
- [class variables](https://bkocis.github.io/advance-your-python/classes_in_python/classes#Class_variables)
- [instance attributes](https://bkocis.github.io/advance-your-python/classes_in_python/classes#Classes_and_instances)
- [class methods](https://bkocis.github.io/advance-your-python/classes_in_python/classes#Classmethods)
- [static methods](https://bkocis.github.io/advance-your-python/classes_in_python/classes#Staticmethods)
- [dataclasses](https://bkocis.github.io/advance-your-python/classes_in_python/dataclasses)
- [abstract base classes](https://bkocis.github.io/advance-your-python/classes_in_python/abstract_classes)
- [inheritance](https://bkocis.github.io/advance-your-python/classes_in_python/classes#Inharitance)
- [polymorphism](https://bkocis.github.io/advance-your-python/classes_in_python/polymorphism)
- [encapsulation](https://bkocis.github.io/advance-your-python/classes_in_python/encapsulation)
- [magic methods](https://bkocis.github.io/advance-your-python/classes_in_python/magic_methods)
## Parallelization - Multiprocessing
The [examples_of_multiprocessing](examples_of_multiprocessing) directory contains examples and explanations of Python's multiprocessing capabilities.
The main documentation is available in [multiprocessing.md](examples_of_multiprocessing/multiprocessing.md), which covers:
- When to use multiprocessing vs multithreading
- Basic multiprocessing examples
- Advanced multiprocessing patterns
- Best practices and performance considerations
- [Examples of using multiprocessing](https://bkocis.github.io/advance-your-python/examples_of_multiprocessing/multiprocessing)
## Some example of functions
- [map](https://bkocis.github.io/advance-your-python/functions_and_their_usage/examples_of_functions#map)
## Generators
- [generators](https://bkocis.github.io/advance-your-python/generators)
## Closures and decorators
- [decorators](https://bkocis.github.io/advance-your-python/decorators)
- [context managers](https://bkocis.github.io/advance-your-python/context_managers)
## Some example of expressions
- [assignment expressions](https://bkocis.github.io/advance-your-python/expressions/python_expressions#Assignment_expressions)
## Some example of itertools
- [iterators](https://bkocis.github.io/advance-your-python/iterators)
---
Reading references:
[5-python-tricks](https://towardsdatascience.com/5-python-tricks-that-distinguish-senior-developers-from-juniors-826d57ab3940)
[How-to-level-up-by-learning-from-professionals](https://medium.com/towards-data-science/how-to-level-up-your-python-skills-by-learning-from-these-professionals-3e906b83f355)
[10-code-examples-AoC](https://medium.com/techtofreedom/10-remarkable-python-oop-tips-that-will-optimize-your-code-significantly-a47e4103b44d)
[comparing-list-comprehensions-vs-built-in-functions-in-python-which-is-better](https://towardsdatascience.com/comparing-list-comprehensions-vs-built-in-functions-in-python-which-is-better-1e2c9646fafe)
[should-you-use-getters-and-setters-in-python](https://python.plainenglish.io/should-you-use-getters-and-setters-in-python-d4db9a892878)
[Protocols-in-python](https://godatadriven.com/blog/protocols-in-python-why-you-need-them/)