Roadmapper. A Roadmap-as-Code (RaC) python library for generating a roadmap by using python code
Project description
Roadmaper - an open source Roadmap as Code (RaC) python library
Purpose
The purpose of roadmapper python library is used to draw roadmap by using python code. This is the first Roadmap as Code (RaC) library. RaC helps to create and edit roadmap in a more efficient way without having to use any graphical tools that are not always easy to use to create or update a roadmap.
With git repository like GitHub or Bitbucket, roadmaps created using RaC can be version controlled, track changes and can be easily shared with others.
:book: For usage documentation, how-to guide and code examples, refer to Roadmapper Wiki.
View the Change Logs to find out the latest updates and additions in the most recent version.
Python version requirements:
- Python 3.10+
Library Dependencies
- python-dateutil >= 2.8.2
- Pillow >= 10.3.0
- drawsvg >= 2.3.0
Any feedback or suggestions are welcome. Please feel free to create an issue or pull request.
Installation
Install from PyPI
pip install roadmapper
Upgrade to the latest version
If you are running older version of roadmap-generator, you can upgrade to the latest version by running the following command:
pip install --upgrade roadmapper
Documentation
Please refer to Roadmapper Wiki for more information on how to use this RaC library.
Code Example
:point_right: Note: In order for the following code to work, you will need to download the matariki-tech-logo.png
file to your local storage. The png file can be downloaded from the \images\logo\
folder.
from roadmapper.roadmap import Roadmap
from roadmapper.timelinemode import TimelineMode
roadmap = Roadmap(1200, 400, colour_theme="BLUEMOUNTAIN")
roadmap.set_title("My Demo Roadmap")
roadmap.set_subtitle("Matariki Technologies Ltd")
roadmap.set_timeline(TimelineMode.MONTHLY, start="2024-01-01", number_of_items=12)
roadmap.add_logo("matariki-tech-logo.png", "top-right", 50, 50)
group = roadmap.add_group("Core Product Work Stream")
task = group.add_task("Base Functionality", "2024-01-01", "2024-10-31")
task.add_milestone("v.1.0", "2024-02-15")
task.add_milestone("v.1.1", "2024-08-01")
parellel_task = task.add_parallel_task("Enhancements", "2024-11-15", "2025-03-31")
parellel_task.add_milestone("v.2.0", "2025-03-30")
task = group.add_task("Showcase #1", "2024-03-01", "2024-05-07")
task.add_parallel_task("Showcase #2", "2024-06-01", "2024-08-07")
roadmap.set_footer("Generated by Roadmapper")
roadmap.draw()
roadmap.save("demo01.png")
Output
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for roadmapper-1.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d80b34feba9cf29893326952b426e0a180f00305efe0429496709b48079d58fc |
|
MD5 | 6399eb631f153814d8adcac853900664 |
|
BLAKE2b-256 | f9672842ca5631af55d80664057a754b9b1cd382749c991662075ccd95087a1e |