Skip to main content

CourseMap Python Package

Python bindings for the CourseMap tool - a Rust-based course dependency visualization tool.

Installation

pip install coursemap

Usage

Python API

import coursemap

# Generate course map
coursemap.generate_course_map("./courses", "map.svg", "svg")

# Generate inline SVG for Quarto
svg_content = coursemap.generate_inline_svg("./courses")

# Check Graphviz availability
if coursemap.check_graphviz_available():
    print(coursemap.get_graphviz_info())

Command Line

course-map -i courses -o map.svg -v
course-map --check-graphviz
course-map --inline -i courses

Quarto Integration

#| echo: false
import coursemap

# Generate and display course map
svg_content = coursemap.create_quarto_filter("../courses")
print(svg_content)

Features

  • Generate course dependency maps from Quarto/Markdown documents
  • Support for SVG, PNG, and DOT output formats
  • Inline SVG generation for Quarto documents
  • Configurable styling and phases
  • Graphviz integration

License

MIT License

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coursemap-0.1.5.tar.gz (81.3 kB view details)

Uploaded Source

Built Distribution

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

coursemap-0.1.5-cp313-cp313-macosx_11_0_arm64.whl (588.7 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

File details

Details for the file coursemap-0.1.5.tar.gz.

File metadata

  • Download URL: coursemap-0.1.5.tar.gz
  • Upload date:
  • Size: 81.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for coursemap-0.1.5.tar.gz
Algorithm Hash digest
SHA256 0bc7386e6dba5ab993b69ab2548f2c13ea11c1daa615d46121707dd660eca79e
MD5 ed7b42136003f89cd279f891b8abf799
BLAKE2b-256 0010d5af77909da34284b809d4e3160748109743de5deaba17112dbeaac1ea99

See more details on using hashes here.

File details

Details for the file coursemap-0.1.5-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for coursemap-0.1.5-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0e5e959c2fe9694a33eab2f9891c6fc5495b14f843d9df512dc75488765b7a0b
MD5 30f290b7f06a00b68dcce3ce506633d8
BLAKE2b-256 57ed8329ba09f44011fce4d09b73e6de63108d9b51f72045e46797d6bddc80fd

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page