Skip to main content

Some tools to follow the introduction course to Python

Project description

Turing Centre for living systems's "Introduction to biological data analysis" course

The website version here

This is the repository for the introduction of the CENTURI "Introduction to biological data analysis" course.

This first day is split in 2 main parts:

  1. Introduction to coding with Turing patterns
  2. Data handling and visualisation

0. Requirements for the course

0.1 Recommended software

This course is made on a jupyter notebook running on Python 3.8 or newer.

To install Python and the required dependencies we strongly recommend to use conda, mamba or pipenv (the teachers will use conda)

0.2 Installing conda

Conda can be installed multiple ways. We do not have any recommendations about how to but one can read there for a likely exhaustive list on ways to install conda.

Note that we do not necessarily recommend installing Anaconda, we do have a slight preference towards Miniconda but that's just us.

Moreover, we advise to start jupyter notebooks from a shell/terminal/prompt to be able to better see the error messages.

0.3 Dependencies

While we tried to keep the dependencies as small as possible, few are still required:

Note that other libraries might be necessary for the courses after.

To install them one can for example run the following command lines in a terminal, assuming that conda is installed:

conda create --name CenTuri-Course

to create the environment for the course. Then:

conda activate CenTuri-Course

to activate the course environment. And finally:

conda install notebook numpy scipy matplotlib

All dependencies should now be installed!

Enjoy!

0.4 Troubleshooting for MacOs M1 chips

The newly introduced M1 chips in the latest macbooks can create some difficulties for installation.

One way to solve the issue is to install Miniforge and to then use it as Miniconda.

0.5 Testing your configuration

If you would like to test your configuration, you can run the following python file: Configuration-test.py.

One way to run it is the following:

From a terminal in the folder that contains Configuration-test.py:

python Configuration-test.py

You should get an output similar to the following one:

You are using Python version (3.10.4). It is recent enough for this course

Numpy version (1.21.5) is installed

Scipy version (1.8.0) is installed

Matplotlib version (3.5.1) is installed

Everything's good

If your python version is too old or if you failed to install one of the libraries, you will get an error message.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

centuri-course-2024.1.2.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

centuri_course-2024.1.2-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file centuri-course-2024.1.2.tar.gz.

File metadata

  • Download URL: centuri-course-2024.1.2.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for centuri-course-2024.1.2.tar.gz
Algorithm Hash digest
SHA256 e6abe230af736f8969f13e867d3cf6d86a9836c58a31e71a379f45af1ab00be1
MD5 9dd4435ffb27284170b87aeafbe3890a
BLAKE2b-256 f85667846b4f2dde5e63919a0268886555bef345ab61c7a5f08b9a4b8ca2090b

See more details on using hashes here.

File details

Details for the file centuri_course-2024.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for centuri_course-2024.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ed479bcca00ff874e4eff52fb3771480f395d9a921ac9ff194e70ae7c46cd350
MD5 4a4932f57de7e29f87e33a411398eb14
BLAKE2b-256 b8f6ac542a3751ac6bbf9df69d746f5320ba796ba6b2ad34eb5987312eecb7ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page