Skip to main content

Code, debug, reuse this chart, workshop materials and more.

Project description

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

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

chartcrafthub-1.0.2.tar.gz (6.6 MB view details)

Uploaded Source

Built Distribution

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

chartcrafthub-1.0.2-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

Details for the file chartcrafthub-1.0.2.tar.gz.

File metadata

  • Download URL: chartcrafthub-1.0.2.tar.gz
  • Upload date:
  • Size: 6.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for chartcrafthub-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3d58b35a0ef1dcc5bc2c2d4aba715767e5640c4570a0bf63bc1170021e6670da
MD5 8d730afb85c3ce6a459e5b255720898b
BLAKE2b-256 7e95ea2053f6374285e8a273007399408774b3a87fc98a5625917eb7d96c0dfe

See more details on using hashes here.

File details

Details for the file chartcrafthub-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: chartcrafthub-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for chartcrafthub-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aca78fb41e42d5b2082a692ce06a3c75ff18135375d2ec0e0fce65047582dc12
MD5 bf4885bd1a5bbf608930572edbc08129
BLAKE2b-256 d3fddd65591354fc089e47b9d510b7699fd8404806eed5f18226ff7ab88b313b

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