ip-tools / uspto-opendata-python

A client library for accessing the USPTO Open Data APIs, written in Python.
https://docs.ip-tools.org/uspto-opendata-python/
MIT License
91 stars 22 forks source link

Namespace issue #4

Closed sfsdfd closed 6 years ago

sfsdfd commented 6 years ago

Okay, this one's pretty simple:

pip install uspto-opendata-python
# success

import uspto 
# success

import uspto.pdb.client
# ImportError: No module named pdb.client

import pkgutil
[name for _, name, _ in pkgutil.iter_modules(['uspto'])]
# []

Any ideas?

amotl commented 6 years ago

Thanks for writing in.

I don't exactly know what's going on, but this guy seems to work:

from uspto.pbd.client import UsptoPairBulkDataClient

Hope this helps?

amotl commented 6 years ago

Just closing this assuming this worked for you. Feel free to reopen again if required.