Skip to content

realpython/materials

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
September 20, 2022 00:43
November 21, 2022 11:01
October 26, 2020 14:02
March 30, 2021 09:45
February 12, 2021 13:56
November 3, 2018 21:51
December 7, 2022 14:27
February 4, 2021 14:01
January 22, 2019 12:21
January 26, 2023 16:59
July 26, 2022 16:15
January 23, 2021 17:50
October 28, 2021 09:23
September 24, 2021 13:18
March 22, 2022 09:03
February 18, 2022 16:24
October 14, 2020 17:48
April 13, 2021 12:34
February 3, 2023 11:46
January 5, 2023 15:19
April 29, 2019 20:56
June 7, 2022 09:30
October 9, 2018 15:09
September 16, 2022 14:48
December 13, 2018 00:57
February 22, 2023 16:18
March 26, 2019 15:03
October 26, 2020 14:02
August 15, 2019 08:01
November 9, 2022 08:41
August 22, 2022 22:43
January 12, 2023 12:14
March 16, 2023 16:56
December 13, 2022 08:49
November 20, 2022 06:59
February 8, 2023 16:21
September 16, 2022 10:47
September 29, 2022 14:51
August 9, 2022 18:00
October 24, 2022 17:18
February 12, 2021 15:16
July 13, 2020 13:06
December 6, 2022 15:41
March 13, 2023 18:44
February 14, 2023 16:14
December 6, 2020 15:53
September 29, 2022 13:36
February 10, 2021 16:18
March 4, 2023 22:50
March 16, 2022 10:29
January 23, 2023 12:44
February 1, 2023 22:42
January 27, 2023 15:21
June 29, 2022 15:37
February 14, 2022 16:10
December 21, 2022 11:36
November 8, 2021 14:27
November 20, 2022 06:59
May 6, 2018 13:46
September 2, 2022 09:49
April 24, 2021 12:58

Real Python Materials

Bonus materials, exercises, and example projects for Real Python's Python tutorials.

Build Status: GitHub Actions

Got a Question?

The best way to get support for Real Python courses, articles, and code in this repository is to join one of our weekly Office Hours calls or to ask your question in the RP Community Chat.

Due to time constraints, we cannot provide 1:1 support via GitHub. See you on Slack or on the next Office Hours call 🙂

Adding Source Code & Sample Projects to This Repo (RP Contributors)

Running Code Style Checks

We use flake8 and black to ensure a consistent code style for all of our sample code in this repository.

Run the following commands to validate your code against the linters:

$ flake8
$ black --check .

Running Python Code Formatter

We're using a tool called black on this repo to ensure consistent formatting. On CI it runs in "check" mode to ensure any new files added to the repo follow PEP 8. If you see linter warnings that say something like "would reformat some_file.py" it means that black disagrees with your formatting.

The easiest way to resolve these errors is to run Black locally on the code and then commit those changes, as explained below.

To automatically re-format your code to be consistent with our code style guidelines, run black in the repository root folder:

$ black .

About

Bonus materials, exercises, and example projects for our Python tutorials

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published