Skip to content

Missing rest/client.py (cannot import RESTClient): advanced SDK package is incomplete on PyPI and GitHub #110

@Bleyweert

Description

@Bleyweert

The official documentation for the coinbase-advanced-py SDK shows this import for the Advanced Trade API:

from coinbase.rest import RESTClient

However, after installing via PyPI (pip install coinbase-advanced-py),
the package is missing the rest/client.py file (and all core code for Advanced Trade).
As a result, from coinbase.rest.client import RESTClient fails with ModuleNotFoundError.

I checked:

The current PyPI package contents

The latest GitHub repo (download/clone, main branch and releases)

All distribution ZIPs and wheels

In all of these, rest/client.py does not exist, and the package is unusable for Advanced Trade.

Steps to Reproduce
Install with pip install coinbase-advanced-py

Try to import:

python

from coinbase.rest.client import RESTClient
Check your site-packages/coinbase/rest/ directoryclient.py is missing.

Expected Behavior
The SDK should include all files needed for the official Advanced Trade API imports to work,
especially coinbase/rest/client.py for RESTClient.

Actual Behavior
The install does not provide the required files.

Cannot use the SDK for Advanced Trade at all.

Environment
OS: Windows 11

Python version: 3.11

SDK version: 1.8.2

Additional Notes
The documentation and all official Coinbase guides still reference this import and SDK as the way to access the Advanced Trade API in Python.

Many users report the same problem (see recent Discussions/Issues).

If there is a new SDK or migration, please update the docs and PyPI page.

If this is a packaging mistake, please fix the package so it includes the Advanced Trade code (especially rest/client.py).

Thank you for your attention!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions