robocorp-storage is the Robocorp Asset Storage library, providing functions to manage (read, write, list) assets in the Robocorp Control Room or local development environment. It is part of the larger Robocorp ecosystem, typically updated alongside other Robocorp libraries, with a focus on stability for its core asset management API. The current version is 1.1.0.
pip install robocorp-storageVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to set and retrieve a simple text asset. When run locally, assets are stored in a temporary directory. When executed within a Robocorp Control Room robot, assets are securely stored in the cloud. The optional cleanup code is commented out as it's typically for local development.
Ensure your robot runs within the Robocorp Control Room for cloud persistence. For local testing, be aware that assets are ephemeral by default. To debug local persistence issues, check the temporary directory used by the library.
Evaluate your data storage needs: use `robocorp-storage` for configuration, small files, or state; use `robocorp-workitems` for larger datasets, inputs, or outputs of processing steps.
Migrate any custom asset logic to use the `robocorp.storage` API for better compatibility, maintainability, and direct integration with the Control Room's asset features.