rufous mastiff
Who needs patch releases!? In version 0.5.0 we're introducing an initial search implementation, a few new commands, rounding out a bunch of features that warrent a minor version bump with some breaking changes. Because of these breaking changes, datasets created with v0.4.0 or earler will need to be re-created to work properly with this version.
🔍 Registry Search Alpha
We're still hard at work on getting registries right (more on that in the coming weeks), but for now we've shipped an initial command "qri search", that'll let you search registries for datasets. The way we see search working in the future is leveraging registries to build indexes of published datasets so you can easily search for datasets that have been published. We have a lot of work to do around making sure those datasets are available for download, but feel free to play with the command to get a feel for where we're headed with search.
use & get commands
working with the command line, it can get really irritating to constantly re-type the name of a dataset. To help with this, we've added a new command: qri use
, which takes it's inspiration from database "use" commands that set the current database. qri use
takes any number of dataset references as arguments, and once a user has set a selection with qri use, they become the default dataset names when no selection is made.
Around qri HQ we've all come to love the ease of working with the qri config
command. qri config get
shows either the whole configuration, or you can provide a dot.separated.path to scope down the section of config to show. qri get
takes this idea an applies it to datasets. qri get meta.title me/dataset_name
will get the title from metadata, and like the config command, it's output can be switched from YAML (default) to JSON. qri get
also accepts multiple datasets, which will be combined into
new skylark html module
We're still working on a proper html module for skylark transforms with an API that pythonists will be familiar with, but in the meantime we've added in a basic jquery-like selector syntax for working with HTML documents.
"Data" is now "Body"
This is a breaking change we've been hoping to get in sooner-rather-than-later that renames the Data
field of a dataset to Body
. From here on in we'll refer to the body of a dataset as it's principle content. We think this langauge helps show how datasets are like webpages, and cutw down on use of an ambiguous term like "data".
Thinking about qri as an importable library
Finally, in what is more of a symbolic change than anything else, we've renamed the core
package to lib
to get us to start thinking about qri as an importable library. Next week we'll publish a new project aimed at writing tutorials & docs with an associated test suite built around datasets that uses qri as a library. We hope to use this project to mature the lib
package for this use case.