Certificate of Completion - Python 3: Deep Dive (Part 4 – OOP)

I earned a Certificate of Completion that verifies that I successfully completed the intermediate to advance “Python 3: Deep Dive (Part 4 – OOP)” course on 05/08/2023 as taught by instructor Dr. Fred Baptiste at Udemy Academy. Dr. Fred Baptiste is a Professional Developer and Mathematician. The certificate indicates the entire course was completed as validated by the student. The course duration represents the total video hours of the course at the time of most recent completion. Length of the course is 36.5 total hours. This course is an in-depth look at Object-Oriented Programming (OOP) in Python. In this course, I learned about: • What are classes and instances • Class data and function attributes • Properties • Instance, class, and static methods • Polymorphism and the role special functions play in this • Single inheritance • Slots • The descriptor protocol and its relationship to properties and functions • Enumerations • Exceptions • Metaprogramming (including metaclasses) o Completed 6 capstone projects and tested them using pytest and CI. You can find this course at https://www.udemy.com/course/python-3-deep-dive-part-4/

LBYL vs EAFP: Preventing or Handling Errors in Python

I completed the intermediate-level tutorial “LBYL vs EAFP: Preventing or Handling Errors in Python” taught by Leodanis Pozo Pamos at Real Python. In this tutorial, I learned about: o Errors and Exceptional Situations: Preventing or Handling Them? o The “Look Before You Leap” (LBYL) Style o The “Easier to Ask Forgiveness Than Permission” (EAFP) Style o The Pythonic Way to Go: LBYL or EAFP? o The LBYL and EAFP Coding Styles in Python • Avoiding Unnecessary Check Repetition • Improving Readability and Clarity • Avoiding Race Conditions • Improving Your Code’s Performance o Common Gotchas With LBYL and EAFP o EAFP vs LBYL With Examples • Dealing With Too Many Errors or Exceptional Situations • Checking for Objects’ Type and Attributes • Working With Files and Directories You can find this tutorial at https://realpython.com/python-lbyl-vs-eafp/

Generating Fake Dataset by using Faker

To begin data analysis, the initial task is to locate data that is available for analysis. When I experiment with a new library or method, the most prevalent challenge I encounter is identifying a suitable dataset. I frequently require data that satisfy my specific requirements. To help me generate fake datasets I learned how to use the Faker package to generate any fake data and then, if needed, write it to a file or database.

GitHub Codespaces

I recently learned how to use GitHub Codespaces. Really excellent tool for collaborating in the team. A codespace is a development environment that's hosted in the cloud. I can share Jupyter notebook files with others in my repository. Codespaces environment to modify code, excute it, safe it, stage, commit and push changes to the same repository. Collaborating in a team on Jupyter Notebook and Visual Studio Code files is now easy.

Certificate of Completion – Real World Test Automation with Pytest(Django app)

I earned a Certificate of Completion that verifies that I successfully completed the “Real World Python Test Automation with Pytest(Django app)” course on 07/01/2023 as taught by instructor Eden Marco at Udemy Academy. Eden Marco is a Customer Engineer at Google Cloud with BCS in Computer Science from Technion. He is also a teacher of Functional Programming and Introduction to CS at Reichman University, Israel. An advanced level of Python is required for this course. The certificate indicates the entire course was completed as validated by the student. The course duration represents the total video hours of the course at the time of most recent completion. Length 7.0 total hours. In this course, I learned about: • how to build a very simple Django server and test it from all angles like Unit tests, integration tests, API tests, end-to-end tests(E2E), and performance tests. • how to test the code in unittest and in pytest styles and understood the benefits of using pytest. • how to build a complete CI system that integrates Bitbuckts cloud pipelines, GitHub cloud Actions, Slack messaging, and Allure reporting. Every time I push, the CI system will run my tests and will notify me if the build passed/failed. • what is the difference between unittest, django.test framework, and pytest-django testing. o Pytest features (in-depth) • Fixtures, fixture parameterize, and use of conftest.py • Markers, create custom markers and use pytest.ini for registration • Parameterize, testing multiple functions with the same arguments • Skip, Xfail • Tests raise exceptions, exception logging, and logging function. • Pytest-django • Django agnostic testing using requests and responses.activate libraries • Pytest-cov • Pytest-xdist • Pytest-sugar • Patching, Unittest.mock.Mock and MagicMock, using CLI, and IDE • Mock.patch as a context manager, as a decorator, and as inline • Pytest request • Performance testing. Create a time tracker fixture, and create a customized track performance decorator. Use of pytest-timeout decorator. • Integration testing • Testing environments o Python best practice • pipenv environment together with pyenv • Use .env file to configure pipenv to work with project environment variables • Black formatter • Type hinting o Run pytest from CLI • Use different pytest command line options prefixes and how to automate them by using pytest.ini o PyCharm best practices and run pytest from IDE • Configure Python Integration Tools in PyCharm Settings to work with pytest. • Use pytest-env plugin to configure to run Pytest from IDE, particularly convenient when I want to debug. Pytest-env helps pytest understand in what environment it runs in. Use the pytest.ini file to configure PyCharm to work with project environment variables. o Django (just enough to build a web server) • Rest API • Models, Migrations • Tables, Views • Serializers • SQLite3 DB • Email backends and testing using django.test framework and pytest-django o Test project’s features in Postman o Continuous Integration (in-depth) • Bitbucket pipelines • GitHub actions • Learn to code in YAML language and create yaml files • Add environment variables to the Bitbucket's variables and GitHub's actions secrets. • Parallel steps • Slack messaging integration with Bitbucket • Allure Reporting You can find my GitHub project at https://github.com/Pacode74/Pytest-Django You can find this course at https://www.udemy.com/course/pytest-course/

1 2 3 ... 13

Our Sidebar

You can put any information here you'd like.

  • Latest Posts
  • Announcements
  • Calendars
  • etc