Metadata-Version: 2.4
Name: backlogops-cli
Version: 0.1
Summary: Command line interface for backlog operations.
Author: Tom Björkholm
Author-email: Tom Björkholm <klausuler_linnet0q@icloud.com>
License-Expression: MIT
Project-URL: Homepage, https://bitbucket.org/tom-bjorkholm/backlog-ops
Project-URL: Source code, https://bitbucket.org/tom-bjorkholm/backlog-ops
Project-URL: Documentation, https://bitbucket.org/tom-bjorkholm/backlog-ops/src/master/doc/
Keywords: backlog,release planning,agile,scrum,scheduling,roadmap,project management,product owner,product management
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Information Technology
Classifier: Topic :: Office/Business :: Scheduling
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: argcomplete>=3.6.3
Requires-Dist: backlogops>=0.1
Dynamic: author
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python

# backlogops-cli

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).

- 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.

- A wizard to create an available teams configuration.

## 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-cli

### On macOS and Linux

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

````sh
pip3 install --upgrade backlogops-cli
````

### On Microsoft Windows

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

````sh
pip install --upgrade backlogops-cli
````

## API documentation

For more detailed code documentation, see the API documentation:

- [Library public API](https://bitbucket.org/tom-bjorkholm/backlog-ops/src/master/doc/backlogops_api.md)

- [Library protected API](https://bitbucket.org/tom-bjorkholm/backlog-ops/src/master/doc/backlogops_protected_api.md)

- [Library public CLI](https://bitbucket.org/tom-bjorkholm/backlog-ops/src/master/doc/backlogops_cli.md)

- [Library protected CLI](https://bitbucket.org/tom-bjorkholm/backlog-ops/src/master/doc/backlogops_protected_cli.md)

- [Library public GUI](https://bitbucket.org/tom-bjorkholm/backlog-ops/src/master/doc/backlogops_gui.md)

- [Library protected GUI](https://bitbucket.org/tom-bjorkholm/backlog-ops/src/master/doc/backlogops_protected_gui.md)

## Command line backlog operations

backlogops_cli serves 2 purposes:

- as a command line utility collection for manipulating backlogs

- as an example of how to write your own programs that use the backlogops library

### Currently available commands

````text
  python3 -m backlogops_cli.adjust_release_content
     Adjust release content to fit the planned release dates
  python3 -m backlogops_cli.convert
     Convert a backlog and releases between table file formats
  python3 -m backlogops_cli.demo_backlog
     Write a demonstration backlog and releases to a file
  python3 -m backlogops_cli.estimate_ready_date
     Estimate ready dates for the backlog items
  python3 -m backlogops_cli.extract_keys
     Extract backlog keys at the given levels to a key list
  python3 -m backlogops_cli.list
     List all commands available in backlogops_cli
  python3 -m backlogops_cli.order_by_deps
     Reorder a backlog so that dependencies are fulfilled
  python3 -m backlogops_cli.order_by_keys
     Reorder a backlog so that key-list items come first
  python3 -m backlogops_cli.plan_release_dates
     Set planned release dates from the estimated release dates
  python3 -m backlogops_cli.teams_wizard
     Create an AvailableTeams configuration file via a wizard
````

## Test summary

- Test result: 1066 passed in 16s
- No flake8 warnings.
- No mypy errors found.
- No python layout warnings.
- Built version(s): 0.1
- Build and test using Python 3.14.6
