Skip to main content

Chart Craft Hub

ChartCraftHub logo

Home for "Code, debug, reuse this chart" workshop materials

"Code, debug, reuse this chart" will take place on 24th of March 2024 at 09:00 at Applied Machine Learning Days 2024 in Lausanne, Switzerland.

AMLD 2024

Installation

You can install the materials for the workshop from PyPI:

$ python3.12 -m venv .venv
$ souce .venv/bin/activate
$ python -m pip install chartcrafthub

The workshop materials are created with Python3.12.

How to use

To start the workshop, just import the chartcrafthub package and follow the instructions:

(.venv) ~/d/K/ChartCraftHub ❯❯❯ python -m chartcrafthub
                                                                                                                      
   _____ _                _     _____            __ _     _   _       _                                                       
  /  __ \ |              | |   /  __ \          / _| |   | | | |     | |          
  | /  \/ |__   __ _ _ __| |_  | /  \/_ __ __ _| |_| |_  | |_| |_   _| |__        
  | |   | '_ \ / _` | '__| __| | |   | '__/ _` |  _| __| |  _  | | | | '_ \       
  | \__/\ | | | (_| | |  | |_  | \__/\ | | (_| | | | |_  | | | | |_| | |_) |      
   \____/_| |_|\__,_|_|   \__|  \____/_|  \__,_|_|  \__| \_| |_/\__,_|_.__/       
                                                                                  
                                                                                  
Thanks for attending "Code, debug, reuse this chart" workshop!  
                                                                                                                              
In this workshop, you'll learn how to: 
                                      
✓ Craft visually compelling figures that enhance your document's overall appearance.  
✓ Develop modular plotting functions utilizing matplotlib.  
✓ Utilize Rich and debugging and method exploration. 
✓ Organize your code for enhanced usability.  
✓ Package your code for seamless portability.
                                                                                                                              
To begin, visit the documentation home page: https://kislovskiy.github.io/ChartCraftHub/]
                                                                                                                              
- Artem
                                                                            
                      Copy the great architectures. Edward Tufte 

Getting started

There are three ways to follow this tutorial:

We recommend using Dev Containers or GitHub Codespaces to avoid any issues with the environment setup.

Dev Containers

To use it, you need to have Docker and Visual Studio Code installed. This project is configured to use devcontainer for development.

First, we need to install the Remote - Containers extension in VS Code. Then, open the project in VSCode and click on the green button in the bottom right corner of the window. This will open a new window in a container with all the necessary tools installed. It could take a few minutes to build the container for the first time.

Once the container is running, you'll see green "Dev Container" badge in the bottom left corner of the VSCode window. The development environment is ready to use. Since Docker provides an isolated environment, we don't need to create a virtual environment or install any dependencies on the host machine.

GitHub Codespaces

If you don't want to install anything on your local machine, you could use GitHub Codespaces throughout this tutorial. To use it, you need to have a GitHub account and a repository forked to your account. After that, you could open the repository in GitHub and click on the "Code" button in the top right corner of the page. Then, select "Open with Codespaces" from the dropdown menu. It could take a few minutes to create the environment for the first time.

Once the environment is ready, you'll see a new tab in your browser with the VSCode editor. The development environment is ready to use.

Local installation MacOS / Linux

If you prefer to use your local machine, you need to have Python 3.12 installed. Create a virtual environment and install the dependencies:

$ python3 -m pip venv .venv
$ source .venv/bin/activate
$ make install

Metadata

Release files for chartcrafthub 1.0.2

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

Source distribution (sdist)

Source distribution for chartcrafthub 1.0.2
File Size Uploaded
chartcrafthub-1.0.2.tar.gz 6.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for chartcrafthub 1.0.2
File Interpreter ABI Platform
chartcrafthub-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 MB

Release files / chartcrafthub-1.0.2.tar.gz

Download URL chartcrafthub-1.0.2.tar.gz
Size 6.6 MB
Tags Source
SHA-256 checksum
How to use checksums
3d58b35a0ef1dcc5bc2c2d4aba715767e5640c4570a0bf63bc1170021e6670da
BLAKE2b-256 checksum
How to use checksums
7e95ea2053f6374285e8a273007399408774b3a87fc98a5625917eb7d96c0dfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / chartcrafthub-1.0.2-py3-none-any.whl

Download URL chartcrafthub-1.0.2-py3-none-any.whl
Size 2.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
aca78fb41e42d5b2082a692ce06a3c75ff18135375d2ec0e0fce65047582dc12
BLAKE2b-256 checksum
How to use checksums
d3fddd65591354fc089e47b9d510b7699fd8404806eed5f18226ff7ab88b313b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

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