skillfed

osfclient

An OSF command-line library

osfclient v0.0.5 75.7K downloads/30d#14,685 on PyPI145
Permissive license BSD3 DORMANT released

What it is and what it does

osfclient bridges your local filesystem and the Open Science Framework, a web platform for collaborative research. It provides both a Python library for programmatic access and a command-line interface for managing files in OSF projects—uploading datasets, downloading research outputs, and syncing project files without leaving the terminal.

The package depends on requests for HTTP communication, tqdm for progress bars during transfers, and six for Python 2/3 compatibility. It is classified as Alpha (Development Status 3) and has been dormant since early 2021, with the last commit in October 2023. The codebase supports Python 2.7 through 3.9 according to its classifiers, though no active maintenance means newer Python versions are untested.

Use it for:

  • Download large research datasets associated with published papers directly from OSF projects via the command line.
  • Automate file uploads to OSF projects as part of a research workflow or data management pipeline.
  • Clone an entire OSF project's file tree locally to keep a synchronized copy of collaborative research outputs.
  • Retrieve individual files or directories from OSF without using the web interface, useful in headless or scripted environments.
  • Set up a local project folder linked to an OSF project for team collaboration on shared research data.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

osfclient is a Python library and command-line tool for uploading and downloading files to and from Open Science Framework projects.

Yes, if you actively use OSF and need command-line or programmatic file access. The low install friction and permissive license make it a safe choice. However, be aware the project is dormant—no active maintenance since 2021, so compatibility with Python versions beyond 3.9 and recent dependency updates is unverified. Suitable for established workflows; risky for new projects expecting ongoing support.

Install

osfclient on PyPI

pip

pip install osfclient

uv

uv add osfclient

poetry

poetry add osfclient

Installing osfclient

Before you install

Installation is straightforward with low friction. The package is dormant as of 2023 (last commit October 2023, latest release February 2021), so expect no active maintenance or updates to address new Python versions or dependency issues.

License in practice

BSD3 (permissive) license means you can use, modify, and distribute osfclient freely in commercial and private projects with minimal restrictions.

Quickstart

pip install osfclient

from osfclient.api import OSFProject

# Command-line usage:
# osf init  # setup local folder for existing project
# osf ls    # list files
# osf clone # fetch all files

Requires OSF project ID and optional authentication (username/password or Personal Access Token via environment variables or .osfcli.config file).

Verify before relying

  • Whether the package works reliably with Python versions beyond 3.9 despite being dormant since 2021.
  • Current state of compatibility with modern versions of requests, tqdm, and six dependencies.
  • Whether the OSF API itself has changed in ways that break the client since the last release.

Package facts

License BSD3 (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 3 — requests, tqdm, six
Maintenance dormant — 2,016 days since the last release
Last repo commit
First released
Downloads 75,715/month — #14,685 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: osfclient-0.0.5-py2.py3-none-any.whl

Development Status :: 3 - AlphaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Utilities

Tags

osf file upload downloadopen science framework clientresearch data repository syncosf project file managementscientific collaboration data sharingosf command line toolresearch project file storage
research-datacli-toolosf-integration

More Utilities packages