Skip to main content

Baseport

Baseport is a small CLI tool to export your Basecamp to-dos into a CSV file. We considered migrating to Jira, and I needed a way to pull all our Basecamp to-dos into it, so I've written a quick script and thought I'd share it.

Install

pip install baseport

Usage

$ baseport --help
Usage: baseport [OPTIONS] COMMAND [ARGS]...

  Baseport exports Basecamp 3 to-do lists to CSVs.

Options:
  --help  Show this message and exit.

Commands:
  projects  Project operations
  todos     To-Do lists operations

$ baseport todos --help
Usage: baseport todos [OPTIONS] COMMAND [ARGS]...

  To-Do lists operations

Options:
  --help  Show this message and exit.

Commands:
  export  Export all todos in one or all lists into a CSV file
  ls      List all available to-do lists in a project
  show    List all todos in one or all lists in a project

To export all of the to-dos in a single project, you'll use something like this:

baseport todos export -p PROJECT_ID -o todos.csv

Authentication

Baseport uses basecampy3 to talk to Basecamp API. You'll need a .conf file with your OAuth app client_id and secret, and OAuth token. Luckily, you can just run bc3 configure and it'll guide you through the setup proces.

Formatting and cleaning your CSV

We needed to do a bit of a company-specific cleanup (given that I needed to import to-dos to Jira, and clean up our email addresses), so Baseport has formatter support. You can implement your own formatter and add it to _format_todos() function, and then just pass it in the terminal with --formatter option.

Contributing

Feel free to open a PR with additional formatters or documentation on how to use baseport for other platform-specific exports.

If you found an issue, please do file it on this repo. I'll do my best to help you out.

Baseport is not going to be actively maintained or developed, it's a one-off quick tool I needed for myself, and it did it's job.

Metadata

Release files for baseport 0.2.0

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

Source distribution (sdist)

Source distribution for baseport 0.2.0
File Size Uploaded
baseport-0.2.0.tar.gz 9.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for baseport 0.2.0
File Interpreter ABI Platform
baseport-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.0 kB

Release files / baseport-0.2.0.tar.gz

Download URL baseport-0.2.0.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
55aae15b7ae18a4374d25cd6ef625b0353d03dd458d29f3bbeb426487dc5b2fd
BLAKE2b-256 checksum
How to use checksums
72a543b6a2b05abb15122275e560175ebe96ada4aae9a9f1cdb231e283ca7b51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.5 Darwin/20.5.0

Release files / baseport-0.2.0-py3-none-any.whl

Download URL baseport-0.2.0-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58037d81cf7814044faf25e1a3c2ba92dacf3f36683d72f7750b6ab88a918b26
BLAKE2b-256 checksum
How to use checksums
47bfa9ebfeb749e6a63d88ef185a2ab4020fa1ddf3bb3f8bbe3442e75e58d701
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.5 Darwin/20.5.0

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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