Open Data Schema catalog manipulation library
Project description
Open Data Schema Python client
Install
pip install opendataschema
Usage
Note: the schema.json
file can be given as a file path or an URL.
opendataschema schema.json list
opendataschema schema.json show
opendataschema schema.json show --name <schema_name>
opendataschema schema.json show --versions
Python API
TODO Example:
tsc = SchemaCatalog("https://opendataschema.frama.io/catalog/schema-catalog.json")
for tsr in tsc.get_schema_references():
if tsr.has_git_nature():
version_list =
for ver in tsr.get_git_versions():
url = tsr.get_schema_url(version)
ts = TableSchema(url)
print(ts.get_properties())
else:
url = tsr.get_schema_url()
ts = TableSchema(url)
print(ts.get_properties())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
opendataschema-0.3.0.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for opendataschema-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81c2160256af5e1639b15b8f88a096a1ca19b4cf3c835499f961eaba662e6104 |
|
MD5 | eec628b369269ccdc797ae20d7193546 |
|
BLAKE2b-256 | dea67fbcfc5e207bbb7727640eead610120a5229c34e2d3d2b580d3543b628ee |