frictionlessdata / tableschema-py

A Python library for working with Table Schema.
https://frictionlessdata.io
MIT License
260 stars 41 forks source link

cannot import name 'JSONTableSchema' #22

Closed femtotrader closed 9 years ago

femtotrader commented 9 years ago

Hello,

from jsontableschema.models import JSONTableSchema

raises

ImportError                               Traceback (most recent call last)
<ipython-input-4-a5e48c1088d3> in <module>()
----> 1 from jsontableschema.models import JSONTableSchema

ImportError: cannot import name 'JSONTableSchema'

Any idea ?

Kind regards

femtotrader commented 9 years ago

I think it should be

from jsontableschema.models import SchemaModel
femtotrader commented 9 years ago

so https://github.com/okfn/jsontableschema-py/blob/master/README.md should be changed accordingly

pwalsh commented 9 years ago

Hi, yes, sorry about that. I need to setup a develop and keep master as a stable branch. I started a transition to rename this to jsontableschema (it is currently on PyPI as jtskit) and clean up the API a bit, but I did not finish this work.

pwalsh commented 9 years ago

I'm closing this: jtskit from PyPI works; and the current state here is "under development". We'll push a new release to PyPI as soon as we can.