To better recognize a `package` object, e.g. for pretty print (#154), it would be good to extend the list class with a custom class `datapackage`. - [x] Add class `datapackage` - [x] Add the class with `create_package()` - [x] Allow `create_package()` to start from an existing list and use it in `read_package()` - [x] Add tests for `create_package()` - [x] Including for existing lists - [x] Test for class in `check_package()`, **warn** if not present - [x] Maybe provide more specific error message on what is invalid - [x] Add test for `check_package()` - [x] Make `check_package()` public, so other packages can use it
To better recognize a
packageobject, e.g. for pretty print (#154), it would be good to extend the list class with a custom classdatapackage.datapackagecreate_package()create_package()to start from an existing list and use it inread_package()create_package()check_package(), warn if not presentcheck_package()check_package()public, so other packages can use it