Skip to main content

Library with backlog operations.

Project description

backlogops

There are 3 related packages for backlog operations:

  • backlogops a collection of library functions to manipulate backlogs

  • backlogops-cli command line interface to use the functions in the library. This is just a thin wrapper around the library functions. It serves a dual purpose as both an example of how to use the library and as a tool for the user to use the library.

  • backlogops-gui graphical user interface to use the functions in the library. It is based on TkInter. The ambition is to keep it as a thin wrapper around the library.

Available functionality

The following functionality is available in all 3 packages:

  • Reading backlog and releases from file types that TableIO supports reading from (Currently CSV, Excel, and ODS).

  • Writing backlog and releases to file types that TableIO supports writing to (Currently CSV, Excel, ODS and 9 other file formats).

  • File format is detected from the file extension, but may be overridden.

  • Adjust release content to fit the planned release dates.

  • Create a demonstration backlog and releases (for exploring the features).

  • Estimate ready date for the backlog items based on available teams, team velocity, vacation dates, periods with half time work, etc.

  • Extract backlog keys at given backlog item levels.

  • Reorder the backlog so that the dependencies are satisfied.

  • Reorder the backlog so that items identified by keys in a list come first. If the key is at a higher level it will bring all items it is a parent of in front of it (recursively).

  • Reorder the backlog in release order, optionally taking dependencies into account.

  • Set planned release dates from the estimated release dates.

  • Calculate the release dates from the backlog items estimated ready dates, with a configurable buffer time.

  • Validate the backlog and releases for consistency.

  • Convert a backlog and releases between table file formats.

  • Order the releases by their planned or estimated date.

  • Rename columns when reading a file and when writing a file.

  • Map custom status names in input files to backlog item statuses.

  • Choose how backlog item levels are written: by number, by name, or both, and configure custom level names.

  • Create stand-alone input or output preset configuration files.

  • Migrate an older configuration or preset file to the current file format.

  • A wizard to create a backlog-ops configuration file with the workforce, named input and output presets, level names, and status name mapping.

The operating model

The operating model that most of the functionality is designed for is that the teams work off a single backlog in the order of the backlog. The backlog items are ordered by priority and dependencies to allow the teams to work in the backlog order. Each backlog item and each release may have a planned ready date, that records what has been communicated to the customer. Each backlog item and each release may have an estimated ready date, that is calculated from the current backlog state, the team velocity, and what we know about the availability of the team members.

The backlog item fields

Each backlog item has the following fields that are used by the algorithms in the library:

  • key The key of the backlog item. Required. Must be unique. Must not be empty, must not contain whitespace and must not contain any of the characters , . ; : ( ) [ ] { }.

  • level The level of the backlog item. Required. Must be an integer.

  • title The title of the backlog item. Required.

  • story_points The story points of the backlog item. Required.

  • status The status of the backlog item. Required.

  • parent_key The key of the parent backlog item. Optional. Must exist as a key in the backlog. Parent keys are used to build the hierarchy of the backlog. The parent key must be at a higher level than the current item. Parent keys introduce implicit dependencies between items: the current item cannot start before the parent item starts, and the parent item cannot finish before all its children have finished.

  • release The release of the backlog item. Optional. Follows the same character rules as the key. Must not be empty string.

  • team The team responsible for the backlog item. Optional. Must not be empty string. Must be a valid team name. If None the item can be done by any team. If not None. the item can only be done by the specified team.

  • depends_on_f2s The list of keys of the backlog items that must have been finished before the current item can start. May be empty.

  • depends_on_f2f The list of keys of the backlog items that must have been finished before the current item can finish. May be empty.

  • depends_on_s2s The list of keys of the backlog items that must have been started before the current item can start. May be empty.

  • planned_ready_date The planned ready date of the backlog item. The date that is communicated to the customer. Optional.

  • estimated_ready_date The estimated ready date of the backlog item. Optional.

Additionally each backlog item can have any number of other fields.

Installing backlogops

On macOS and Linux

To install backlogops on macOS and Linux, run the following command:

pip3 install --upgrade backlogops

On Microsoft Windows

To install backlogops on Microsoft Windows, run the following command:

pip install --upgrade backlogops

API documentation

For more detailed code documentation, see the API documentation:

Library main entry points

All names an application programmer is most likely to need are re-exported from the top-level backlogops package, so they can be imported directly, for example:

from backlogops import (
    read_backlog_releases, order_by_dependencies, estimate_ready_date,
    get_demo_backlog)

Core data model

  • Backlog, BacklogItem, Status: the backlog and its items.

  • Releases, Release: the planned releases.

  • BacklogReleases: a backlog together with its releases.

  • AvailableTeams, Team, Person, Membership: the workforce that the date estimation uses.

Reading and writing

  • read_backlog_releases, write_backlog_releases: read and write a backlog and its releases from and to a table file.

  • read_available_teams, write_available_teams: read and write the available-teams workforce on its own.

  • read_backlog_ops_config, write_backlog_ops_config, get_backlog_ops_config: read, write, and look up the top-level BacklogOpsConfig (workforce, named input and output presets, and the optional backlog item levels).

  • read_key_list, write_key_list: read and write a list of keys.

  • get_demo_backlog: create a demonstration backlog and releases.

Operations

  • order_by_dependencies: reorder the backlog so that dependencies are satisfied.

  • move_keys_first: reorder so that listed keys (and their children) come first.

  • backlog_in_release_order: reorder the backlog to follow the release order, optionally honouring dependencies.

  • estimate_ready_date, set_plan_from_estimate: estimate ready dates and set planned dates from the estimate.

  • estimate_release_dates, release_plan_on_estimate, adjust_release_content: estimate and plan release dates, and adjust release content to fit the planned dates.

  • check_backlog_consistency: validate the backlog and releases for consistency.

For the full set of public names see the API documentation linked above.

Test summary

  • Test result: 1545 passed in 32s
  • No flake8 warnings.
  • No mypy errors found.
  • No python layout warnings.
  • Built version(s): 0.2
  • Build and test using Python 3.14.6

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

backlogops-0.2.tar.gz (85.7 kB view details)

Uploaded Source

Built Distribution

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

backlogops-0.2-py3-none-any.whl (101.8 kB view details)

Uploaded Python 3

File details

Details for the file backlogops-0.2.tar.gz.

File metadata

  • Download URL: backlogops-0.2.tar.gz
  • Upload date:
  • Size: 85.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for backlogops-0.2.tar.gz
Algorithm Hash digest
SHA256 a7357ed0512835922c1d97e8dcb336550c3a201da5e338cf989345c94dfb3ab6
MD5 d3f02609635f18f0436091831460b391
BLAKE2b-256 cc99bcea8ca195056ff632e2ea2de7738b5cf0d25320d152be13652b475fbb0b

See more details on using hashes here.

File details

Details for the file backlogops-0.2-py3-none-any.whl.

File metadata

  • Download URL: backlogops-0.2-py3-none-any.whl
  • Upload date:
  • Size: 101.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for backlogops-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0f812d4597ef690ee35d07dd692291ee9a4b710bc69a8dcec4d307fb9affe519
MD5 1f57e5b4ad1b010746ec84b6c5afc993
BLAKE2b-256 b02394c86d0f75708ef09d76a958c6e485787e7c1d783fa2d1f244c3628700ee

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