fiboa / cli

CLI for fiboa (validation, inspection, schema and file creation, etc.)
https://pypi.org/project/fiboa-cli/
Apache License 2.0
0 stars 7 forks source link

Info command #7

Closed m-mohr closed 7 months ago

m-mohr commented 8 months ago

From @cholmes

A decent command line 'info' like gpq has could be cool

m-mohr commented 7 months ago

Implemented:

$ fiboa describe ../fiboa-specification/geoparquet/examples/example.parquet
fiboa CLI 0.0.10 - Describe ../fiboa-specification/geoparquet/examples/example.parquet

== GEOPARQUET ==
GeoParquet version: 1.0.0
Geometry columns: geometry

== COLLECTION ==
fiboa version: 0.1.0
fiboa extensions:
license: CC-0

== SCHEMA ==
determination_datetime: timestamp[ms, tz=UTC]
geometry: binary not null
id: string not null

== DATA (rows: 1) ==
     determination_datetime                                           geometry    id
0 2020-01-01 00:00:00+00:00  POLYGON ((172.91174 1.34389, 172.95470 1.34389...  1234