python4datascience

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

https://github.com/cusyio/python4datascience

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.3%) to scientific vocabulary

Keywords

data-science datascience dvc git ipython numpy pandas python
Last synced: 4 months ago · JSON representation ·

Repository

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

Basic Info
Statistics
  • Stars: 19
  • Watchers: 5
  • Forks: 5
  • Open Issues: 1
  • Releases: 5
Topics
data-science datascience dvc git ipython numpy pandas python
Created over 2 years ago · Last pushed 4 months ago
Metadata Files
Readme Changelog License Citation Codemeta

README.rst

.. SPDX-FileCopyrightText: 2021 Veit Schiele
..
.. SPDX-License-Identifier: BSD-3-Clause

Quick start
===========

.. _badges:

Status
------

.. image:: https://img.shields.io/github/contributors/cusyio/python4datascience.svg
   :alt: Contributors
   :target: https://github.com/cusyio/python4datascience/graphs/contributors
.. image:: https://img.shields.io/github/license/cusyio/Python4DataScience.svg
   :alt: License
   :target: https://github.com/cusyio/python4datascience/blob/main/LICENSE
.. image:: https://results.pre-commit.ci/badge/github/cusyio/Python4DataScience/main.svg
   :target: https://results.pre-commit.ci/repo/github/649815375
   :alt: pre-commit.ci status
.. image:: https://readthedocs.org/projects/python4datascience/badge/?version=latest
   :alt: Docs
   :target: https://www.python4data.science/en/latest/
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo..14031392.svg
   :target: https://doi.org/10.5281/zenodo.14031392
.. image:: https://img.shields.io/badge/dynamic/json?label=Mastodon&query=totalItems&url=https%3A%2F%2Fmastodon.social%2F@Python4DataScience%2Ffollowers.json&logo=mastodon
   :alt: Mastodon
   :target: https://mastodon.social/@Python4DataScience

.. _first-steps:

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
------------

#. Download and unpack:

   .. code-block:: console

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

#. Install Python packages:

   .. code-block:: console

    $ cd python4datascience-main
    $ python3 -m venv .venv
    $ . .venv/bin/activate
    $ python -m pip install -e ".[dev]"

#. Install the `Jupyter Notebook Extensions
   `_ Javascript and CSS
   files:

   .. code-block:: console

    $ 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

#. Create HTML documentation:

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

   .. code-block:: console

    $  sudo apt-get install pandoc

   To create the HTML documentation run these commands:

    $ cd docs
    $ make html

#. Create a PDF:

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

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

   .. code-block:: console

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

   or for macOS with:

   .. code-block:: console

    $ brew cask 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:

   .. code-block:: console

    $ 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``.

#. Install and run ale to check spelling

   You can install Vale with:

   .. code-block:: console

    $ brew install vale

   You can install the parser for reStructuredText with:

   .. code-block:: console

    $ brew install docutils

   .. seealso::
      * `Vale installation `_
      * `Vale formats `_

   Now you can check the reStructuredText files with:

   .. code-block:: console

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

.. _follow-us:

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.

Owner

  • Name: cusy GmbH
  • Login: cusyio
  • Kind: organization
  • Email: info@cusy.io
  • Location: Berlin, Germany

Software consultancy solving complex problems, connecting strategy and execution, helping clients to strengthen their core competencies and flexible scaling.

Citation (CITATION.cff)

# SPDX-FileCopyrightText: 2021 Veit Schiele
#
# SPDX-License-Identifier: BSD-3-Clause

cff-version: 1.2.0
doi: 10.5281/zenodo.14031392
title: Python4DataScience
message: >-
  If you use this tutorial, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Veit
    family-names: Schiele
    email: veit@cusy.io
    affiliation: cusy GmbH
identifiers:
  - type: doi
    value: 10.5281/zenodo.14031392
    description: 'Python4DataScience: 24.3.0'
repository-code: 'https://github.com/cusyio/Python4DataScience'
url: 'https://www.python4data.science/en/24.3.0/'
abstract: >-
  Teaching materials for the cusy training courses on
  Python-based data science workflows.
keywords:
  - Python
  - Data-Science
  - DataScience
  - iPython
  - NumPy
  - pandas
  - Git
  - DVC
license: BSD-3-Clause
version: 24.3.0
date-released: '2024-11-03'

CodeMeta (codemeta.json)

{
  "inLanguage": {
    "alternateName": "eng",
    "@type": "Language",
    "name": "English"
  },
  "description": "Teaching materials for the cusy training courses on Python-based data science workflows",
  "license": "https://spdx.org/licenses/BSD-3-Clause.html",
  "creator": [
    {
      "affiliation": "@cusyio",
      "@type": "Person",
      "name": "Veit Schiele"
    }
  ],
  "url": "https://zenodo.org/record/12593850",
  "datePublished": "2024-11-03",
  "version": "24.3.0",
  "keywords": [
    "data science",
    "dvc",
    "git",
    "Python",
    "NumPy",
    "pandas",
    "iPython"
  ],
  "@context": "https://schema.org/",
  "identifier": "https://doi.org/10.5281/zenodo.14031392",
  "@id": "https://doi.org/10.5281/zenodo.14031392",
  "@type": "CreativeWork",
  "name": "veit/Python4DataScience: 24.3.0"
}

GitHub Events

Total
  • Release event: 5
  • Watch event: 10
  • Delete event: 2
  • Push event: 81
  • Pull request event: 4
  • Fork event: 3
  • Create event: 4
Last Year
  • Release event: 5
  • Watch event: 10
  • Delete event: 2
  • Push event: 81
  • Pull request event: 4
  • Fork event: 3
  • Create event: 4

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 1
  • Total pull requests: 20
  • Average time to close issues: 4 days
  • Average time to close pull requests: 9 days
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 16
Past Year
  • Issues: 1
  • Pull requests: 5
  • Average time to close issues: 4 days
  • Average time to close pull requests: 14 days
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 5
Top Authors
Issue Authors
  • veit (1)
Pull Request Authors
  • pre-commit-ci[bot] (25)
  • krother (4)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/pre-commit.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
  • pre-commit/action v3.0.0 composite
docs/requirements.txt pypi
  • furo *
  • ipython *
  • ipywidgets *
  • nbsphinx *
  • sphinx-copybutton *
  • sphinx_inline_tabs *
  • sphinxcontrib-svg2pdfconverter *
  • sphinxext-opengraph *
docs/data-processing/serialisation-formats/toml/pyproject.toml pypi