Skip to main content

Roadmap

Roadmap is a Python package that helps to analyze and visualize team's agile software development process. It provides insights into delivery performance and aims at creating more realistic roadmaps by leveraging the team historical performance.

Installation

Install from PyPI

$ pip install rmp

Usage examples

Configure backend and load data from Jira

from rmp.backend import Backend
from rmp.jira import JiraCloudConnector
import os

# For data storage, configure SQLAlchemy compatible URL
os.environ['SQLALCHEMY_URL'] = 'sqlite:///my_db.sqlite'

# Create instance of backend
backend = Backend()

# Load data
backend.add_connector(
    JiraCloudConnector,
    name='Jira Loader',
    domain='example',
    username='john.doe@example.com',
    api_token='API_TOKEN',
    jql = 'project = SPACE',
    board_id = 42
)
backend.load_data()

Analyze Flow Metrics

from sqlalchemy import create_engine
from rmp.flow_metrics import FlowMetrics, Workflow, FilterKwArgs
from datetime import datetime, timezone

# Create engine for data access
engine = create_engine(f"sqlite:///my_db.sqlite", echo=False)

# Configure workflow stages
workflow = Workflow(
    not_started=['To Do'],
    in_progress=['In Progress', 'Code review', 'Testing'],
    finished=['Done', 'Cancelled'],
)

# Define filters
filter = FilterKwArgs(
    exclude_item_types={"Bug"},
    include_hierarchy_levels={0},
    exclude_ranges=[
        DateTimeRange("2024-12-23", "2025-01-05"), # Christmas period, team offline
        DateTimeRange("2025-04-14", "2025-04-21"), # Holy Week, most of the team away
    ],
    as_of=datetime.now(tz=timezone.utc), # Specify to query state at particular time moment
)

# Create instance of FlowMetrics
fm = FlowMetrics(engine, workflow)

# Plot cycle time scatter chart
fm.plot_cycle_time_scatter(**filter)

# Plot cycle time histogram
fm.plot_cycle_time_histogram(**filter)

# Plot aging work in progress chart
fm.plot_aging_wip(**filter)

# Plot throughput run chart
fm.plot_throughput_run_chart(**filter)

# Plot cumulative flow diagram
fm.plot_cfd(**filter)

# Find dates and probabilities to deliver 90 items using Monte Carlo simulation
fm.plot_monte_carlo_when_hist(runs=10000, item_count=90, **filter)

# Find how many items can be delivered by date with their probabilities using Monte Carlo simulation
target_date = datetime.now() + pd.Timedelta(days=30)
fm.plot_monte_carlo_how_many_hist(runs=10000, target_date=target_date, **filter)

# Output finished items and prioritized backlog with 85% confidence forecasted delivery dates  
df = fm.df_timeline_items(mc_when=True, mc_when_runs=1000, mc_when_percentile=85, **filter)
fm.styled_timeline_items(df) # Returns Styled represenation of timeline

Development

Select Python version using pyenv

pyenv local 3.11.8

Install Poetry dependencies

poetry install

Activate virtual environment

eval $(poetry env activate)

Run tests

pytest

Check code style and format

ruff check
ruff format

Run static type checker

mypy

Metadata

Release files for rmp 0.0.0.post20250825163801

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

Source distribution (sdist)

Source distribution for rmp 0.0.0.post20250825163801
File Size Uploaded Provenance Actions
rmp-0.0.0.post20250825163801.tar.gz 26.4 kB Without provenance Details for rmp-0.0.0.post20250825163801.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rmp 0.0.0.post20250825163801
File Interpreter ABI Platform Actions
rmp-0.0.0.post20250825163801-py3-none-any.whl Python 3 none any Details for rmp-0.0.0.post20250825163801-py3-none-any.whl

Total release size: 53.7 kB

Release files / rmp-0.0.0.post20250825163801.tar.gz

Download URL rmp-0.0.0.post20250825163801.tar.gz
Size 26.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e4ca7606d4bbde8bfbdfecf19fe7f64b14e69e18c78c344b08137bd407a8715d
BLAKE2b-256 checksum
How to use checksums
c605e885e1b73730d104a5157ddbfb8bdec96eb3b8b6301aae50c5da82f37020
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.11.13 Linux/6.11.0-1018-azure

Release files / rmp-0.0.0.post20250825163801-py3-none-any.whl

Download URL rmp-0.0.0.post20250825163801-py3-none-any.whl
Size 27.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7f2b031d56d16adc76b6fe102ebc256e833d0328af2cfffdc4b76b1c8755661
BLAKE2b-256 checksum
How to use checksums
e93d3d0cfabb2182e45547659567e9237e8efc95ee4f1aa4d126c56946b7da79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.11.13 Linux/6.11.0-1018-azure

Security for rmp 0.0.0.post20250825163801

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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