api-client icon indicating copy to clipboard operation
api-client copied to clipboard

Package name is conflicting with google_api_python_client

Open pfouque opened this issue 2 years ago • 0 comments

Describe the bug When you install this library and google_api_python_client, the init.py is overridden by google_api_python_client, and you can't import anything from root folder Google's one is probably here for retro compatibility, but it's conflicting with this (really generic) library's folder name.

To Reproduce Steps to reproduce the behavior:

  1. Install api-client and google-api-python-client
  2. import anything from api_client
  3. See errors

Expected behavior

Import from init like in the documentation.

Screenshots

  • .venv/lib/python3.10/site-packages/api_client-1.3.1.dist-info/RECORD apiclient/init.py,sha256=OG83djdXgEeSQ5gpEAHq2EjvwmBYeD3h00xwN1R2IlE,551

  • .venv/lib/python3.10/site-packages/google_api_python_client-2.72.0.dist-info/RECORD apiclient/__init__.py,sha256=U1SOZ1GeeF3uCr0fzO5Od-rpe17R12-Ppyq25NTSbow,746

Versions (please complete the following information):

  • Python version: 3.10
  • API Client version: 1.3.1
  • Dependency versions:

Additional context Unfortunately, the only solution I see is to rename the folder...(and why not the project). the name doesn't help to find this library, and adding some words in the name would improve SEO (api-client-toolkit, request-api-client, rest-api-client, ...)

PS: I love what you do with this library, It makes creating rest-client so DRY!

pfouque avatar Jan 16 '23 08:01 pfouque