pycom.nvs_get(key) returns None when key doesn't exist while pycom.nvs_erase(key) generates an exception. Would be more pythonic and consequent to use exception in pycom.nvs_get(key).
I miss a method to get list if keys. I mean a generator not a real list to avoid high RAM usage. Would be good to to save not only integers but strings too.