Skip to main content

bring-order

GitHub Actions codecov GitHub

The BringOrder tool is aimed at guiding data scientists with their analysis using custom widgets inside Jupyter Notebook.

The first step is to import and prepare data for analysis, and to identify data limitations. If the data set is loaded from a CSV file, BringOrder checks automatically if the variables are normally distributed and offers an option to check if selected variables are independent.

After the data preparation phase, there are two analysis paths that the user can choose from: hypothesis testing or explorative analysis. Testing a hypothesis includes summarizing theory for context, formulating the hypotheses, running some analysis code, and drawing a conclusion.

The explorative analysis starts with stating preconceptions and ends with evaluating the analysis with respect to those preconceptions. In between, the user should run some analysis code and write some notes about their observations. To help the user with writing code, BringOrder provides the possibility to use OpenAI's ChatGPT inside Jupyter Notebook through an API connection.

As a result, BringOrder produces a structured notebook where all the steps are documented in Markdown. The user also has the option to save a PowerPoint presentation template of the analysis and to export the notebook to a PDF file.

Documentation

Installation

Installation from PyPi

Linux

  • If you don't have Jupyter Notebook installed, install it with
    pip install notebook
  • If you don't have ipywidgets installed, install it with
    pip install ipywidgets
  • If you have an old version of ipywidgets installed, upgrade it with
    pip install --upgrade ipywidgets
  • Install bring-order extension:
    pip install bring-order

Windows

  • If you don't have PIP installed, it is recommended to use Anaconda environment

  • Install Anaconda with Anaconda download

  • Use Anaconda Powershell prompt instead of regular Powershell or Command prompt

  • Install bring-order extension:

    pip install bring-order

MacOS

  • If you don't have ipywidgets installed, install it with
    python3 -m pip install "ipywidgets"
  • If you have an old version of ipywidgets installed, upgrade it with
    python3 -m pip install --upgrade ipywidgets
  • Install bring-order extension:
    python3 -m pip install "bring-order"

Usage

  • Open Jupyter Notebook with
    jupyter notebook
  • In Jupyter Notebook execute
    from bring_order import BringOrder
    BringOrder()

A more detailed user manual can be found in the User Guide

Development and Testing

Architecture

Testing report

Suggestions for improvements

Dependencies

  • Clone the project and install dependencies in the main folder
    poetry install
  • Navigate to main folder and go to the virtual environment
    poetry shell

Testing

Run unit tests

    pytest tests

or use Invoke

    invoke tests

or generate Covegare report

    invoke coverage

Run style check

    pylint bringorder

or use Invoke

    invoke lint

Run robot tests

    ./run_robot_tests.sh

or use Invoke

    invoke robottests

Run pylint, unit tests, and robot tests at once

invoke alltests

Metadata

Release files for bring-order 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bring-order 1.0.1
File Size Uploaded
bring_order-1.0.1.tar.gz 12.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for bring-order 1.0.1
File Interpreter ABI Platform
bring_order-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 25.7 MB

Release files / bring_order-1.0.1.tar.gz

Download URL bring_order-1.0.1.tar.gz
Size 12.8 MB
Tags Source
SHA-256 checksum
How to use checksums
95501f4d950feafc72fb8ee8df20faf1fffa2f5a48b39da8a6c59f436eeaa335
BLAKE2b-256 checksum
How to use checksums
3a3b6ee6b8d84c952363a3d48c1e5f75caa7308f05268323eac1ec2fe220b6ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / bring_order-1.0.1-py3-none-any.whl

Download URL bring_order-1.0.1-py3-none-any.whl
Size 12.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
58c2c5ae8bfa877e221d2f75a84a092a9f16c84e6149bf4cf497333819bcbe0a
BLAKE2b-256 checksum
How to use checksums
262eaf24e9bb031ad65c2ce30430bc5ad58b3395d298036bfa163f7653689099
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page