Skip to main content

A simple CLI tool to export backer data from Open Collective.

Project description

opencollective-export

A simple CLI tool to export backer data from Open Collective. Current list of features:

  • List available backer tiers for a given organization.
  • List backers for a given organization.
  • Export mailing-list-ready CSV files per backer tier.

Development Setup

  1. Clone this repository somewhere and cd into it.
  2. Create a virtual environment: python3 -m venv .venv.
  3. Activate your virtual environment: source .venv/bin/activate.
  4. Install the project locally: pip install -e .. This will install an editable copy, so you can hack without having to reinstall all the time!

Usage

Most of this program's documentation lives in its built-in help. Run commands with --help to see detailed usage. Here are a few brief examples:

[!Note] All operations require the use of an Open Collective personal token. Please create one before continuing Current operations are possible using only the "account" scope. For security, don't add any others.

Once you have your token, add it to the system keyring with oc-export set-token.

The usual operation (getting mailing list CSVs for each backer tier) is very simple: oc-export export <org> [tier1, tier2]. If no tiers are specified, all available tiers will be exported.

Available tiers can be found using oc-export list-tiers <org>.

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

opencollective_export-1.0.0.tar.gz (67.5 kB view details)

Uploaded Source

Built Distribution

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

opencollective_export-1.0.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file opencollective_export-1.0.0.tar.gz.

File metadata

  • Download URL: opencollective_export-1.0.0.tar.gz
  • Upload date:
  • Size: 67.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Solus","version":"4.8","id":"opportunity","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for opencollective_export-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9f3a959de448896f3e0815f236c84da00f271647df3fc31f9259a14a529a4417
MD5 80c863e2608be266e69fab6692711296
BLAKE2b-256 957b9d2b247a4f3058a5681b5cfa214f25188623bcc4bf97e56ba30700539198

See more details on using hashes here.

File details

Details for the file opencollective_export-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: opencollective_export-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Solus","version":"4.8","id":"opportunity","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for opencollective_export-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8957800700e8b8db0b3f275b746ecb3b050d0f5559becb531dd2680e1e43f883
MD5 f50108348503972c0e1fb11f1ceb1d3c
BLAKE2b-256 861583ca71f94abc74e18c2e66ee7c074056005984bbcab7cfa377d79eb36a32

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