GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cusyio/Python4DataScience: Teaching materials for the cusy training courses on Python-based data science workflows: https://cusy.io/en/our-training-courses/index.html

BranchesTags
Open more actions menu

Latest commit

 

History

2,054 Commits
2,054 Commits

Folders and files

NameName
Last commit message
Last commit date
.dvc
.dvc
 
 
.github
.github
 
 
LICENSES
LICENSES
 
 
data
data
 
 
docs
docs
 
 
fastapi
fastapi
 
 
styles
styles
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.python-version
.python-version
 
 
.readthedocs.yaml
.readthedocs.yaml
 
 
.vale.ini
.vale.ini
 
 
CHANGELOG.rst
CHANGELOG.rst
 
 
CITATION.cff
CITATION.cff
 
 
README.rst
README.rst
 
 
badge-v0.json
badge-v0.json
 
 
codemeta.json
codemeta.json
 
 
codemeta.json.license
codemeta.json.license
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

Quick start

Status

Contributors License prek Docs Mastodon

Overview

This repository contains a data management and analysis tutorial using Python. The folders contain:

  • data/ - data for an example project
  • docs/ - the actual tutorial docs
  • fastapi/ - example web server providing data

Installation

  1. Download and unpack:

    $ curl -O https://codeload.github.com/cusyio/python4datascience/zip/main
    $ unzip main
    Archive:  main
    …
       creating: python4datascience-main/
    …
  2. Install Python packages:

    $ cd python4datascience-main
    $ python3 -m venv .venv
    $ . .venv/bin/activate
    $ python -m pip install -e ".[dev]"
  3. Install the Jupyter Notebook Extensions Javascript and CSS files:

    $ jupyter contrib nbextension install --user
    jupyter contrib nbextension install --user
    Installing jupyter_contrib_nbextensions nbextension files to jupyter data directory
    …
    Successfully installed jupyter-contrib-core-0.3.3 jupyter-contrib-nbextensions-0.5.1
    jupyter-highlight-selected-word-0.2.0 jupyter-latex-envs-1.4.6
    jupyter-nbextensions-configurator-0.4.1
    …
    $ jupyter nbextension enable latex_envs --user --py
    Enabling notebook extension latex_envs/latex_envs...
          - Validating: OK
  4. Create HTML documentation:

    Note that pandoc has to be installed. On Debian/Ubuntu you can just run

    $  sudo apt-get install pandoc

    To create the HTML documentation run these commands:

    $ cd docs $ make html

  5. Create a PDF:

    For the creation of a PDF file you need additional packages.

    For Debian/Ubuntu you get them with the following command:

    $ sudo apt install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended latexmk

    or for macOS with:

    $ brew install mactex
    …
    🍺  mactex was successfully installed!
    $ curl --remote-name https://www.tug.org/fonts/getnonfreefonts/install-getnonfreefonts
    $ sudo texlua install-getnonfreefonts
    …
    mktexlsr: Updating /usr/local/texlive/2020/texmf-dist/ls-R...
    mktexlsr: Done.

    Then you can generate a PDF with:

    $ make latexpdf
    …
    The LaTeX files are in _build/latex.
    Run 'make' in that directory to run these through (pdf)latex
    …

    You can find the PDF at docs/_build/latex/jupytertutorial.pdf.

  6. Install and run ale to check spelling

    You can install Vale with:

    $ brew install vale

    You can install the parser for reStructuredText with:

    $ brew install docutils
    .. seealso::
       * `Vale installation <https://docs.errata.ai/vale/install>`_
       * `Vale formats <https://docs.errata.ai/vale/scoping#formats>`_
    
    

    Now you can check the reStructuredText files with:

    $ vale .
    ✔ 0 errors, 0 warnings and 0 suggestions in 201 files.

Follow us

  • GitHub
  • Mastodon

Pull-Requests

If you have suggestions for improvements and additions, we recommend that you create a Fork of our GitHub Repository and make your changes there. You are also welcome to make a pull request. If the changes contained therein are small and atomic, we will be happy to look at your suggestions.

The following guidelines help us to maintain the German translation of the tutorial:

  • Write commit messages in English
  • Start commit messages with a Gitmoji
  • Stick to English names of files and folders.

About

Teaching materials for the cusy training courses on Python-based data science workflows: https://cusy.io/en/our-training-courses/index.html

www.python4data.science/

Topics

data-sciencedatasciencedvcgitipythonnumpypandaspython

Resources

Readme
Activity
Custom properties

Stars

21 stars

Watchers

4 watching

Forks

7 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.