This directory contains resources pertinent to the 2022 Plasma Hack Week. Added resources include, but are not limit to, pre-event background materials, demo Jupyter notebooks, tutorials, etc.
git
is a free open-source version control system, and is the backbone to
collaborative open-source software development. On Day 2 we will
cover how to use git
, both through a command line interface (CLI)
and built-in graphical user interfaces (GUIs) to select code editors.
For the Hack Week we will require Python 3.8+, and recommend installing Python 3.10. A Python distribution can be downloaded directly from python.org and installed.
Anaconda is similar to the Python Package Index (PyPI), in that it is a package distribution hub. Unlike PyPI, packages listed on Anaconda are not restricted to just Python packages.
Anaconda has its own package installer called conda
, similar to PyPI's
installer pip
. Unlike pip
, conda
also has built-in functionality
for managing virtual environments. For more detailed information, look
to Anaconda's
"Understanding Conda and Pip"
primer.
Anaconda also provides the Anaconda Navigator, which is a desktop GUI which allows you to launch applications and manage conda packages.
During the Hack Week the organizers will be using their Integrated Development Environment (IDE), i.e. code editor, of choices, so you will get exposure to the main IDEs out there. The three IDEs that will be used are:
On Day 1 we will give a brief overview of each IDE.
For the Hack Week we will be using v0.8.1
of plasmapy
. This can be
installed using pip
or conda
, depending on your workflow. For full
installation instructions
see PlasmaPy's documentation.
GitHub is a code hosting platform for version control and collaboration.
GitHub is where we will combine all of collaborative work during the
Hack Week to create the hack
package. There are two types of GitHub
accounts, a personal account and an organization account. All you
need to do is
create a free personal account.
Most on the getting setup resources are listed above in the Pre-Event Materials section. However, here is check list of the steps you should do. Most of these steps will be covered during days 1 and 2 of the Hack Week, but we highly encourage you get started before the event.
-
Create a free personal GitHub account
-
Decide if you want to used Anaconda or not
- Yes: Install Anaconda, which will also install a copy of Python.
- No (and Yes): Install Python. If yes, Anaconda does install a copy of Python, but you can still install other versions of Python to use in different environments.
- Getting Python
- Getting Anaconda
- Terminals
- Interactive Development Environments
- Virtual Environments
- Getting
git
- GitHub Documentation
- GitHub Hello World
git
& GitHub Overview Slides- Dive into
plasmapy
notebooks