PDX Code Guild Full Stack Python Bootcamp starting 2022/02/28

Overview

Class Liger

Rough Timeline

Weeks 1, 2, 3, 4: Python

Weeks 5, 6, 7, 8: HTML/CSS/Flask

Weeks 9, 10, 11: Javascript

Weeks 12, 13, 14, 15: Django

Weeks 16, 17, 18: Capstone project

Scheduled Holidays (no class)

Assigned Labs:

Python
  • Lab 02a - Madlib (due 03/15)
  • Lab 02b - Make Change (due 03/16)
  • Lab 03b - Average Number (due 03/17)

Submitting your work

Make sure all labs are located within class_liger/code/<YOUR_NAME>, where <YOUR_NAME> is your first name in all lowercase letters.

To emulate a more professional Git workflow, we're going to start creating new branches for each lab starting in the HTML/CSS section.

Creating a new branch:

Click to expand
  • git branch to check that you're on the main branch, use git checkout main to go to the main branch if needed.

  • git status to check if your local main branch is up to date with origin/main on Github.

  • git pull if needed to pull any recent changes to your local repository

  • Create a new branch and switch to it.

    • Option 1:

      • git branch <YOUR_NAME-SECTION-LAB_NUMBER>
      • git checkout <YOUR_NAME-SECTION-LAB_NUMBER>
    • Option 2:

      The -b flag can be used after the checkout command to combine these two steps:

      git checkout -b <YOUR_NAME-SECTION-LAB_NUMBER>

    e.g. My branch for the "Lab 01 - Bio" in the HTML/CSS section would be named: keegan-htmlcss-lab01. The name can vary a bit from this example, but please keep the chosen formatting consistent from one lab to another.

  • git add <FILENAME> to add a specific file or git add . to add everything in the current dicrectory

  • git commit -m "your commit message" to commit your work

  • A remote branch will need to be created for each new local branch. Git will usually display the proper command to do this when a new branch is pushed for the first time.

    The command is:

    git push --set-upstream origin <BRANCH_NAME>

    OR

    git push -u origin <BRANCH_NAME>

    Screenshot
  • After successfully pushing your new branch to Github, you should see the option to create a Pull Request for your branch on the main repo page.

    Screenshot
  • If you don't see that message, you'll have to navigate to your new remote branch

    Screenshot
  • Once you've navigated to your individual branch, you'll find the option to create a Pull Request in the "Contribute" dropdown.

    Screenshot
  • Click the "Open Pull Request" button. Add a comment to your Pull Request like "Submitting Lab 00" and click "Create Pull request"

    Screenshot

Updating a branch

Click to expand After a Pull Request is submitted, the code on that branch will be checked.

Necessary corrections or adjustments will be posted as comments on the Pull Request on Github and the Pull Request will be closed. When the corrections are made, submit the Pull Request again for checking.

Corrections will be made only to that particular branch.

  • git checkout <YOUR_NAME-SECTION-LAB_NUMBER>

  • Add and commit updated files.

  • git push to push your changes up to the remote repository on GitHub

  • Only one Pull Request is allowed per branch.

    • If a Pull Request is already open for the branch, a message will be added to the current Pull Request for the new commits.
    • If a Pull Request is not already open for the branch a new Pull Request will need to be created.
  • Once a lab is complete, its branch will be merged into the main branch.


Additional Resources

Git
Owner
PDX Code Guild
PDX Code Guild
🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton.

Boltons boltons should be builtins. Boltons is a set of over 230 BSD-licensed, pure-Python utilities in the same spirit as — and yet conspicuously mis

Mahmoud Hashemi 6k Jan 06, 2023
This Python library searches through a static directory and appends artist, title, track number, album title, duration, and genre to a .json object

This Python library searches through a static directory (needs to match your environment) and appends artist, title, track number, album title, duration, and genre to a .json object. This .json objec

Edan Ybarra 1 Jun 20, 2022
A casual IDOR exploiter that provides .csv files of url and status code.

