-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up python code #90
Comments
Hi @ksuchak1990 I would massively welcome that. I'm a Pythong beginner and the Python code is inherited from @charles-fox who kindly let us port it into my teaching materials. It's a bit out of date and sure it could do with a bit of a spring clean at the very least 🚿 Many thanks 🚀 |
Hi @ksuchak1990 my team and I would like to work on this request. We were thinking of adding a sample requirements.txt file and a how to setup docker markdown file with instructions. Anything else we would need to know before getting started on this? |
Hi @DrPayne25, that sounds good to me. I would check with @Robinlovelace too.
|
Hi guys, the Docker containers are slightly out of date but should still work. I'm open minded and as I say a beginner here, the Python code is definitely out-of-date so updating it with more modern packages will be very welcome. There is a 'how to set-up docker', there was content in the README but I removed it as it was a bit much for students that year! https://github.com/ITSLeeds/TDS/tree/master/docker |
Regarding requirements.txt my understanding is that environment.yml files with instructions for conda are generally preferred now, no? If so let's switch to the generally accepted best practice, although I know there are active debates on that! https://twitter.com/search?q=%22don%27t%20use%22%20%20python%20&src=typed_query&f=top |
Yep, I'm generally in favour of an Also worth noting that we'd want to make sure that the environment was platform-independent so would probable be best to use the |
Sounds like a good plan. Most Python developers I know use miniconda not Anaconda but I understand the latter is better for beginners so happy with that. |
Yep, I also prefer miniconda, but I think most of the python taught materials I've interacted with have used anaconda so as to reduce the time spent installing extra packages after installation. |
I've had a quick flick through the python code for TDS, and think there's a couple of things that could be done to clean it up:
requirements.txt
or conda environment for the required packages; there is currently an attached docker image but some students may not have experience with docker so this would make it easier for them to get started.Very happy to pick this up myself as I think it's a pretty easy fix - let me know what you think.
The text was updated successfully, but these errors were encountered: