No further work has been embarked upon with this repository as quarto is not installed in SCC's remote desktop
This is a clean, minimal template reporitoy for starting new Python projects in SCC's remote desktop --with sensible defaults for structure, environment setup and packaging. Automatically creates/detects a virtual environment, installs SNEE python packages and requirements.txt file. This has a suggested project structure.
Is is always recommended to use a virtual environment in Axym or in any analytical product. This allows another person to replicate, review, contribute to, and run your project using the same underlying code packages.
This package contains a powershell script. This is multifunctional.
-
Checks for virtual environment at
.\.venv- If one is found. it is activated.
- If not found, one is created, then activated.
-
Checks for
snee-packages.txtand attempts installation. See below for details. -
Checks for
requirements.txtand prompts the user to install the packages within, if it is present.
In Vscode, on the left-hand tab, click "Explorer" and then click on setup-env.ps1. Execute this powershell script. At the top right of the powershell file click the play button to do this.
By default, this contains :
- SNEE Utils, a python package which formats matplotlib/seaborn/plotly plots with the SNEE IF theme/guidelines and provides a few helper functions.
.gitignore--> This is a plain text file that tells Git which files or folders to ignore, meaning they wont be tracked, committed or pushedREADME.md--> Readme file for the repository (Not related to python setup). The contents of this file will be displayd on GITEA repository pagerequirements.txt--> This file is used to list and download the basic Python packages your project would depends on.setup-env.ps1--> This file is the main setup file. It has 3 important steps- Check for Virtual environment: if found then skip else create new VE (.venv) and activate it.
- Check for any repositories you want to load from snee-packages.txt file (by default it has SNEE-IF stylings and python functions, you can add on your)
- Download all the Python packages from requirements.txt file
snee-packages.txt--> This file lists all the repositories/packages we want to load from Gitea.Data--> This folder will have example data, or data output placed there.Notebooks--> This folder should have all the Python/R notebooks for analysis.