Roadmap Generator. A Roadmap-as-Code (RaC) tool for generating a roadmap by using python code
Project description
Roadmap Generator - a Roadmap as Code (RaC) Tool
Purpose
As the repo name implies, this purpose of this 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.
Python version requirements:
- Python 3.10+
Library Dependencies
- PyCairo 1.21.0
- Colour 0.1.5
Installation
Install from PyPI (To be provided - coming soon)
Code Example
roadmap = Roadmap(1200, 312)
roadmap.set_title("My Demo Roadmap")
roadmap.set_timeline(TimelineMode.MONTHLY, "2023-02-01", 12)
with roadmap.add_group("Core Product Work Stream") as group:
with group.add_task("Base Functionality", "2022-11-01", "2023-10-31") as task:
task.add_milestone("v.1.0", "2023-02-15")
task.add_milestone("v.1.1", "2023-08-01")
task.add_milestone("v.1.2", "2023-09-30")
with task.add_parellel_task("Enhancements", "2023-11-15", "2024-03-31") as task1a:
task1a.add_milestone("v.2.0", "2024-03-30")
with group.add_task("Showcase #1", "2023-03-01", "2023-05-07") as task:
with task.add_parellel_task("Showcase #2", "2023-06-01", "2023-08-07") as parellel_task:
pass
with roadmap.add_group("Mobility Work Stream") as group:
with group.add_task("Mobile App Development", "2023-02-01", "2024-12-07") as task:
task.add_milestone("iOS App", "2023-04-15")
task.add_milestone("Android App", "2023-09-07")
roadmap.set_footer("Generated by Roadmap Generator")
roadmap.draw()
roadmap.save("demo01.png")
Output
Timeline can be changed by changing the mode
Quarterly Mode:
roadmap.set_timeline(TimelineMode.QUARTERLY, "2023-02-01", 4)
Output
Other timeline modes available are:
- TimelineMode.WEEKLY
- TimelineMode.MONTHLY
- TimelineMode.QUARTERLY
- TimelineMode.HALF_YEARLY
- TimelineMode.YEARLY
Font, font size, font colour and fill colour can be changed
# Uses default colour scheme, font and font size
roadmap.set_title("My Demo Roadmap")
# Change font colour, but use default font and font size
roadmap.set_title("My Demo Roadmap", font_colour="Salmon")
# Change font colour, font and font size
roadmap.set_title("My Demo Roadmap", font_colour="Salmon", font="Arial", font_size=18)
Output
Documentation
Please refer to Roadmap Generator Guide for more information on how to use this RaC library.
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 roadmap-generator-0.1.0b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50755766aef6d2fb0db0f03bcec6d81e4c150df002a5b4dd4747a5eef8d6af7d |
|
MD5 | a68d93135f2d7525de2cf582efc161f9 |
|
BLAKE2b-256 | 8a141b666348ebd9efd53f2e5479be0f7ed3082142d18c793ee0223008c19506 |
Hashes for roadmap_generator-0.1.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 307c361af1006fc281781c1e3727cb7526ed425b38f30dea82cb8a03da9b6e43 |
|
MD5 | 8d98b196783df4c7155184cf93ea2b16 |
|
BLAKE2b-256 | a8281c6cdd0ffd05e596298452ccd1bff6f29354615c6345e37f951c330e7066 |