IDOR-for-the-casual Do you like to IDOR? Are you a Windows hax0r? Well have I got a tool for you... A casual IDOR exploiter that provides .csv files o

Ben Wildee 2 Jan 20, 2022
Retrying is an Apache 2.0 licensed general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just about anything.

Retrying Retrying is an Apache 2.0 licensed general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just

Ray Holder 1.9k Dec 29, 2022
Implements a polyglot REPL which supports multiple languages and shared meta-object protocol scope between REPLs.

MetaCall Polyglot REPL Description This repository implements a Polyglot REPL which shares the state of the meta-object protocol between the REPLs. Us

MetaCall 10 Dec 28, 2022
Integer sets where all subsets have unique sums

Evil Sums Generation of sets of numbers where all constituents are recoverable from a partial sum.

Charlotte 5 Sep 24, 2022
Convert long numbers into a human-readable format in Python

Convert long numbers into a human-readable format in Python

Alex Zaitsev 73 Dec 28, 2022
A good Tool to comment on xmw

A good Tool to comment on xmw

1 Feb 10, 2022
Backtest framework based on DAGs

MultitaskQueue It's a simple framework based on three composed concepts: Task: A task is the smaller unit of execution or simple a node in the DAG, ev

4 Dec 09, 2021
A subleq VM/interpreter created by me for no reason

What is Dumbleq? Dumbleq is a dumb Subleq VM/interpreter implementation created by me for absolutely no reason at all. What is Subleq? If you haven't

Phu Minh 2 Nov 13, 2022
A flexible free and unlimited python tool to translate between different languages in a simple way using multiple translators.

deep-translator Translation for humans A flexible FREE and UNLIMITED tool to translate between different languages in a simple way using multiple tran

Nidhal Baccouri 806 Jan 04, 2023
Just messing around with AI for fun coding 😂

Python-AI Projects 🤖 World Clock ⏰ ⚙︎ Steps to run world-clock.py file Download and open the file in your Python IDE. Run the file a type the name of

Danish Saleem 0 Feb 10, 2022
Identifies the faulty wafer before it can be used for the fabrication of integrated circuits and, in photovoltaics, to manufacture solar cells.

Identifies the faulty wafer before it can be used for the fabrication of integrated circuits and, in photovoltaics, to manufacture solar cells. The project retrains itself after every prediction, mak

Arun Singh Babal 2 Jul 01, 2022
Cairo hooks for pre-commit

pre-commit-cairo Cairo hooks for pre-commit. See pre-commit for more details Using pre-commit-cairo with pre-commit Add this to your .pre-commit-confi

Fran Algaba 16 Sep 21, 2022
Discovering local read-level DNA methylation patterns and DNA methylation heterogeneity in intermediately methylated regions

Discovering local read-level DNA methylation patterns and DNA methylation heterogeneity in intermediately methylated regions

1 Jan 11, 2022
A script to add issues to a project in Github based on label or status.

Add Github Issues to Project (Beta) A python script to move Github issues to a next-gen (beta) Github Project Getting Started These instructions will

Kate Donaldson 3 Jan 16, 2022
Absolute solvation free energy calculations with OpenFF and OpenMM

ABsolute SOLVantion Free Energy Calculations The absolv framework aims to offer a simple API for computing the change in free energy when transferring

7 Dec 07, 2022
A project to find out all the words in a crossword.

A project to find out all the words in a crossword.

Kalpesh Dhoundiyal 1 Feb 06, 2022
Small tool to use hero .json files created with Optolith for The Dark Eye/ Das Schwarze Auge 5 to perform talent probes.

DSA5-ProbeMaker A little tool for The Dark Eye 5th Edition (Das Schwarze Auge 5) to load .json from Optolith character generation and easily perform t

2 Jan 06, 2022
A series of basic programs written in Python

Primeros programas en Python Una serie de programas básicos escritos en Python

Madirex 1 Feb 15, 2022